Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:q_domain_get_irq_data - Get irq_data associated with @virq and @domain*@domain: domain to match*@virq: IRQ number to get irq_data

Proto:struct irq_data *irq_domain_get_irq_data(struct irq_domain *domain, unsigned int virq)

Type:struct irq_data

Parameter:

TypeParameterName
struct irq_domain *domain
unsigned intvirq
1705  irq_data = irq_get_irq_data(virq)
1707  Return (irq_data && domain == domain) ? irq_data : NULL
Caller
NameDescribe
x86_vector_free_irqs
x86_vector_alloc_irqs
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_irqdomain_alloc
mp_irqdomain_free
irq_map_generic_chipq_map_generic_chip - Map a generic chip for an irq domain
irq_unmap_generic_chip
irq_find_mappingq_find_mapping() - Find a linux irq from a hw irq number.*@domain: domain owning this hardware interrupt*@hwirq: hardware irq number in that domain space