函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\interrupt.h Create Date:2022-07-27 06:53:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:注册中断

函数原型:static inline int __must_check request_irq(unsigned int irq, irq_handler_t handler, unsigned long flags, const char *name, void *dev)

返回类型:int

参数:

类型参数名称
unsigned intirq要分配的中断号
irq_handler_thandler中断主处理程序
unsigned longflags中断标志
const char *name生成此中断的设备名称
void *dev传递给处理程序函数的cookie
160  返回:注册中断线程
调用者
名称描述
do_vm86_irq_handling
request_any_context_irqquest_any_context_irq - allocate an interrupt line*@irq: Interrupt line to allocate*@handler: Function to be called when the IRQ occurs