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:logic_pio_trans_hwaddr - translate HW address to logical PIO*@fwnode: FW node reference for the host*@addr: Host-relative HW address*@size: size to translate* Returns Logical PIO value if successful, ~0UL otherwise
Proto:unsigned long logic_pio_trans_hwaddr(struct fwnode_handle *fwnode, resource_size_t addr, resource_size_t size)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
struct fwnode_handle * | fwnode | |
resource_size_t | addr | |
resource_size_t | size |
195 | If Not range || flags == LOGIC_PIO_CPU_MMIO Then |
196 | pr_err("IO range not found or invalid\n") |
197 | Return ~0UL |
199 | If range size populated < size Then |
200 | pr_err("resource size %pa cannot fit in IO range size %pa\n", & size, & range size populated ) |
202 | Return ~0UL |
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 |