函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:quest_any_context_irq - allocate an interrupt line*@irq: Interrupt line to allocate*@handler: Function to be called when the IRQ occurs

函数原型:int request_any_context_irq(unsigned int irq, irq_handler_t handler, unsigned long flags, const char *name, void *dev_id)

返回类型:int

参数:

类型参数名称
unsigned intirq
irq_handler_thandler
unsigned longflags
const char *name
void *dev_id
2069  如果irq恒等于If a (PCI) device interrupt is not connected we set dev->irq to* IRQ_NOTCONNECTED则返回:负ENOTCONN
2072  desc等于中断转换为描述
2073  如果非desc则返回:负EINVAL
2076  如果线程是嵌套中断类型
2077  ret等于注册中断线程
2079  返回:如果非retIRQC_IS_NESTED否则ret
2082  ret等于注册中断
2083  返回:如果非retIRQC_IS_HARDIRQ否则ret
调用者
名称描述
devm_request_any_context_irqdevm_request_any_context_irq - allocate an interrupt line for a managed device*@dev: device to request interrupt for*@irq: Interrupt line to allocate*@handler: Function to be called when the IRQ occurs*@irqflags: Interrupt type flags*@devname: An ascii