Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\of_address.h Create Date:2022-07-28 06:48:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:of_address_to_resource

Proto:static inline int of_address_to_resource(struct device_node *dev, int index, struct resource *r)

Type:int

Parameter:

TypeParameterName
struct device_node *dev
intindex
struct resource *r
108  Return -EINVAL
Caller
NameDescribe
devm_of_iomapdevm_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