函数逻辑报告 |
Source Code:lib\devres.c |
Create Date:2022-07-27 07:46:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__devm_ioremap_resource
函数原型:static void __iomem *__devm_ioremap_resource(struct device *dev, const struct resource *res, enum devm_ioremap_type type)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct device * | dev | |
const struct resource * | res | |
enum devm_ioremap_type | type |
145 | 如果非res或resource_type(res)不等于IORESOURCE_MEM则 |
147 | 返回:IOMEM_ERR_PTR( - EINVAL) |
150 | size等于resource_size(res) |
154 | 返回:IOMEM_ERR_PTR( - EBUSY) |
158 | 如果非dest_ptr则 |
160 | devm_release_mem_region(dev, start, size) |
161 | dest_ptr等于IOMEM_ERR_PTR( - ENOMEM) |
164 | 返回:dest_ptr |
名称 | 描述 |
---|---|
devm_ioremap_resource | devm_ioremap_resource() - check, request region, and ioremap resource*@dev: generic device to handle the resource for*@res: resource to be handled* Checks that a resource is a valid memory region, requests the memory* region and ioremaps it |
devm_ioremap_resource_wc | devm_ioremap_resource_wc() - write-combined variant of* devm_ioremap_resource()*@dev: generic device to handle the resource for*@res: resource to be handled* Returns a pointer to the remapped memory or an ERR_PTR() encoded error code* on failure |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |