Lines Matching refs:irq
126 unsigned int irq; member
147 request_threaded_irq(unsigned int irq, irq_handler_t handler,
165 request_irq(unsigned int irq, irq_handler_t handler, unsigned long flags, in request_irq() argument
168 return request_threaded_irq(irq, handler, NULL, flags, name, dev); in request_irq()
172 request_any_context_irq(unsigned int irq, irq_handler_t handler,
176 __request_percpu_irq(unsigned int irq, irq_handler_t handler,
181 request_nmi(unsigned int irq, irq_handler_t handler, unsigned long flags,
185 request_percpu_irq(unsigned int irq, irq_handler_t handler, in request_percpu_irq() argument
188 return __request_percpu_irq(irq, handler, 0, in request_percpu_irq()
193 request_percpu_nmi(unsigned int irq, irq_handler_t handler,
199 extern const void *free_nmi(unsigned int irq, void *dev_id);
200 extern void free_percpu_nmi(unsigned int irq, void __percpu *percpu_dev_id);
205 devm_request_threaded_irq(struct device *dev, unsigned int irq,
211 devm_request_irq(struct device *dev, unsigned int irq, irq_handler_t handler, in devm_request_irq() argument
214 return devm_request_threaded_irq(dev, irq, handler, NULL, irqflags, in devm_request_irq()
219 devm_request_any_context_irq(struct device *dev, unsigned int irq,
223 extern void devm_free_irq(struct device *dev, unsigned int irq, void *dev_id);
225 bool irq_has_action(unsigned int irq);
226 extern void disable_irq_nosync(unsigned int irq);
227 extern bool disable_hardirq(unsigned int irq);
228 extern void disable_irq(unsigned int irq);
229 extern void disable_percpu_irq(unsigned int irq);
230 extern void enable_irq(unsigned int irq);
231 extern void enable_percpu_irq(unsigned int irq, unsigned int type);
232 extern bool irq_percpu_is_enabled(unsigned int irq);
233 extern void irq_wake_thread(unsigned int irq, void *dev_id);
235 extern void disable_nmi_nosync(unsigned int irq);
236 extern void disable_percpu_nmi(unsigned int irq);
237 extern void enable_nmi(unsigned int irq);
238 extern void enable_percpu_nmi(unsigned int irq, unsigned int type);
239 extern int prepare_percpu_nmi(unsigned int irq);
240 extern void teardown_percpu_nmi(unsigned int irq);
242 extern int irq_inject_interrupt(unsigned int irq);
247 extern void rearm_wake_irq(unsigned int irq);
262 unsigned int irq; member
308 extern int irq_set_affinity(unsigned int irq, const struct cpumask *cpumask);
309 extern int irq_force_affinity(unsigned int irq, const struct cpumask *cpumask);
311 extern int irq_can_set_affinity(unsigned int irq);
312 extern int irq_select_affinity(unsigned int irq);
314 extern int __irq_apply_affinity_hint(unsigned int irq, const struct cpumask *m,
325 irq_update_affinity_hint(unsigned int irq, const struct cpumask *m) in irq_update_affinity_hint() argument
327 return __irq_apply_affinity_hint(irq, m, false); in irq_update_affinity_hint()
340 irq_set_affinity_and_hint(unsigned int irq, const struct cpumask *m) in irq_set_affinity_and_hint() argument
342 return __irq_apply_affinity_hint(irq, m, true); in irq_set_affinity_and_hint()
349 static inline int irq_set_affinity_hint(unsigned int irq, const struct cpumask *m) in irq_set_affinity_hint() argument
351 return irq_set_affinity_and_hint(irq, m); in irq_set_affinity_hint()
354 extern int irq_update_affinity_desc(unsigned int irq,
358 irq_set_affinity_notifier(unsigned int irq, struct irq_affinity_notify *notify);
368 static inline int irq_set_affinity(unsigned int irq, const struct cpumask *m) in irq_set_affinity() argument
373 static inline int irq_force_affinity(unsigned int irq, const struct cpumask *cpumask) in irq_force_affinity() argument
378 static inline int irq_can_set_affinity(unsigned int irq) in irq_can_set_affinity() argument
383 static inline int irq_select_affinity(unsigned int irq) { return 0; } in irq_select_affinity() argument
385 static inline int irq_update_affinity_hint(unsigned int irq, in irq_update_affinity_hint() argument
391 static inline int irq_set_affinity_and_hint(unsigned int irq, in irq_set_affinity_and_hint() argument
397 static inline int irq_set_affinity_hint(unsigned int irq, in irq_set_affinity_hint() argument
403 static inline int irq_update_affinity_desc(unsigned int irq, in irq_update_affinity_desc() argument
410 irq_set_affinity_notifier(unsigned int irq, struct irq_affinity_notify *notify) in irq_set_affinity_notifier() argument
441 static inline void disable_irq_nosync_lockdep(unsigned int irq) in disable_irq_nosync_lockdep() argument
443 disable_irq_nosync(irq); in disable_irq_nosync_lockdep()
449 static inline void disable_irq_nosync_lockdep_irqsave(unsigned int irq, unsigned long *flags) in disable_irq_nosync_lockdep_irqsave() argument
451 disable_irq_nosync(irq); in disable_irq_nosync_lockdep_irqsave()
457 static inline void disable_irq_lockdep(unsigned int irq) in disable_irq_lockdep() argument
459 disable_irq(irq); in disable_irq_lockdep()
465 static inline void enable_irq_lockdep(unsigned int irq) in enable_irq_lockdep() argument
470 enable_irq(irq); in enable_irq_lockdep()
473 static inline void enable_irq_lockdep_irqrestore(unsigned int irq, unsigned long *flags) in enable_irq_lockdep_irqrestore() argument
478 enable_irq(irq); in enable_irq_lockdep_irqrestore()
482 extern int irq_set_irq_wake(unsigned int irq, unsigned int on);
484 static inline int enable_irq_wake(unsigned int irq) in enable_irq_wake() argument
486 return irq_set_irq_wake(irq, 1); in enable_irq_wake()
489 static inline int disable_irq_wake(unsigned int irq) in disable_irq_wake() argument
491 return irq_set_irq_wake(irq, 0); in disable_irq_wake()
504 extern int irq_get_irqchip_state(unsigned int irq, enum irqchip_irq_state which,
506 extern int irq_set_irqchip_state(unsigned int irq, enum irqchip_irq_state which,