函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__irq_do_set_handler

函数原型:static void __irq_do_set_handler(struct irq_desc *desc, irq_flow_handler_t handle, int is_chained, const char *name)

返回类型:void

参数:

类型参数名称
struct irq_desc *desc
irq_flow_handler_thandle
intis_chained
const char *name
987  如果非handle
988  handle等于handle_bad_irq - handle spurious and unhandled irqs*@desc: description of the interrupt* Handles spurious and unhandled IRQ's. It also prints a debugmessage.
989  否则
990  irq_data等于irq_data
1013  如果WARN_ON(!irq_data || 中断控制器信息 == & 无中断控制器实例)则返回
1018  如果handle恒等于handle_bad_irq - handle spurious and unhandled irqs*@desc: description of the interrupt* Handles spurious and unhandled IRQ's. It also prints a debugmessage.
1019  如果中断控制器信息不等于无中断控制器实例mask_ack_irq(desc)
1021  irq_state_set_disabled(desc)
1022  如果is_chained中断服务例程链表 = NULL
1024  嵌套级数等于1
1026  高层次的中断事件处理函数等于handle
1027  name等于name
1029  如果handle不等于handle_bad_irq - handle spurious and unhandled irqs*@desc: description of the interrupt* Handles spurious and unhandled IRQ's. It also prints a debugmessage.is_chained
1030  type等于irqd_get_trigger_type( & irq_data)
1040  如果type不等于IRQ_TYPE_NONE
1045  irq_settings_set_noprobe(desc)
1046  irq_settings_set_norequest(desc)
1047  irq_settings_set_nothread(desc)
1048  中断服务例程链表等于Chained handlers should never call action on their IRQ. This default* action will emit warning if such thing happens.
1049  irq_activate_and_startup(desc, IRQ_RESEND)
调用者
名称描述
__irq_set_handler
irq_set_chained_handler_and_data