Lines Matching refs:irq_desc
38 static int alloc_masks(struct irq_desc *desc, gfp_t gfp, int node) in alloc_masks()
52 static void desc_smp_init(struct irq_desc *desc, int node) in desc_smp_init()
61 static inline int desc_node(struct irq_desc *desc) in desc_node()
68 alloc_masks(struct irq_desc *desc, gfp_t gfp, int node) { return 0; } in alloc_masks()
69 static inline void desc_smp_init(struct irq_desc *desc, int node) { } in desc_smp_init()
70 static inline int desc_node(struct irq_desc *desc) { return 0; } in desc_node()
73 static void desc_set_defaults(unsigned int irq, struct irq_desc *desc, int node) in desc_set_defaults()
104 static void irq_insert_desc(unsigned int irq, struct irq_desc *desc) in irq_insert_desc()
109 struct irq_desc *irq_to_desc(unsigned int irq) in irq_to_desc()
120 static void free_masks(struct irq_desc *desc) in free_masks()
128 static inline void free_masks(struct irq_desc *desc) { } in free_masks()
131 static struct irq_desc *alloc_desc(int irq, int node) in alloc_desc()
133 struct irq_desc *desc; in alloc_desc()
163 struct irq_desc *desc = irq_to_desc(irq); in free_desc()
178 struct irq_desc *desc; in alloc_descs()
212 struct irq_desc *desc; in early_irq_init()
239 struct irq_desc irq_desc[NR_IRQS] __cacheline_aligned_in_smp = { variable
243 .lock = __RAW_SPIN_LOCK_UNLOCKED(irq_desc->lock),
250 struct irq_desc *desc; in early_irq_init()
256 desc = irq_desc; in early_irq_init()
257 count = ARRAY_SIZE(irq_desc); in early_irq_init()
271 struct irq_desc *irq_to_desc(unsigned int irq) in irq_to_desc()
273 return (irq < NR_IRQS) ? irq_desc + irq : NULL; in irq_to_desc()
391 struct irq_desc *
394 struct irq_desc *desc = irq_to_desc(irq); in __irq_get_desc_lock()
404 void __irq_put_desc_unlock(struct irq_desc *desc, unsigned long flags, bool bus) in __irq_put_desc_unlock()
417 struct irq_desc *desc = irq_to_desc(irq); in dynamic_irq_cleanup()
427 struct irq_desc *desc = irq_to_desc(irq); in kstat_irqs_cpu()
436 struct irq_desc *desc = irq_to_desc(irq); in kstat_irqs()