函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\manage.c Create Date:2022-07-27 11:09:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:注册中断

函数原型:int setup_irq(unsigned int irq, struct irqaction *act)

返回类型:int

参数:

类型参数名称
unsigned intirq
struct irqaction *act
1650  desc等于中断转换为描述
1652  如果非descWARN_ON(irq_settings_is_per_cpu_devid(desc))则返回:负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  如果retval小于0则返回:retval
1659  retval等于注册中断
1661  如果retvalq_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  返回:retval
调用者
名称描述
native_init_IRQ
setup_default_timer_irq