• Home
  • Raw
  • Download

Lines Matching refs:desc

125 static inline unsigned int irq_desc_get_irq(struct irq_desc *desc)  in irq_desc_get_irq()  argument
127 return desc->irq_data.irq; in irq_desc_get_irq()
130 static inline struct irq_data *irq_desc_get_irq_data(struct irq_desc *desc) in irq_desc_get_irq_data() argument
132 return &desc->irq_data; in irq_desc_get_irq_data()
135 static inline struct irq_chip *irq_desc_get_chip(struct irq_desc *desc) in irq_desc_get_chip() argument
137 return desc->irq_data.chip; in irq_desc_get_chip()
140 static inline void *irq_desc_get_chip_data(struct irq_desc *desc) in irq_desc_get_chip_data() argument
142 return desc->irq_data.chip_data; in irq_desc_get_chip_data()
145 static inline void *irq_desc_get_handler_data(struct irq_desc *desc) in irq_desc_get_handler_data() argument
147 return desc->irq_common_data.handler_data; in irq_desc_get_handler_data()
154 static inline void generic_handle_irq_desc(struct irq_desc *desc) in generic_handle_irq_desc() argument
156 desc->handle_irq(desc); in generic_handle_irq_desc()
184 static inline int irq_desc_has_action(struct irq_desc *desc) in irq_desc_has_action() argument
186 return desc->action != NULL; in irq_desc_has_action()
207 struct irq_desc *desc = irq_data_to_desc(data); in irq_set_handler_locked() local
209 desc->handle_irq = handler; in irq_set_handler_locked()
228 struct irq_desc *desc = irq_data_to_desc(data); in irq_set_chip_handler_name_locked() local
230 desc->handle_irq = handler; in irq_set_chip_handler_name_locked()
231 desc->name = name; in irq_set_chip_handler_name_locked()
237 struct irq_desc *desc; in irq_balancing_disabled() local
239 desc = irq_to_desc(irq); in irq_balancing_disabled()
240 return desc->status_use_accessors & IRQ_NO_BALANCING_MASK; in irq_balancing_disabled()
245 struct irq_desc *desc; in irq_is_percpu() local
247 desc = irq_to_desc(irq); in irq_is_percpu()
248 return desc->status_use_accessors & IRQ_PER_CPU; in irq_is_percpu()
253 struct irq_desc *desc; in irq_is_percpu_devid() local
255 desc = irq_to_desc(irq); in irq_is_percpu_devid()
256 return desc->status_use_accessors & IRQ_PER_CPU_DEVID; in irq_is_percpu_devid()
263 struct irq_desc *desc = irq_to_desc(irq); in irq_set_lockdep_class() local
265 if (desc) { in irq_set_lockdep_class()
266 lockdep_set_class(&desc->lock, lock_class); in irq_set_lockdep_class()
267 lockdep_set_class(&desc->request_mutex, request_class); in irq_set_lockdep_class()
275 struct irq_desc *desc; in __irq_set_preflow_handler() local
277 desc = irq_to_desc(irq); in __irq_set_preflow_handler()
278 desc->preflow_handler = handler; in __irq_set_preflow_handler()