10 #ifdef CONFIG_SPARSE_IRQ
11 # define IRQ_BITMAP_BITS (NR_IRQS + 8196)
13 # define IRQ_BITMAP_BITS NR_IRQS
16 #define istate core_internal_state__do_not_mess_with_it
61 #define irq_data_to_desc(data) container_of(data, struct irq_desc, irq_data)
114 static inline void chip_bus_sync_unlock(
struct irq_desc *desc)
120 #define _IRQ_DESC_CHECK (1 << 0)
121 #define _IRQ_DESC_PERCPU (1 << 1)
123 #define IRQ_GET_DESC_CHECK_GLOBAL (_IRQ_DESC_CHECK)
124 #define IRQ_GET_DESC_CHECK_PERCPU (_IRQ_DESC_CHECK | _IRQ_DESC_PERCPU)
132 irq_get_desc_buslock(
unsigned int irq,
unsigned long *
flags,
unsigned int check)
138 irq_put_desc_busunlock(
struct irq_desc *desc,
unsigned long flags)
144 irq_get_desc_lock(
unsigned int irq,
unsigned long *
flags,
unsigned int check)
150 irq_put_desc_unlock(
struct irq_desc *desc,
unsigned long flags)
158 static inline void irqd_set_move_pending(
struct irq_data *
d)
163 static inline void irqd_clr_move_pending(
struct irq_data *
d)
168 static inline void irqd_clear(
struct irq_data *
d,
unsigned int mask)
173 static inline void irqd_set(
struct irq_data *
d,
unsigned int mask)
178 static inline bool irqd_has_set(
struct irq_data *
d,
unsigned int mask)