Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\chip.c Create Date:2022-07-28 10:11:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:void handle_edge_irq(struct irq_desc *desc)

Type:void

Parameter:

TypeParameterName
struct irq_desc *desc
788  raw_spin_lock( & lock)
790  istate &= ~(IRQS_REPLAY | IRQS_WAITING)
792  If Not irq_may_run(desc) Then
793  istate |= IRQS_PENDING
794  mask_ack_irq(desc)
795  Go to out_unlock
802  If irqd_irq_disabled( & irq_data) || Not IRQ action list Then
803  istate |= IRQS_PENDING
804  mask_ack_irq(desc)
805  Go to out_unlock
808  kstat_incr_irqs_this_cpu(desc)
811  irq_ack( & irq_data)
813  Do
815  mask_irq(desc)
816  Go to out_unlock
830  handle_irq_event(desc)
832  When istate & IRQS_PENDING && Not irqd_irq_disabled( & irq_data) cycle
835  out_unlock :
836  raw_spin_unlock( & lock)