Function Report

Linux Kernel (v4.4)

Source File:kernel\irq\chip.c Create Date:2016-01-14 10:59:29
Last Modify:2016-01-11 07:01:32 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:irq_startup

Function:int irq_startup(struct irq_desc *desc, bool resend)

Return Type:int


Type Parameter NameRemarks
struct irq_desc * desc
bool resend

Function description:

191  ret = 0
193  irq_state_clr_disabled(Interrupt descriptor)
194  disable-depth, for nested irq_disable() calls = 0
196  Call domain_ops->activate recursively to activate interrupt
197  If start up the interrupt then
198  ret = start up the interrupt
199  irq_state_clr_masked(Interrupt descriptor)
200  Else
201  irq_enable(Interrupt descriptor)
203  If resend then IRQ resend
205  Returning ret
Function NameFunction description
__setup_irqregister an interrupt
probe_irq_on begin an interrupt autodetect