函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:irq_init_generic_chip

函数原型:void irq_init_generic_chip(struct irq_chip_generic *gc, const char *name, int num_ct, unsigned int irq_base, void __iomem *reg_base, irq_flow_handler_t handler)

返回类型:void

参数:

类型参数名称
struct irq_chip_generic *gc
const char *name
intnum_ct
unsigned intirq_base
void __iomem *reg_base
irq_flow_handler_thandler
218  raw_spin_lock_init( & lock)
219  num_ct等于num_ct
220  irq_base等于irq_base
221  reg_base等于reg_base
222  中断名等于name
223  handler等于handler
调用者
名称描述
irq_alloc_generic_chipq_alloc_generic_chip - Allocate a generic chip and initialize it*@name: Name of the irq chip*@num_ct: Number of irq_chip_type instances associated with this*@irq_base: Interrupt base nr for this chip*@reg_base: Register base address (virtual)*@handler:
__irq_alloc_domain_generic_chips__irq_alloc_domain_generic_chip - Allocate generic chips for an irq domain*@d: irq domain for which to allocate chips*@irqs_per_chip: Number of interrupts each chip handles (max 32)*@num_ct: Number of irq_chip_type instances associated with this*@name: