Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\chip.c Create Date:2022-07-28 10:11:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:int irq_set_chip_data(unsigned int irq, void *data)

Type:int

Parameter:

TypeParameterName
unsigned intirq
void *data
148  desc = irq_get_desc_lock(irq, & flags, 0)
150  If Not desc Then Return -EINVAL
152  chip_data = data
153  irq_put_desc_unlock(desc, flags)
154  Return 0
Caller
NameDescribe
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.