Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:d_io_range_by_fwnode - find logical PIO range for given FW node*@fwnode: FW node handle associated with logical PIO range* Returns pointer to node on success, NULL otherwise.* Traverse the io_range_list to find the registered node for @fwnode.

Proto:struct logic_pio_hwaddr *find_io_range_by_fwnode(struct fwnode_handle *fwnode)

Type:struct logic_pio_hwaddr

Parameter:

TypeParameterName
struct fwnode_handle *fwnode
127  struct logic_pio_hwaddr * range, * found_range = NULL
129  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
131  If fwnode == fwnode Then
132  found_range = range
133  Break
136  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()
138  Return found_range
Caller
NameDescribe
logic_pio_trans_hwaddrlogic_pio_trans_hwaddr - translate HW address to logical PIO*@fwnode: FW node reference for the host*@addr: Host-relative HW address*@size: size to translate* Returns Logical PIO value if successful, ~0UL otherwise