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

Proto:struct irq_data *irq_get_irq_data(unsigned int irq)

Type:struct irq_data

Parameter:

TypeParameterName
unsigned intirq
160  desc = Interrupt to descriptor
162  Return desc ? & irq_data : NULL
Caller
NameDescribe
alloc_isa_irq_from_domainNeed special handling for ISA IRQs because there may be multiple IOAPIC pins* sharing the same ISA IRQ number and irqdomain only supports 1:1 mapping* between IOAPIC pin and IRQ number. A typical IOAPIC has 24 pins, pin 0-15 are
mp_unmap_irq
check_timerThis code may look a bit paranoid, but it's supposed to cooperate with* a wide range of boards and BIOS bugs. Fortunately only the timer IRQ* is so screwy. Thanks to Brian Perkins for testing/hacking this beast* fanatically on his truly buggy board.
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_gc_get_irq_data
irq_domain_disassociate
irq_domain_associate
irq_create_fwspec_mapping
irq_dispose_mappingq_dispose_mapping() - Unmap an interrupt*@virq: linux irq number of the interrupt to unmap
irq_domain_get_irq_dataq_domain_get_irq_data - Get irq_data associated with @virq and @domain*@domain: domain to match*@virq: IRQ number to get irq_data
irq_reserve_ipiq_reserve_ipi() - Setup an IPI to destination cpumask*@domain: IPI domain*@dest: cpumask of cpus which can receive the IPI* Allocate a virq that can be used to send IPI to any CPU in dest mask
irq_destroy_ipiq_destroy_ipi() - unreserve an IPI that was previously allocated*@irq: linux irq number to be destroyed*@dest: cpumask of cpus which should have the IPI removed* The IPIs allocated with irq_reserve_ipi() are retuerned to the system
ipi_get_hwirqpi_get_hwirq - Get the hwirq associated with an IPI to a cpu*@irq: linux irq number*@cpu: the target cpu* When dealing with coprocessors IPI, we need to inform the coprocessor of* the hwirq it needs to use to receive and send IPIs.
__ipi_send_single__ipi_send_single - send an IPI to a target Linux SMP CPU*@desc: pointer to irq_desc of the IRQ*@cpu: destination CPU, must in the destination mask passed to* irq_reserve_ipi()* This function is for architecture or core code to speed up IPI sending. Not
__ipi_send_maskpi_send_mask - send an IPI to target Linux SMP CPU(s)*@desc: pointer to irq_desc of the IRQ*@dest: dest CPU(s), must be a subset of the mask passed to* irq_reserve_ipi()* This function is for architecture or core code to speed up IPI sending. Not