| 函数逻辑报告 | 
| Source Code: kernel\irq\manage.c | Create Date:2022-07-27 11:10:07 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:注册中断线程
函数原型:int request_threaded_irq(unsigned int irq, irq_handler_t handler, irq_handler_t thread_fn, unsigned long irqflags, const char *devname, void *dev_id)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| unsigned int | irq | |
| irq_handler_t | handler | |
| irq_handler_t | thread_fn | |
| unsigned long | irqflags | |
| const char * | devname | |
| void * | dev_id | 
| 1968 | 如果irq恒等于If a (PCI) device interrupt is not connected we set dev->irq to* IRQ_NOTCONNECTED则返回:负ENOTCONN | 
| 1989 | 如果非设置请求参数或WARN_ON(irq_settings_is_per_cpu_devid(desc))则返回:负EINVAL | 
| 1993 | 如果非handler则 | 
| 1996 | handler等于线程中断的默认主中断处理程序 | 
| 2009 | 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. | 
| 2010 | 如果retval小于0则 | 
| 2017 | 如果retval则 | 
| 2042 | 返回:retval | 
| 名称 | 描述 | 
|---|---|
| request_any_context_irq | quest_any_context_irq - allocate an interrupt line*@irq: Interrupt line to allocate*@handler: Function to be called when the IRQ occurs | 
| devm_request_threaded_irq | devm_request_threaded_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 | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |