Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:void irq_remove_generic_chip(struct irq_chip_generic *gc, unsigned int msk, unsigned int clr, unsigned int set)

Type:void

Parameter:

TypeParameterName
struct irq_chip_generic *gc
unsigned intmsk
unsigned intclr
unsigned intset
540  i = irq_base
542  raw_spin_lock( & gc_lock)
543  deletes entry from list
544  raw_spin_unlock( & gc_lock)
546  When msk cycle
547  If Not (msk & 0x01) Then Continue
551  irq_set_handler(i, NULL)
552  q_set_chip - set the irq chip for an irq*@irq: irq number*@chip: pointer to irq chip description structure
553  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
554  irq_modify_status(i, clr, set)
Caller
NameDescribe
irq_destroy_generic_chip