Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\io_apic.c Create Date:2022-07-28 08:29:44
Last Modify:2020-03-16 21:24:45 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mp_check_pin_attr

Proto:static bool mp_check_pin_attr(int irq, struct irq_alloc_info *info)

Type:bool

Parameter:

TypeParameterName
intirq
struct irq_alloc_info *info
941  data = irq_get_chip_data(irq)
948  If irq < nr_legacy_irqs() && count == 1 Then
949  If ioapic_trigger != trigger Then mp_register_handler(irq, ioapic_trigger)
951  0: edge, 1: level = trigger = ioapic_trigger
952  polarity = polarity = ioapic_polarity
955  Return trigger == ioapic_trigger && polarity == ioapic_polarity
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_map_pin_to_irq