函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:setup_percpu_irq - setup a per-cpu interrupt*@irq: Interrupt line to setup*@act: irqaction for the interrupt* Used to statically setup per-cpu interrupts in the early boot process.

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

返回类型:int

参数:

类型参数名称
unsigned intirq
struct irqaction *act
2373  desc等于中断转换为描述
2376  如果非desc或非irq_settings_is_per_cpu_devid(desc)则返回:负EINVAL
2379  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.
2380  如果retval小于0则返回:retval
2383  retval等于注册中断
2385  如果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
2388  返回:retval