函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:irq_domain_associate_many

函数原型:void irq_domain_associate_many(struct irq_domain *domain, unsigned int irq_base, irq_hw_number_t hwirq_base, int count)

返回类型:void

参数:

类型参数名称
struct irq_domain *domain
unsigned intirq_base
irq_hw_number_thwirq_base
intcount
589  of_node等于irq_domain_get_of_node(domain)
590  pr_debug("%s(%s, irqbase=%i, hwbase=%i, count=%i)\n", __func__, of_node_full_name(of_node), irq_base, (int)hwirq_base, count)
593 i小于count循环
594  irq_domain_associate(domain, irq_base + i, hwirq_base + i)
调用者
名称描述
irq_domain_add_simpleq_domain_add_simple() - Register an irq_domain and optionally map a range of irqs*@of_node: pointer to interrupt controller's device tree node.*@size: total number of irqs in mapping*@first_irq: first number of irq block assigned to the domain,
irq_domain_add_legacyq_domain_add_legacy() - Allocate and register a legacy revmap irq_domain.*@of_node: pointer to interrupt controller's device tree node.*@size: total number of irqs in legacy mapping*@first_irq: first number of irq block assigned to the domain
irq_create_strict_mappingsq_create_strict_mappings() - Map a range of hw irqs to fixed linux irqs*@domain: domain owning the interrupt range*@irq_base: beginning of linux IRQ range*@hwirq_base: beginning of hardware IRQ range*@count: Number of interrupts to map* This routine is