函数逻辑报告

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:17
Last Modify:2020-03-16 21:24:45 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mp_check_pin_attr

函数原型:static bool mp_check_pin_attr(int irq, struct irq_alloc_info *info)

返回类型:bool

参数:

类型参数名称
intirq
struct irq_alloc_info *info
941  data等于irq_get_chip_data(irq)
948  如果irq小于nr_legacy_irqs()且count恒等于1则
949  如果ioapic_trigger不等于triggermp_register_handler(irq, ioapic_trigger)
951  0: edge, 1: level 等于trigger等于ioapic_trigger
952  polarity等于polarity等于ioapic_polarity
955  返回:trigger恒等于ioapic_triggerpolarity恒等于ioapic_polarity
调用者
名称描述
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