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

Name:irq_polarity

Proto:static int irq_polarity(int idx)

Type:int

Parameter:

TypeParameterName
intidx
800  bus = srcbus
806  Case & == MP_IRQPOL_DEFAULT
808  If st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then Return default_ISA_polarity(idx)
810  Else Return default_PCI_polarity(idx)
812  Case & == MP_IRQPOL_ACTIVE_HIGH
813  Return IOAPIC_POL_HIGH
814  Case & == MP_IRQPOL_RESERVED
815  pr_warn("IOAPIC: Invalid polarity: 2, defaulting to low\n")
817  Case & == MP_IRQPOL_ACTIVE_LOW
818  Default
819  Return IOAPIC_POL_LOW
Caller
NameDescribe
acpi_get_override_irq