Home
last modified time | relevance | path

Searched refs:irq (Results 1 – 25 of 218) sorted by relevance

123456789

/include/linux/
Dirqnr.h9 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 …]
Dinterrupt.h122 unsigned int irq; member
143 request_threaded_irq(unsigned int irq, irq_handler_t handler,
161 request_irq(unsigned int irq, irq_handler_t handler, unsigned long flags, in request_irq() argument
164 return request_threaded_irq(irq, handler, NULL, flags, name, dev); in request_irq()
168 request_any_context_irq(unsigned int irq, irq_handler_t handler,
172 __request_percpu_irq(unsigned int irq, irq_handler_t handler,
177 request_nmi(unsigned int irq, irq_handler_t handler, unsigned long flags,
181 request_percpu_irq(unsigned int irq, irq_handler_t handler, in request_percpu_irq() argument
184 return __request_percpu_irq(irq, handler, 0, in request_percpu_irq()
189 request_percpu_nmi(unsigned int irq, irq_handler_t handler,
[all …]
Dpm_wakeirq.h19 extern int dev_pm_set_wake_irq(struct device *dev, int irq);
20 extern int dev_pm_set_dedicated_wake_irq(struct device *dev, int irq);
21 extern int dev_pm_set_dedicated_wake_irq_reverse(struct device *dev, 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
38 static inline int dev_pm_set_dedicated_wake_irq_reverse(struct device *dev, int irq) in dev_pm_set_dedicated_wake_irq_reverse() argument
Dirq.h179 unsigned int irq; member
606 extern int setup_percpu_irq(unsigned int irq, struct irqaction *new);
607 extern void remove_percpu_irq(unsigned int irq, struct irqaction *act);
613 extern int irq_set_vcpu_affinity(unsigned int irq, void *vcpu_info);
640 int irq_set_parent(int irq, int parent_irq);
642 static inline int irq_set_parent(int irq, int parent_irq) in irq_set_parent() argument
662 extern void handle_nested_irq(unsigned int irq);
706 extern int can_request_irq(unsigned int irq, unsigned long irqflags);
713 irq_set_chip_and_handler_name(unsigned int irq, struct irq_chip *chip,
716 static inline void irq_set_chip_and_handler(unsigned int irq, struct irq_chip *chip, in irq_set_chip_and_handler() argument
[all …]
Dwakeup_reason.h24 void log_irq_wakeup_reason(int irq);
25 void log_threaded_irq_wakeup_reason(int irq, int parent_irq);
30 static inline void log_irq_wakeup_reason(int irq) { } in log_irq_wakeup_reason() argument
31 static inline void log_threaded_irq_wakeup_reason(int irq, int parent_irq) { } in log_threaded_irq_wakeup_reason() argument
Dkernel_stat.h54 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);
Dphy_fixed.h18 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
Dirqdesc.h123 return desc->irq_data.irq; in irq_desc_get_irq()
155 int generic_handle_irq(unsigned int irq);
185 static inline int irq_has_action(unsigned int irq) in irq_has_action() argument
187 return irq_desc_has_action(irq_to_desc(irq)); in irq_has_action()
231 static inline bool irq_balancing_disabled(unsigned int irq) in irq_balancing_disabled() argument
235 desc = irq_to_desc(irq); in irq_balancing_disabled()
239 static inline bool irq_is_percpu(unsigned int irq) in irq_is_percpu() argument
243 desc = irq_to_desc(irq); in irq_is_percpu()
247 static inline bool irq_is_percpu_devid(unsigned int irq) in irq_is_percpu_devid() argument
251 desc = irq_to_desc(irq); in irq_is_percpu_devid()
[all …]
Dvlynq.h57 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()
Dcs5535.h50 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()
Dsh_intc.h18 #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
140 int intc_set_priority(unsigned int irq, unsigned int prio);
Dacpi_iort.h14 #define IORT_IRQ_MASK(irq) (irq & 0xffffffffULL) argument
15 #define IORT_IRQ_TRIGGER_MASK(irq) ((irq >> 32) & 0xffffffffULL) argument
/include/linux/irqchip/
Dirq-madera.h94 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 …]
Darm-gic-v4.h38 int irq; member
137 int its_map_vlpi(int irq, struct its_vlpi_map *map);
138 int its_get_vlpi(int irq, struct its_vlpi_map *map);
139 int its_unmap_vlpi(int irq);
140 int its_prop_update_vlpi(int irq, u8 config, bool inv);
141 int its_prop_update_vsgi(int irq, u8 priority, bool group);
/include/xen/
Devents.h52 void unbind_from_irqhandler(unsigned int irq, void *dev_id);
58 void xen_irq_lateeoi(unsigned int irq, unsigned int eoi_flags);
65 int xen_set_irq_priority(unsigned irq, unsigned priority);
75 void rebind_evtchn_irq(evtchn_port_t evtchn, int irq);
84 void notify_remote_via_irq(int irq);
89 void xen_clear_irq_pending(int irq);
90 void xen_set_irq_pending(int irq);
91 bool xen_test_irq_pending(int irq);
95 void xen_poll_irq(int irq);
99 void xen_poll_irq_timeout(int irq, u64 timeout);
[all …]
/include/linux/iio/
Dtrigger_consumer.h32 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);
Dtriggered_buffer.h11 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),
Dtriggered_event.h8 irqreturn_t (*h)(int irq, void *p),
9 irqreturn_t (*thread)(int irq, void *p));
/include/trace/events/
Dirq.h3 #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 …]
Dtegra_apb_dma.h45 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/asm-generic/
Dirq.h14 static inline int irq_canonicalize(int irq) in irq_canonicalize() argument
16 return irq; in irq_canonicalize()
Dhardirq.h16 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/
Dcore.h68 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/
Dcore.h53 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/
Dmpu401.h64 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,

123456789