Lines Matching refs:desc
119 static inline unsigned int irq_desc_kstat_cpu(struct irq_desc *desc, in irq_desc_kstat_cpu() argument
122 return desc->kstat_irqs ? *per_cpu_ptr(desc->kstat_irqs, cpu) : 0; in irq_desc_kstat_cpu()
130 static inline unsigned int irq_desc_get_irq(struct irq_desc *desc) in irq_desc_get_irq() argument
132 return desc->irq_data.irq; in irq_desc_get_irq()
135 static inline struct irq_data *irq_desc_get_irq_data(struct irq_desc *desc) in irq_desc_get_irq_data() argument
137 return &desc->irq_data; in irq_desc_get_irq_data()
140 static inline struct irq_chip *irq_desc_get_chip(struct irq_desc *desc) in irq_desc_get_chip() argument
142 return desc->irq_data.chip; in irq_desc_get_chip()
145 static inline void *irq_desc_get_chip_data(struct irq_desc *desc) in irq_desc_get_chip_data() argument
147 return desc->irq_data.chip_data; in irq_desc_get_chip_data()
150 static inline void *irq_desc_get_handler_data(struct irq_desc *desc) in irq_desc_get_handler_data() argument
152 return desc->irq_common_data.handler_data; in irq_desc_get_handler_data()
159 static inline void generic_handle_irq_desc(struct irq_desc *desc) in generic_handle_irq_desc() argument
161 desc->handle_irq(desc); in generic_handle_irq_desc()
164 int handle_irq_desc(struct irq_desc *desc);
180 static inline int irq_desc_has_action(struct irq_desc *desc) in irq_desc_has_action() argument
182 return desc && desc->action != NULL; in irq_desc_has_action()
198 struct irq_desc *desc = irq_data_to_desc(data); in irq_set_handler_locked() local
200 desc->handle_irq = handler; in irq_set_handler_locked()
220 struct irq_desc *desc = irq_data_to_desc(data); in irq_set_chip_handler_name_locked() local
222 desc->handle_irq = handler; in irq_set_chip_handler_name_locked()
223 desc->name = name; in irq_set_chip_handler_name_locked()