| Function report | 
| Source Code: lib\logic_pio.c | Create Date:2022-07-28 06:16:32 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Return a registered range given an input PIO token
Proto:static struct logic_pio_hwaddr *find_io_range(unsigned long pio)
Type:struct logic_pio_hwaddr
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned long | pio | 
| 144 | struct logic_pio_hwaddr * range, * found_range = NULL | 
| 148 | If Consider a kernel general helper for this (pio, io_start, range size populated ) Then | 
| 149 | found_range = range | 
| 150 | Break | 
| 155 | If Not found_range Then pr_err("PIO entry token 0x%lx invalid\n", pio) | 
| 158 | Return found_range | 
| Name | Describe | 
|---|---|
| logic_pio_to_hwaddr | logic_pio_to_hwaddr - translate logical PIO to HW address*@pio: logical PIO value* Returns HW address if valid, ~0 otherwise.* Translate the input logical PIO to the corresponding hardware address. | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |