函数逻辑报告

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

函数名称:mp_register_handler

函数原型:static void mp_register_handler(unsigned int irq, unsigned long trigger)

返回类型:void

参数:

类型参数名称
unsigned intirq
unsigned longtrigger
927  如果trigger
928  irq_set_status_flags(irq, IRQ_LEVEL)
929  fasteoi = true
930  否则
931  irq_clear_status_flags(irq, IRQ_LEVEL)
932  fasteoi = false
935  hdl等于如果fasteoihandle_fasteoi_irq - irq handler for transparent controllers*@desc: the interrupt description structure for this irq* Only a single callback will be issued to the chip: an ->eoi()* call when the interrupt has been serviced否则handle_edge_irq - edge type IRQ handler*@desc: the interrupt description structure for this irq* Interrupt occures on the falling and/or rising edge of a hardware* signal. The occurrence is latched into the irq controller hardware
936  __irq_set_handler(irq, hdl, 0, fasteoi ? "fasteoi" : "edge")
调用者
名称描述
mp_check_pin_attr
mp_irqdomain_alloc