internals.h (f160203986a6ad23ab8077c4a25b260fe55d6e26) | internals.h (087cdfb662ae50e3826e7cd2e54b6519d07b60f0) |
---|---|
1/* 2 * IRQ subsystem internal functions and variables: 3 * 4 * Do not ever include this file from anything else than 5 * kernel/irq/. Do not even think about using any information outside 6 * of this file for your non core code. 7 */ 8#include <linux/irqdesc.h> --- 155 unchanged lines hidden (view full) --- 164static inline void 165irq_put_desc_unlock(struct irq_desc *desc, unsigned long flags) 166{ 167 __irq_put_desc_unlock(desc, flags, false); 168} 169 170#define __irqd_to_state(d) ACCESS_PRIVATE((d)->common, state_use_accessors) 171 | 1/* 2 * IRQ subsystem internal functions and variables: 3 * 4 * Do not ever include this file from anything else than 5 * kernel/irq/. Do not even think about using any information outside 6 * of this file for your non core code. 7 */ 8#include <linux/irqdesc.h> --- 155 unchanged lines hidden (view full) --- 164static inline void 165irq_put_desc_unlock(struct irq_desc *desc, unsigned long flags) 166{ 167 __irq_put_desc_unlock(desc, flags, false); 168} 169 170#define __irqd_to_state(d) ACCESS_PRIVATE((d)->common, state_use_accessors) 171 |
172static inline unsigned int irqd_get(struct irq_data *d) 173{ 174 return __irqd_to_state(d); 175} 176 |
|
172/* 173 * Manipulation functions for irq_data.state 174 */ 175static inline void irqd_set_move_pending(struct irq_data *d) 176{ 177 __irqd_to_state(d) |= IRQD_SETAFFINITY_PENDING; 178} 179 --- 52 unchanged lines hidden (view full) --- 232 int num_ct, unsigned int irq_base, 233 void __iomem *reg_base, irq_flow_handler_t handler); 234#else 235static inline void 236irq_init_generic_chip(struct irq_chip_generic *gc, const char *name, 237 int num_ct, unsigned int irq_base, 238 void __iomem *reg_base, irq_flow_handler_t handler) { } 239#endif /* CONFIG_GENERIC_IRQ_CHIP */ | 177/* 178 * Manipulation functions for irq_data.state 179 */ 180static inline void irqd_set_move_pending(struct irq_data *d) 181{ 182 __irqd_to_state(d) |= IRQD_SETAFFINITY_PENDING; 183} 184 --- 52 unchanged lines hidden (view full) --- 237 int num_ct, unsigned int irq_base, 238 void __iomem *reg_base, irq_flow_handler_t handler); 239#else 240static inline void 241irq_init_generic_chip(struct irq_chip_generic *gc, const char *name, 242 int num_ct, unsigned int irq_base, 243 void __iomem *reg_base, irq_flow_handler_t handler) { } 244#endif /* CONFIG_GENERIC_IRQ_CHIP */ |
245 246#ifdef CONFIG_GENERIC_IRQ_DEBUGFS 247void irq_add_debugfs_entry(unsigned int irq, struct irq_desc *desc); 248void irq_remove_debugfs_entry(struct irq_desc *desc); 249# ifdef CONFIG_IRQ_DOMAIN 250void irq_domain_debugfs_init(struct dentry *root); 251# else 252static inline void irq_domain_debugfs_init(struct dentry *root); 253# endif 254#else /* CONFIG_GENERIC_IRQ_DEBUGFS */ 255static inline void irq_add_debugfs_entry(unsigned int irq, struct irq_desc *d) 256{ 257} 258static inline void irq_remove_debugfs_entry(struct irq_desc *d) 259{ 260} 261#endif /* CONFIG_GENERIC_IRQ_DEBUGFS */ |
|