1 #ifndef _LINUX_IRQDESC_H
2 #define _LINUX_IRQDESC_H
11 struct irq_affinity_notify;
42 #ifdef CONFIG_IRQ_PREFLOW_FASTEOI
56 const struct cpumask *affinity_hint;
57 struct irq_affinity_notify *affinity_notify;
58 #ifdef CONFIG_GENERIC_PENDING_IRQ
72 #ifndef CONFIG_SPARSE_IRQ
76 #ifdef CONFIG_GENERIC_HARDIRQS
88 static inline void *irq_desc_get_chip_data(
struct irq_desc *
desc)
93 static inline void *irq_desc_get_handler_data(
struct irq_desc *
desc)
109 static inline void generic_handle_irq_desc(
unsigned int irq,
struct irq_desc *
desc)
117 static inline int irq_has_action(
unsigned int irq)
124 static inline void __irq_set_handler_locked(
unsigned int irq,
135 __irq_set_chip_handler_name_locked(
unsigned int irq,
struct irq_chip *
chip,
141 irq_desc_get_irq_data(desc)->chip =
chip;
146 static inline int irq_balancing_disabled(
unsigned int irq)
155 irq_set_lockdep_class(
unsigned int irq,
struct lock_class_key *
class)
163 #ifdef CONFIG_IRQ_PREFLOW_FASTEOI
170 desc->preflow_handler = handler;