/include/linux/ |
D | irqnr.h | 9 extern struct irq_desc *irq_to_desc(unsigned int irq); 12 # define for_each_irq_desc(irq, desc) \ argument 13 for (irq = 0, desc = irq_to_desc(irq); irq < nr_irqs; \ 14 irq++, desc = irq_to_desc(irq)) \ 20 # define for_each_irq_desc_reverse(irq, desc) \ argument 21 for (irq = nr_irqs - 1, desc = irq_to_desc(irq); irq >= 0; \ 22 irq--, desc = irq_to_desc(irq)) \ 27 # define for_each_active_irq(irq) \ argument 28 for (irq = irq_get_next_irq(0); irq < nr_irqs; \ 29 irq = irq_get_next_irq(irq + 1)) [all …]
|
D | interrupt.h | 118 unsigned int irq; member 139 request_threaded_irq(unsigned int irq, irq_handler_t handler, 144 request_irq(unsigned int irq, irq_handler_t handler, unsigned long flags, in request_irq() argument 147 return request_threaded_irq(irq, handler, NULL, flags, name, dev); in request_irq() 151 request_any_context_irq(unsigned int irq, irq_handler_t handler, 155 __request_percpu_irq(unsigned int irq, irq_handler_t handler, 160 request_nmi(unsigned int irq, irq_handler_t handler, unsigned long flags, 164 request_percpu_irq(unsigned int irq, irq_handler_t handler, in request_percpu_irq() argument 167 return __request_percpu_irq(irq, handler, 0, in request_percpu_irq() 172 request_percpu_nmi(unsigned int irq, irq_handler_t handler, [all …]
|
D | b1pcmcia.h | 16 int b1pcmcia_addcard_b1(unsigned int port, unsigned irq); 17 int b1pcmcia_addcard_m1(unsigned int port, unsigned irq); 18 int b1pcmcia_addcard_m2(unsigned int port, unsigned irq); 19 int b1pcmcia_delcard(unsigned int port, unsigned irq);
|
D | kernel_stat.h | 54 extern unsigned int kstat_irqs_cpu(unsigned int irq, int cpu); 55 extern void kstat_incr_irq_this_cpu(unsigned int irq); 57 static inline void kstat_incr_softirqs_this_cpu(unsigned int irq) in kstat_incr_softirqs_this_cpu() argument 59 __this_cpu_inc(kstat.softirqs[irq]); in kstat_incr_softirqs_this_cpu() 62 static inline unsigned int kstat_softirqs_cpu(unsigned int irq, int cpu) in kstat_softirqs_cpu() argument 64 return kstat_cpu(cpu).softirqs[irq]; in kstat_softirqs_cpu() 70 extern unsigned int kstat_irqs(unsigned int irq); 71 extern unsigned int kstat_irqs_usr(unsigned int irq);
|
D | irq.h | 175 unsigned int irq; member 545 extern int setup_irq(unsigned int irq, struct irqaction *new); 546 extern void remove_irq(unsigned int irq, struct irqaction *act); 547 extern int setup_percpu_irq(unsigned int irq, struct irqaction *new); 548 extern void remove_percpu_irq(unsigned int irq, struct irqaction *act); 554 extern int irq_set_vcpu_affinity(unsigned int irq, void *vcpu_info); 581 int irq_set_parent(int irq, int parent_irq); 583 static inline int irq_set_parent(int irq, int parent_irq) in irq_set_parent() argument 602 extern void handle_nested_irq(unsigned int irq); 646 extern int can_request_irq(unsigned int irq, unsigned long irqflags); [all …]
|
D | irqdesc.h | 127 return desc->irq_data.irq; in irq_desc_get_irq() 159 int generic_handle_irq(unsigned int irq); 189 static inline int irq_has_action(unsigned int irq) in irq_has_action() argument 191 return irq_desc_has_action(irq_to_desc(irq)); in irq_has_action() 235 static inline bool irq_balancing_disabled(unsigned int irq) in irq_balancing_disabled() argument 239 desc = irq_to_desc(irq); in irq_balancing_disabled() 243 static inline bool irq_is_percpu(unsigned int irq) in irq_is_percpu() argument 247 desc = irq_to_desc(irq); in irq_is_percpu() 251 static inline bool irq_is_percpu_devid(unsigned int irq) in irq_is_percpu_devid() argument 255 desc = irq_to_desc(irq); in irq_is_percpu_devid() [all …]
|
D | phy_fixed.h | 18 extern int fixed_phy_add(unsigned int irq, int phy_id, 20 extern struct phy_device *fixed_phy_register(unsigned int irq, 25 fixed_phy_register_with_gpiod(unsigned int irq, 34 static inline int fixed_phy_add(unsigned int irq, int phy_id, in fixed_phy_add() argument 39 static inline struct phy_device *fixed_phy_register(unsigned int irq, in fixed_phy_register() argument 47 fixed_phy_register_with_gpiod(unsigned int irq, in fixed_phy_register_with_gpiod() argument
|
D | pm_wakeirq.h | 19 extern int dev_pm_set_wake_irq(struct device *dev, int irq); 21 int irq); 28 static inline int dev_pm_set_wake_irq(struct device *dev, int irq) in dev_pm_set_wake_irq() argument 33 static inline int dev_pm_set_dedicated_wake_irq(struct device *dev, int irq) in dev_pm_set_dedicated_wake_irq() argument
|
D | vlynq.h | 57 int irq; member 124 int irq = dev->irq_start + virq; in vlynq_virq_to_irq() local 125 if ((irq < dev->irq_start) || (irq > dev->irq_end)) in vlynq_virq_to_irq() 128 return irq; in vlynq_virq_to_irq() 131 static inline int vlynq_irq_to_virq(struct vlynq_device *dev, int irq) in vlynq_irq_to_virq() argument 133 if ((irq < dev->irq_start) || (irq > dev->irq_end)) in vlynq_irq_to_virq() 136 return irq - dev->irq_start; in vlynq_irq_to_virq()
|
D | cs5535.h | 50 unsigned int irq) in cs5535_pic_unreqz_select_high() argument 56 lo |= (irq & 0xF) << (group * 4); in cs5535_pic_unreqz_select_high() 176 int cs5535_gpio_set_irq(unsigned group, unsigned irq); 219 int *irq, int enable); 225 int cmp, int *irq) in cs5535_mfgpt_setup_irq() argument 227 return cs5535_mfgpt_set_irq(timer, cmp, irq, 1); in cs5535_mfgpt_setup_irq() 231 int cmp, int *irq) in cs5535_mfgpt_release_irq() argument 233 return cs5535_mfgpt_set_irq(timer, cmp, irq, 0); in cs5535_mfgpt_release_irq()
|
D | sh_intc.h | 18 #define irq2evt(irq) (((irq) + 16) << 5) argument 21 #define irq2evt(irq) (irq) argument 32 #define INTC_IRQ(enum_id, irq) INTC_VECT(enum_id, irq2evt(irq)) argument 137 int intc_set_priority(unsigned int irq, unsigned int prio);
|
D | acpi_iort.h | 14 #define IORT_IRQ_MASK(irq) (irq & 0xffffffffULL) argument 15 #define IORT_IRQ_TRIGGER_MASK(irq) ((irq >> 32) & 0xffffffffULL) argument
|
/include/linux/irqchip/ |
D | irq-madera.h | 94 static inline int madera_get_irq_mapping(struct madera *madera, int irq) in madera_get_irq_mapping() argument 99 return regmap_irq_get_virq(madera->irq_data, irq); in madera_get_irq_mapping() 102 static inline int madera_request_irq(struct madera *madera, int irq, in madera_request_irq() argument 106 irq = madera_get_irq_mapping(madera, irq); in madera_request_irq() 107 if (irq < 0) in madera_request_irq() 108 return irq; in madera_request_irq() 110 return request_threaded_irq(irq, NULL, handler, IRQF_ONESHOT, name, in madera_request_irq() 114 static inline void madera_free_irq(struct madera *madera, int irq, void *data) in madera_free_irq() argument 116 irq = madera_get_irq_mapping(madera, irq); in madera_free_irq() 117 if (irq < 0) in madera_free_irq() [all …]
|
D | arm-gic-v4.h | 36 int irq; member 96 int its_map_vlpi(int irq, struct its_vlpi_map *map); 97 int its_get_vlpi(int irq, struct its_vlpi_map *map); 98 int its_unmap_vlpi(int irq); 99 int its_prop_update_vlpi(int irq, u8 config, bool inv);
|
/include/xen/ |
D | events.h | 47 void unbind_from_irqhandler(unsigned int irq, void *dev_id); 52 int xen_set_irq_priority(unsigned irq, unsigned priority); 62 void rebind_evtchn_irq(int evtchn, int irq); 71 void notify_remote_via_irq(int irq); 76 void xen_clear_irq_pending(int irq); 77 void xen_set_irq_pending(int irq); 78 bool xen_test_irq_pending(int irq); 82 void xen_poll_irq(int irq); 86 void xen_poll_irq_timeout(int irq, u64 timeout); 91 unsigned int evtchn_from_irq(unsigned irq); [all …]
|
/include/trace/events/ |
D | irq.h | 3 #define TRACE_SYSTEM irq 55 TP_PROTO(int irq, struct irqaction *action), 57 TP_ARGS(irq, action), 60 __field( int, irq ) 65 __entry->irq = irq; 69 TP_printk("irq=%d name=%s", __entry->irq, __get_str(name)) 85 TP_PROTO(int irq, struct irqaction *action, int ret), 87 TP_ARGS(irq, action, ret), 90 __field( int, irq ) 95 __entry->irq = irq; [all …]
|
D | tegra_apb_dma.h | 45 TP_PROTO(struct dma_chan *dc, int irq), 46 TP_ARGS(dc, irq), 49 __field(int, irq) 53 __entry->irq = irq; 55 TP_printk("%s: irq %d\n", __get_str(chan), __entry->irq)
|
/include/linux/iio/ |
D | trigger_consumer.h | 32 irqreturn_t (*h)(int irq, void *p); 33 irqreturn_t (*thread)(int irq, void *p); 36 int irq; member 42 *iio_alloc_pollfunc(irqreturn_t (*h)(int irq, void *p), 43 irqreturn_t (*thread)(int irq, void *p), 49 irqreturn_t iio_pollfunc_store_time(int irq, void *p);
|
D | triggered_buffer.h | 11 irqreturn_t (*h)(int irq, void *p), 12 irqreturn_t (*thread)(int irq, void *p), 18 irqreturn_t (*h)(int irq, void *p), 19 irqreturn_t (*thread)(int irq, void *p),
|
D | triggered_event.h | 8 irqreturn_t (*h)(int irq, void *p), 9 irqreturn_t (*thread)(int irq, void *p));
|
/include/asm-generic/ |
D | irq.h | 14 static inline int irq_canonicalize(int irq) in irq_canonicalize() argument 16 return irq; in irq_canonicalize()
|
D | hardirq.h | 16 static inline void ack_bad_irq(unsigned int irq) in ack_bad_irq() argument 18 printk(KERN_CRIT "unexpected IRQ trap at vector %02x\n", irq); in ack_bad_irq()
|
/include/linux/mfd/wm8994/ |
D | core.h | 68 int irq; member 120 static inline int wm8994_request_irq(struct wm8994 *wm8994, int irq, in wm8994_request_irq() argument 126 return request_threaded_irq(regmap_irq_get_virq(wm8994->irq_data, irq), in wm8994_request_irq() 130 static inline void wm8994_free_irq(struct wm8994 *wm8994, int irq, void *data) in wm8994_free_irq() argument 134 free_irq(regmap_irq_get_virq(wm8994->irq_data, irq), data); in wm8994_free_irq()
|
/include/linux/mfd/pcf50633/ |
D | core.h | 53 int pcf50633_register_irq(struct pcf50633 *pcf, int irq, 55 int pcf50633_free_irq(struct pcf50633 *pcf, int irq); 57 int pcf50633_irq_mask(struct pcf50633 *pcf, int irq); 58 int pcf50633_irq_unmask(struct pcf50633 *pcf, int irq); 59 int pcf50633_irq_mask_get(struct pcf50633 *pcf, int irq); 137 int irq; member 227 int pcf50633_irq_init(struct pcf50633 *pcf, int irq);
|
/include/sound/ |
D | mpu401.h | 64 int irq; /* IRQ number of MPU-401 chip */ member 112 irqreturn_t snd_mpu401_uart_interrupt(int irq, void *dev_id); 113 irqreturn_t snd_mpu401_uart_interrupt_tx(int irq, void *dev_id); 120 int irq,
|