Lines Matching refs:dev_id
1036 static irqreturn_t irq_default_primary_handler(int irq, void *dev_id) in irq_default_primary_handler() argument
1045 static irqreturn_t irq_nested_primary_handler(int irq, void *dev_id) in irq_nested_primary_handler() argument
1051 static irqreturn_t irq_forced_secondary_handler(int irq, void *dev_id) in irq_forced_secondary_handler() argument
1197 ret = action->thread_fn(action->irq, action->dev_id); in irq_forced_thread_fn()
1218 ret = action->thread_fn(action->irq, action->dev_id); in irq_thread_fn()
1350 void irq_wake_thread(unsigned int irq, void *dev_id) in irq_wake_thread() argument
1361 if (action->dev_id == dev_id) { in irq_wake_thread()
1399 new->secondary->dev_id = new->dev_id; in irq_setup_forced_threading()
1877 static struct irqaction *__free_irq(struct irq_desc *desc, void *dev_id) in __free_irq() argument
1905 if (action->dev_id == dev_id) in __free_irq()
1965 action->handler(irq, dev_id); in __free_irq()
2026 const void *free_irq(unsigned int irq, void *dev_id) in free_irq() argument
2040 action = __free_irq(desc, dev_id); in free_irq()
2078 const void *free_nmi(unsigned int irq, void *dev_id) in free_nmi() argument
2148 const char *devname, void *dev_id) in request_threaded_irq() argument
2170 if (((irqflags & IRQF_SHARED) && !dev_id) || in request_threaded_irq()
2198 action->dev_id = dev_id; in request_threaded_irq()
2227 handler(irq, dev_id); in request_threaded_irq()
2255 unsigned long flags, const char *name, void *dev_id) in request_any_context_irq() argument
2269 flags, name, dev_id); in request_any_context_irq()
2273 ret = request_irq(irq, handler, flags, name, dev_id); in request_any_context_irq()
2305 unsigned long irqflags, const char *name, void *dev_id) in request_nmi() argument
2341 action->dev_id = dev_id; in request_nmi()
2460 static struct irqaction *__free_percpu_irq(unsigned int irq, void __percpu *dev_id) in __free_percpu_irq() argument
2474 if (!action || action->percpu_dev_id != dev_id) { in __free_percpu_irq()
2530 void free_percpu_irq(unsigned int irq, void __percpu *dev_id) in free_percpu_irq() argument
2538 kfree(__free_percpu_irq(irq, dev_id)); in free_percpu_irq()
2543 void free_percpu_nmi(unsigned int irq, void __percpu *dev_id) in free_percpu_nmi() argument
2553 kfree(__free_percpu_irq(irq, dev_id)); in free_percpu_nmi()
2602 void __percpu *dev_id) in __request_percpu_irq() argument
2608 if (!dev_id) in __request_percpu_irq()
2626 action->percpu_dev_id = dev_id; in __request_percpu_irq()
2667 const char *name, void __percpu *dev_id) in request_percpu_nmi() argument
2697 action->percpu_dev_id = dev_id; in request_percpu_nmi()