Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:q_set_chip - set the irq chip for an irq*@irq: irq number*@chip: pointer to irq chip description structure

Proto:int irq_set_chip(unsigned int irq, struct irq_chip *chip)

Type:int

Parameter:

TypeParameterName
unsigned intirq
struct irq_chip *chip
44  desc = irq_get_desc_lock(irq, & flags, 0)
46  If Not desc Then Return -EINVAL
49  If Not chip Then chip = Generic no controller implementation
52  chip = chip
53  irq_put_desc_unlock(desc, flags)
58  irq_mark_irq(irq)
59  Return 0
Caller
NameDescribe
irq_set_chip_and_handler_name
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_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.