Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\chip.c Create Date:2022-07-28 10:11:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__irq_do_set_handler

Proto:static void __irq_do_set_handler(struct irq_desc *desc, irq_flow_handler_t handle, int is_chained, const char *name)

Type:void

Parameter:

TypeParameterName
struct irq_desc *desc
irq_flow_handler_thandle
intis_chained
const char *name
987  If Not handle Then
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  Else
990  irq_data = irq_data
1013  If WARN_ON(!irq_data || chip == & Generic no controller implementation) Then Return
1018  If 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. Then
1019  If chip != Generic no controller implementation Then mask_ack_irq(desc)
1021  irq_state_set_disabled(desc)
1022  If is_chained Then IRQ action list = NULL
1024  nested irq disables = 1
1026  handle_irq = handle
1027  name = name
1029  If 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 Then
1030  type = irqd_get_trigger_type( & irq_data)
1040  If type != IRQ_TYPE_NONE Then
1042  handle_irq = handle
1045  irq_settings_set_noprobe(desc)
1046  irq_settings_set_norequest(desc)
1047  irq_settings_set_nothread(desc)
1048  IRQ action list = 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)
Caller
NameDescribe
__irq_set_handler
irq_set_chained_handler_and_data