函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\io_apic.c Create Date:2022-07-27 09:29:13
Last Modify:2020-03-16 21:24:45 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:irq_trigger

函数原型:static int irq_trigger(int idx)

返回类型:int

参数:

类型参数名称
intidx
845  bus等于srcbus
852  : & == MP_IRQTRIG_DEFAULT
854  如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting fromtrigger等于ISA interrupts are always active high edge triggered,* when listed as conforming in the MP table. (idx)
856  否则trigger等于PCI interrupts are always active low level triggered,* when listed as conforming in the MP table. (idx)
859  返回:eisa_irq_trigger(idx, bus, trigger)
860  : & == MP_IRQTRIG_EDGE
861  返回:IOAPIC_EDGE
862  : & == MP_IRQTRIG_RESERVED
863  打印警告信息("IOAPIC: Invalid trigger mode 2 defaulting to level\n")
865  : & == MP_IRQTRIG_LEVEL
866  默认
867  返回:IOAPIC_LEVEL
调用者
名称描述
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