函数逻辑报告 |
Source Code:lib\logic_pio.c |
Create Date:2022-07-27 07:13:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:unsigned long logic_pio_trans_hwaddr(struct fwnode_handle *fwnode, resource_size_t addr, resource_size_t size)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct fwnode_handle * | fwnode | |
resource_size_t | addr | |
resource_size_t | size |
195 | 如果非range或flags恒等于LOGIC_PIO_CPU_MMIO则 |
196 | 打印错误信息("IO range not found or invalid\n") |
197 | 返回:0UL的反 |
199 | 如果 range size populated 小于size则 |
200 | 打印错误信息("resource size %pa cannot fit in IO range size %pa\n", & size, & range size populated ) |
202 | 返回:0UL的反 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |