Function report |
Source Code:kernel\irq\generic-chip.c |
Create Date:2022-07-28 10:12:43 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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:
Proto: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)
Type:struct irq_chip_generic
Parameter:
Type | Parameter | Name |
---|---|---|
const char * | name | |
int | num_ct | |
unsigned int | irq_base | |
void __iomem * | reg_base | |
irq_flow_handler_t | handler |
242 | sz = size of gc + num_ct * sizeof(structirq_chip_type) |
244 | gc = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
245 | If gc Then |
249 | Return gc |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |