函数逻辑报告 |
Source Code:kernel\irq\generic-chip.c |
Create Date:2022-07-27 11:13:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__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:
函数原型:int __irq_alloc_domain_generic_chips(struct irq_domain *d, int irqs_per_chip, int num_ct, const char *name, irq_flow_handler_t handler, unsigned int clr, unsigned int set, enum irq_gc_flags gcflags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct irq_domain * | d | |
int | irqs_per_chip | |
int | num_ct | |
const char * | name | |
irq_flow_handler_t | handler | |
unsigned int | clr | |
unsigned int | set | |
enum irq_gc_flags | gcflags |
310 | irq_flags_to_set等于set |
311 | irq_flags_to_clear等于clr |
320 | irq_init_generic_chip(gc, name, num_ct, i * irqs_per_chip, NULL, handler) |
324 | 如果gcflags按位与IRQ_GC_BE_IO则 |
325 | reg_readl等于irq_readl_be |
326 | reg_writel等于irq_writel_be |
329 | raw_spin_lock_irqsave( & gc_lock, flags) |
330 | 添加链表项 |
331 | raw_spin_unlock_irqrestore( & gc_lock, flags) |
333 | tmp加等于gc的长度加num_ct乘sizeof(structirq_chip_type) |
335 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |