Lines Matching refs:irq_desc
55 static int alloc_masks(struct irq_desc *desc, int node) in alloc_masks()
81 static void desc_smp_init(struct irq_desc *desc, int node, in desc_smp_init()
98 alloc_masks(struct irq_desc *desc, int node) { return 0; } in alloc_masks()
100 desc_smp_init(struct irq_desc *desc, int node, const struct cpumask *affinity) { } in desc_smp_init()
103 static void desc_set_defaults(unsigned int irq, struct irq_desc *desc, int node, in desc_set_defaults()
149 struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj); in per_cpu_count_show()
169 struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj); in chip_name_show()
186 struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj); in hwirq_show()
201 struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj); in type_show()
217 struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj); in wakeup_show()
233 struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj); in name_show()
248 struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj); in actions_show()
286 static void irq_sysfs_add(int irq, struct irq_desc *desc) in irq_sysfs_add()
298 static void irq_sysfs_del(struct irq_desc *desc) in irq_sysfs_del()
312 struct irq_desc *desc; in irq_sysfs_init()
339 static void irq_sysfs_add(int irq, struct irq_desc *desc) {} in irq_sysfs_add()
340 static void irq_sysfs_del(struct irq_desc *desc) {} in irq_sysfs_del()
346 static void irq_insert_desc(unsigned int irq, struct irq_desc *desc) in irq_insert_desc()
351 struct irq_desc *irq_to_desc(unsigned int irq) in irq_to_desc()
365 static void free_masks(struct irq_desc *desc) in free_masks()
376 static inline void free_masks(struct irq_desc *desc) { } in free_masks()
389 static struct irq_desc *alloc_desc(int irq, int node, unsigned int flags, in alloc_desc()
393 struct irq_desc *desc; in alloc_desc()
426 struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj); in irq_kobj_release()
435 struct irq_desc *desc = container_of(rhp, struct irq_desc, rcu); in delayed_free_desc()
442 struct irq_desc *desc = irq_to_desc(irq); in free_desc()
472 struct irq_desc *desc; in alloc_descs()
524 struct irq_desc *desc; in early_irq_init()
552 struct irq_desc irq_desc[NR_IRQS] __cacheline_aligned_in_smp = { variable
556 .lock = __RAW_SPIN_LOCK_UNLOCKED(irq_desc->lock),
563 struct irq_desc *desc; in early_irq_init()
569 desc = irq_desc; in early_irq_init()
570 count = ARRAY_SIZE(irq_desc); in early_irq_init()
583 struct irq_desc *irq_to_desc(unsigned int irq) in irq_to_desc()
585 return (irq < NR_IRQS) ? irq_desc + irq : NULL; in irq_to_desc()
591 struct irq_desc *desc = irq_to_desc(irq); in free_desc()
606 struct irq_desc *desc = irq_to_desc(start + i); in alloc_descs()
635 int handle_irq_desc(struct irq_desc *desc) in handle_irq_desc()
791 struct irq_desc *
795 struct irq_desc *desc = irq_to_desc(irq); in __irq_get_desc_lock()
815 void __irq_put_desc_unlock(struct irq_desc *desc, unsigned long flags, bool bus) in __irq_put_desc_unlock()
826 struct irq_desc *desc = irq_to_desc(irq); in irq_set_percpu_devid_partition()
855 struct irq_desc *desc = irq_to_desc(irq); in irq_get_percpu_devid_partition()
883 struct irq_desc *desc = irq_to_desc(irq); in kstat_irqs_cpu()
889 static bool irq_is_nmi(struct irq_desc *desc) in irq_is_nmi()
896 struct irq_desc *desc = irq_to_desc(irq); in kstat_irqs()
936 struct irq_desc *desc = irq_to_desc(irq); in __irq_set_lockdep_class()