函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

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

返回类型:struct irq_chip_generic

参数:

类型参数名称
const char *name
intnum_ct
unsigned intirq_base
void __iomem *reg_base
irq_flow_handler_thandler
242  sz等于gc的长度加num_ctsizeof(structirq_chip_type)
244  gc等于分配内存并置零
245  如果gc
246  irq_init_generic_chip(gc, name, num_ct, irq_base, reg_base, handler)
249  返回:gc