函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:q_find_mapping() - Find a linux irq from a hw irq number.*@domain: domain owning this hardware interrupt*@hwirq: hardware irq number in that domain space

函数原型:unsigned int irq_find_mapping(struct irq_domain *domain, irq_hw_number_t hwirq)

返回类型:unsigned int

参数:

类型参数名称
struct irq_domain *domain
irq_hw_number_thwirq
899  如果(domain == NULL)则domain等于irq_default_domain
901  如果(domain == NULL)则返回:0
904  如果hwirq小于revmap_direct_max_irq
905  data等于q_domain_get_irq_data - Get irq_data associated with @virq and @domain*@domain: domain to match*@virq: IRQ number to get irq_data
906  如果data硬件中断号恒等于hwirq则返回:hwirq
911  如果hwirq小于revmap_size则返回:linear_revmap[hwirq]
914  _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
915  data等于adix_tree_lookup - perform lookup operation on a radix tree*@root: radix tree root*@index: index key* Lookup the item at the position @index in the radix tree @root.* This function can be called under rcu_read_lock, however the caller
916  _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()
917  返回:如果data中断号否则0
调用者
名称描述
mp_map_pin_to_irq
mp_irqdomain_alloc
irq_gc_get_irq_data
irq_create_mappingq_create_mapping() - Map a hardware interrupt into linux irq space*@domain: domain owning this hardware interrupt or NULL for default domain*@hwirq: hardware irq number in that domain space* Only one mapping per hardware interrupt is permitted
irq_create_fwspec_mapping