Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__handle_irq_event_percpu

Proto:irqreturn_t __handle_irq_event_percpu(struct irq_desc *desc, unsigned int *flags)

Type:irqreturn_t

Parameter:

TypeParameterName
struct irq_desc *desc
unsigned int *flags
139  retval = IRQ_NONE
140  irq = irq
143  record_irq_time(desc)
148  q_handler_entry - called immediately before the irq action handler*@irq: irq number*@action: pointer to struct irqaction* The struct irqaction pointed to by @action contains various* information about the handler, including the device name,
149  res = handler(irq, dev_id)
150  q_handler_exit - called immediately after the irq action handler returns*@irq: irq number*@action: pointer to struct irqaction*@ret: return value* If the @ret value is set to IRQ_HANDLED, then we know that the corresponding
152  If WARN_ONCE(!Some architectures don't define arch_irqs_disabled(), so even if either* definition would be fine we need to use different ones for the time being* to avoid build issues.(), "irq %u handler %pS enabled interrupts\n", irq, handler) Then local_irq_disable()
157  Case res == IRQ_WAKE_THREAD
164  Break
167  __irq_wake_thread(desc, action)
170  Case res == IRQ_HANDLED
171  flags |= flags
172  Break
174  Default
175  Break
178  retval |= res
181  Return retval
Caller
NameDescribe
handle_irq_event_percpu
handle_untracked_irqhandle_untracked_irq - Simple and software-decoded IRQs.*@desc: the interrupt description structure for this irq* Untracked interrupts are sent from a demultiplexing interrupt* handler when the demultiplexer does not know which device it its