Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:desc_set_defaults

Proto:static void desc_set_defaults(unsigned int irq, struct irq_desc *desc, int node, const struct cpumask *affinity, struct module *owner)

Type:void

Parameter:

TypeParameterName
unsigned intirq
struct irq_desc *desc
intnode
const struct cpumask *affinity
struct module *owner
108  handler_data = NULL
109  msi_desc = NULL
111  common = irq_common_data
112  irq = irq
113  chip = Generic no controller implementation
114  chip_data = NULL
115  irq_settings_clr_and_set(desc, ~0, _IRQ_DEFAULT_INIT_FLAGS)
116  irqd_set( & irq_data, IRQD_IRQ_DISABLED)
117  irqd_set( & irq_data, IRQD_IRQ_MASKED)
118  handle_irq = handle_bad_irq - handle spurious and unhandled irqs*@desc: description of the interrupt* Handles spurious and unhandled IRQ's. It also prints a debugmessage.
119  nested irq disables = 1
120  For detecting broken IRQs = 0
121  irqs_unhandled = 0
122  tot_count = 0
123  name = NULL
124  owner = owner
125  for_each_possible_cpu(cpu)
126  per_cpu_ptr(kstat_irqs, cpu) = 0
127  desc_smp_init(desc, node, affinity)
Caller
NameDescribe
early_irq_init
free_desc