函数逻辑报告 |
Source Code:lib\devres.c |
Create Date:2022-07-27 07:46:38 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__devm_ioremap
函数原型:static void __iomem *__devm_ioremap(struct device *dev, resource_size_t offset, resource_size_t size, enum devm_ioremap_type type)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct device * | dev | |
resource_size_t | offset | |
resource_size_t | size | |
enum devm_ioremap_type | type |
32 | ptr等于devres_alloc(devm_ioremap_release, ptr的长度, GFP_KERNEL) |
33 | 如果非ptr则返回:NULL |
37 | 当:type恒等于DEVM_IOREMAP |
39 | 退出 |
40 | 当:type恒等于DEVM_IOREMAP_NC |
41 | addr等于ioremap_nocache(offset, size) |
42 | 退出 |
43 | 当:type恒等于DEVM_IOREMAP_UC |
44 | addr等于The default ioremap() behavior is non-cached; if you need something* else, you probably want one of the following. |
45 | 退出 |
46 | 当:type恒等于DEVM_IOREMAP_WC |
47 | addr等于ioremap_wc(offset, size) |
48 | 退出 |
51 | 如果addr则 |
53 | devres_add(dev, ptr) |
54 | 否则devres_free(ptr) |
57 | 返回:addr |
名称 | 描述 |
---|---|
devm_ioremap | 管理ioremap() |
devm_ioremap_uc | devm_ioremap_uc - Managed ioremap_uc()*@dev: Generic device to remap IO address for*@offset: Resource address to map*@size: Size of map* Managed ioremap_uc(). Map is automatically unmapped on driver detach. |
devm_ioremap_nocache | 管理ioremap_nocache() |
devm_ioremap_wc | 管理ioremap_wc() |
__devm_ioremap_resource |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |