Function report | 
Source Code:kernel\irq\manage.c | 
Create Date:2022-07-28 10:09:53 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:setup_irq - setup an interrupt*@irq: Interrupt line to setup*@act: irqaction for the interrupt* Used to statically setup interrupts in the early boot process.
Proto:int setup_irq(unsigned int irq, struct irqaction *act)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned int | irq | |
| struct irqaction * | act | 
| 1650 | desc = Interrupt to descriptor | 
| 1652 | If Not desc || WARN_ON(irq_settings_is_per_cpu_devid(desc)) Then Return -EINVAL | 
| 1655 | retval = q_chip_pm_get - Enable power for an IRQ chip*@data: Pointer to interrupt specific data* Enable the power to the IRQ chip referenced by the interrupt data* structure. | 
| 1659 | retval = register an interrupt | 
| 1664 | Return retval | 
| Name | Describe | 
|---|---|
| native_init_IRQ | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |