函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\devres.c Create Date:2022-07-27 07:46:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:devm_of_iomap - Requests a resource and maps the memory mapped IO* for a given device_node managed by a given device* Checks that a resource is a valid memory region, requests the memory* region and ioremaps it

函数原型:void __iomem *devm_of_iomap(struct device *dev, struct device_node *node, int index, resource_size_t *size)

返回类型:void

参数:

类型参数名称
struct device *dev
struct device_node *node
intindex
resource_size_t *size
233  如果of_address_to_resource(node, index, & res)则返回:IOMEM_ERR_PTR( - EINVAL)
235  如果sizesize等于resource_size( & res)
237  返回: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