函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:q_set_chip_data - set irq chip data for an irq*@irq: Interrupt number*@data: Pointer to chip specific data* Set the hardware irq chip data for an irq

函数原型:int irq_set_chip_data(unsigned int irq, void *data)

返回类型:int

参数:

类型参数名称
unsigned intirq
void *data
148  desc等于irq_get_desc_lock(irq, & flags, 0)
150  如果非desc则返回:负EINVAL
152  和中断控制器相关的私有数据等于data
153  irq_put_desc_unlock(desc, flags)
154  返回:0
调用者
名称描述
irq_setup_generic_chipq_setup_generic_chip - Setup a range of interrupts with a generic chip*@gc: Generic irq chip holding all data*@msk: Bitmask holding the irqs to initialize relative to gc->irq_base*@flags: Flags for initialization*@clr: IRQ_* bits to clear*@set: IRQ_* bits
irq_remove_generic_chipq_remove_generic_chip - Remove a chip*@gc: Generic irq chip holding all data*@msk: Bitmask holding the irqs to initialize relative to gc->irq_base*@clr: IRQ_* bits to clear*@set: IRQ_* bits to set* Remove up to 32 interrupts starting from gc->irq_base.
irq_domain_set_infoq_domain_set_info - Set the complete data for a @virq in @domain*@domain: Interrupt domain to match*@virq: IRQ number*@hwirq: The hardware interrupt number*@chip: The associated interrupt chip*@chip_data: The associated interrupt chip data*@handler: The
irq_sim_initq_sim_init - Initialize the interrupt simulator: allocate a range of* dummy interrupts.*@sim: The interrupt simulator object to initialize.*@num_irqs: Number of interrupts to allocate* On success: return the base of the allocated interrupt range.