Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\acpi\boot.c Create Date:2022-07-28 08:16:19
Last Modify:2020-03-16 21:18:54 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:acpi_gsi_to_irq

Proto:int acpi_gsi_to_irq(unsigned int gsi, unsigned int *irqp)

Type:int

Parameter:

TypeParameterName
unsigned intgsi
unsigned int *irqp
611  If The default interrupt routing model is PIC (8259). This gets* overridden if IOAPICs are enumerated (below). == ACPI_IRQ_MODEL_PIC Then
612  irqp = gsi
613  Return 0
616  rc = acpi_get_override_irq(gsi, & trigger, & polarity)
617  If rc Then Return rc
620  trigger = If trigger Then Triggering Else ACPI_EDGE_SENSITIVE
621  polarity = If polarity Then ACPI_ACTIVE_LOW Else Polarity
622  irq = success: return IRQ number (>=0)* failure: return < 0
623  If irq < 0 Then Return irq
626  irqp = irq
627  Return 0