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:39
Last Modify:2020-03-16 21:24:45 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:irq_trigger

Proto:static int irq_trigger(int idx)

Type:int

Parameter:

TypeParameterName
intidx
845  bus = srcbus
852  Case & == MP_IRQTRIG_DEFAULT
854  If st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then trigger = ISA interrupts are always active high edge triggered,* when listed as conforming in the MP table. (idx)
856  Else trigger = PCI interrupts are always active low level triggered,* when listed as conforming in the MP table. (idx)
859  Return eisa_irq_trigger(idx, bus, trigger)
860  Case & == MP_IRQTRIG_EDGE
861  Return IOAPIC_EDGE
862  Case & == MP_IRQTRIG_RESERVED
863  pr_warn("IOAPIC: Invalid trigger mode 2 defaulting to level\n")
865  Case & == MP_IRQTRIG_LEVEL
866  Default
867  Return IOAPIC_LEVEL
Caller
NameDescribe
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.
acpi_get_override_irq