函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:struct logic_pio_hwaddr *find_io_range_by_fwnode(struct fwnode_handle *fwnode)

返回类型:struct logic_pio_hwaddr

参数:

类型参数名称
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  如果fwnode恒等于fwnode
132  found_range等于range
133  退出
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  返回:found_range
调用者
名称描述
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