Function Report

Linux Kernel (v4.4)

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

Function Name:setup_irq

Function:int setup_irq(unsigned int irq, struct irqaction *act)

Return Type:int


Type Parameter NameRemarks
unsigned int irq Interrupt line to setup
struct irqaction * act irqaction for the interrupt

Function description: setup an interrupt

1410  *Interrupt descriptor = Interrupt to descriptor
1412  If WARN_ON then Returning -Invalid argument
1414  Inline functions for support of irq chips on slow busses
1415  register an interrupt
1416  chip_bus_sync_unlock(Interrupt descriptor)
1418  Returning result of register an interrupt
Function NameFunction description