Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\devres.c Create Date:2022-07-28 06:49:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:void __iomem *devm_of_iomap(struct device *dev, struct device_node *node, int index, resource_size_t *size)

Type:void

Parameter:

TypeParameterName
struct device *dev
struct device_node *node
intindex
resource_size_t *size
233  If of_address_to_resource(node, index, & res) Then Return IOMEM_ERR_PTR( - EINVAL)
235  If size Then size = resource_size( & res)
237  Return 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