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

Name:mp_register_handler

Proto:static void mp_register_handler(unsigned int irq, unsigned long trigger)

Type:void

Parameter:

TypeParameterName
unsigned intirq
unsigned longtrigger
927  If trigger Then
928  irq_set_status_flags(irq, IRQ_LEVEL)
929  fasteoi = true
930  Else
931  irq_clear_status_flags(irq, IRQ_LEVEL)
932  fasteoi = false
935  hdl = If fasteoi Then handle_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 Else 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")
Caller
NameDescribe
mp_check_pin_attr
mp_irqdomain_alloc