Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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:

TypeParameterName
unsigned intirq
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.
1656  If retval < 0 Then Return retval
1659  retval = register an interrupt
1661  If retval Then q_chip_pm_put - Disable power for an IRQ chip*@data: Pointer to interrupt specific data* Disable the power to the IRQ chip referenced by the interrupt data* structure, belongs. Note that power will only be disabled, once this
1664  Return retval
Caller
NameDescribe
native_init_IRQ