Home
last modified time | relevance | path

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

123456

/include/linux/
Dirqnr.h16 #define irq_to_desc(irq) (&irq_desc[irq]) argument
18 # define for_each_irq_desc(irq, desc) \ argument
19 for (irq = 0; irq < nr_irqs; irq++)
21 # define for_each_irq_desc_reverse(irq, desc) \ argument
22 for (irq = nr_irqs - 1; irq >= 0; irq--)
27 extern struct irq_desc *irq_to_desc(unsigned int irq);
30 # define for_each_irq_desc(irq, desc) \ argument
31 for (irq = 0, desc = irq_to_desc(irq); irq < nr_irqs; \
32 irq++, desc = irq_to_desc(irq)) \
38 # define for_each_irq_desc_reverse(irq, desc) \ argument
[all …]
Dirq.h35 typedef void (*irq_flow_handler_t)(unsigned int irq,
144 unsigned int irq; member
341 void (*release)(unsigned int irq, void *dev_id);
382 extern int setup_irq(unsigned int irq, struct irqaction *new);
383 extern void remove_irq(unsigned int irq, struct irqaction *act);
384 extern int setup_percpu_irq(unsigned int irq, struct irqaction *new);
385 extern void remove_percpu_irq(unsigned int irq, struct irqaction *act);
407 extern void handle_level_irq(unsigned int irq, struct irq_desc *desc);
408 extern void handle_fasteoi_irq(unsigned int irq, struct irq_desc *desc);
409 extern void handle_edge_irq(unsigned int irq, struct irq_desc *desc);
[all …]
Dinterrupt.h114 int irq; member
127 request_threaded_irq(unsigned int irq, irq_handler_t handler,
132 request_irq(unsigned int irq, irq_handler_t handler, unsigned long flags, in request_irq() argument
135 return request_threaded_irq(irq, handler, NULL, flags, name, dev); in request_irq()
139 request_any_context_irq(unsigned int irq, irq_handler_t handler,
143 request_percpu_irq(unsigned int irq, irq_handler_t handler,
150 request_irq(unsigned int irq, irq_handler_t handler, unsigned long flags,
160 request_threaded_irq(unsigned int irq, irq_handler_t handler, in request_threaded_irq() argument
164 return request_irq(irq, handler, flags, name, dev); in request_threaded_irq()
168 request_any_context_irq(unsigned int irq, irq_handler_t handler, in request_any_context_irq() argument
[all …]
Dirqdesc.h111 static inline void generic_handle_irq_desc(unsigned int irq, struct irq_desc *desc) in generic_handle_irq_desc() argument
113 desc->handle_irq(irq, desc); in generic_handle_irq_desc()
116 int generic_handle_irq(unsigned int irq);
119 static inline int irq_has_action(unsigned int irq) in irq_has_action() argument
121 struct irq_desc *desc = irq_to_desc(irq); in irq_has_action()
126 static inline void __irq_set_handler_locked(unsigned int irq, in __irq_set_handler_locked() argument
131 desc = irq_to_desc(irq); in __irq_set_handler_locked()
137 __irq_set_chip_handler_name_locked(unsigned int irq, struct irq_chip *chip, in __irq_set_chip_handler_name_locked() argument
142 desc = irq_to_desc(irq); in __irq_set_chip_handler_name_locked()
148 static inline int irq_balancing_disabled(unsigned int irq) in irq_balancing_disabled() argument
[all …]
Dkernel_stat.h60 static inline void kstat_incr_irqs_this_cpu(unsigned int irq, in kstat_incr_irqs_this_cpu() argument
63 __this_cpu_inc(kstat.irqs[irq]); in kstat_incr_irqs_this_cpu()
67 static inline unsigned int kstat_irqs_cpu(unsigned int irq, int cpu) in kstat_irqs_cpu() argument
69 return kstat_cpu(cpu).irqs[irq]; in kstat_irqs_cpu()
73 extern unsigned int kstat_irqs_cpu(unsigned int irq, int cpu);
83 static inline void kstat_incr_softirqs_this_cpu(unsigned int irq) in kstat_incr_softirqs_this_cpu() argument
85 __this_cpu_inc(kstat.softirqs[irq]); in kstat_incr_softirqs_this_cpu()
88 static inline unsigned int kstat_softirqs_cpu(unsigned int irq, int cpu) in kstat_softirqs_cpu() argument
90 return kstat_cpu(cpu).softirqs[irq]; in kstat_softirqs_cpu()
97 static inline unsigned int kstat_irqs(unsigned int irq) in kstat_irqs() argument
[all …]
Db1pcmcia.h16 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);
Ddmar.h124 extern int get_irte(int irq, struct irte *entry);
125 extern int modify_irte(int irq, struct irte *irte_modified);
126 extern int alloc_irte(struct intel_iommu *iommu, int irq, u16 count);
127 extern int set_irte_irq(int irq, struct intel_iommu *iommu, u16 index,
129 extern int map_irq_to_irte_handle(int irq, u16 *sub_handle);
130 extern int free_irte(int irq);
139 static inline int alloc_irte(struct intel_iommu *iommu, int irq, u16 count) in alloc_irte() argument
143 static inline int modify_irte(int irq, struct irte *irte_modified) in modify_irte() argument
147 static inline int free_irte(int irq) in free_irte() argument
151 static inline int map_irq_to_irte_handle(int irq, u16 *sub_handle) in map_irq_to_irte_handle() argument
[all …]
Dhtirq.h10 void fetch_ht_irq_msg(unsigned int irq, struct ht_irq_msg *msg);
11 void write_ht_irq_msg(unsigned int irq, struct ht_irq_msg *msg);
17 int arch_setup_ht_irq(unsigned int irq, struct pci_dev *dev);
20 typedef void (ht_irq_update_t)(struct pci_dev *dev, int irq,
Dvlynq.h70 int irq; member
137 int irq = dev->irq_start + virq; in vlynq_virq_to_irq() local
138 if ((irq < dev->irq_start) || (irq > dev->irq_end)) in vlynq_virq_to_irq()
141 return irq; in vlynq_virq_to_irq()
144 static inline int vlynq_irq_to_virq(struct vlynq_device *dev, int irq) in vlynq_irq_to_virq() argument
146 if ((irq < dev->irq_start) || (irq > dev->irq_end)) in vlynq_irq_to_virq()
149 return irq - dev->irq_start; in vlynq_irq_to_virq()
Dmsi.h21 extern void read_msi_msg(unsigned int irq, struct msi_msg *msg);
22 extern void get_cached_msi_msg(unsigned int irq, struct msi_msg *msg);
23 extern void write_msi_msg(unsigned int irq, struct msi_msg *msg);
37 unsigned int irq; member
56 void arch_teardown_msi_irq(unsigned int irq);
Dcs5535.h53 unsigned int irq) in cs5535_pic_unreqz_select_high() argument
59 lo |= (irq & 0xF) << (group * 4); in cs5535_pic_unreqz_select_high()
178 int cs5535_gpio_set_irq(unsigned group, unsigned irq);
221 int *irq, int enable);
227 int cmp, int *irq) in cs5535_mfgpt_setup_irq() argument
229 return cs5535_mfgpt_set_irq(timer, cmp, irq, 1); in cs5535_mfgpt_setup_irq()
233 int cmp, int *irq) in cs5535_mfgpt_release_irq() argument
235 return cs5535_mfgpt_set_irq(timer, cmp, irq, 0); in cs5535_mfgpt_release_irq()
Dserial_sci.h95 #define SCIx_IRQ_MUXED(irq) \ argument
97 [SCIx_ERI_IRQ] = (irq), \
98 [SCIx_RXI_IRQ] = (irq), \
99 [SCIx_TXI_IRQ] = (irq), \
100 [SCIx_BRI_IRQ] = (irq), \
Dsh_intc.h17 #define irq2evt(irq) (((irq) + 16) << 5) argument
20 #define irq2evt(irq) (irq) argument
31 #define INTC_IRQ(enum_id, irq) INTC_VECT(enum_id, irq2evt(irq)) argument
137 int intc_set_priority(unsigned int irq, unsigned int prio);
Dphy_fixed.h13 extern int fixed_phy_add(unsigned int irq, int phy_id,
16 static inline int fixed_phy_add(unsigned int irq, int phy_id, in fixed_phy_add() argument
Db1lli.h48 int irq; member
58 int irq; member
/include/trace/events/
Dirq.h2 #define TRACE_SYSTEM irq
39 TP_PROTO(int irq, struct irqaction *action),
41 TP_ARGS(irq, action),
44 __field( int, irq )
49 __entry->irq = irq;
53 TP_printk("irq=%d name=%s", __entry->irq, __get_str(name))
69 TP_PROTO(int irq, struct irqaction *action, int ret),
71 TP_ARGS(irq, action, ret),
74 __field( int, irq )
79 __entry->irq = irq;
[all …]
/include/xen/
Devents.h38 void unbind_from_irqhandler(unsigned int irq, void *dev_id);
48 int resend_irq_on_evtchn(unsigned int irq);
49 void rebind_evtchn_irq(int evtchn, int irq);
57 void notify_remote_via_irq(int irq);
62 void xen_clear_irq_pending(int irq);
63 void xen_set_irq_pending(int irq);
64 bool xen_test_irq_pending(int irq);
68 void xen_poll_irq(int irq);
72 void xen_poll_irq_timeout(int irq, u64 timeout);
98 int xen_destroy_irq(int irq);
[all …]
/include/asm-generic/
Dirq.h13 static inline int irq_canonicalize(int irq) in irq_canonicalize() argument
15 return irq; in irq_canonicalize()
Dhardirq.h15 static inline void ack_bad_irq(unsigned int irq) in ack_bad_irq() argument
17 printk(KERN_CRIT "unexpected IRQ trap at vector %02x\n", irq); in ack_bad_irq()
/include/linux/mfd/wm8994/
Dcore.h69 int irq; member
93 static inline int wm8994_request_irq(struct wm8994 *wm8994, int irq, in wm8994_request_irq() argument
99 return request_threaded_irq(wm8994->irq_base + irq, NULL, handler, in wm8994_request_irq()
103 static inline void wm8994_free_irq(struct wm8994 *wm8994, int irq, void *data) in wm8994_free_irq() argument
107 free_irq(wm8994->irq_base + irq, data); in wm8994_free_irq()
/include/linux/mfd/
Dmc13xxx.h26 int mc13xxx_irq_request(struct mc13xxx *mc13xxx, int irq,
28 int mc13xxx_irq_request_nounmask(struct mc13xxx *mc13xxx, int irq,
30 int mc13xxx_irq_free(struct mc13xxx *mc13xxx, int irq, void *dev);
32 int mc13xxx_irq_mask(struct mc13xxx *mc13xxx, int irq);
33 int mc13xxx_irq_unmask(struct mc13xxx *mc13xxx, int irq);
34 int mc13xxx_irq_status(struct mc13xxx *mc13xxx, int irq,
36 int mc13xxx_irq_ack(struct mc13xxx *mc13xxx, int irq);
/include/linux/mfd/pcf50633/
Dcore.h57 int pcf50633_register_irq(struct pcf50633 *pcf, int irq,
59 int pcf50633_free_irq(struct pcf50633 *pcf, int irq);
61 int pcf50633_irq_mask(struct pcf50633 *pcf, int irq);
62 int pcf50633_irq_unmask(struct pcf50633 *pcf, int irq);
63 int pcf50633_irq_mask_get(struct pcf50633 *pcf, int irq);
141 int irq; member
231 int pcf50633_irq_init(struct pcf50633 *pcf, int irq);
/include/sound/
Dmpu401.h79 int irq; /* IRQ number of MPU-401 chip */ member
127 irqreturn_t snd_mpu401_uart_interrupt(int irq, void *dev_id);
128 irqreturn_t snd_mpu401_uart_interrupt_tx(int irq, void *dev_id);
135 int irq,
/include/linux/mfd/pm8xxx/
Dirq.h39 int pm8xxx_get_irq_stat(struct pm_irq_chip *chip, int irq);
44 static inline int pm8xxx_get_irq_stat(struct pm_irq_chip *chip, int irq) in pm8xxx_get_irq_stat() argument
/include/linux/mfd/wm8350/
Dcore.h663 int wm8350_device_init(struct wm8350 *wm8350, int irq,
682 static inline int wm8350_register_irq(struct wm8350 *wm8350, int irq, in wm8350_register_irq() argument
690 return request_threaded_irq(irq + wm8350->irq_base, NULL, in wm8350_register_irq()
694 static inline void wm8350_free_irq(struct wm8350 *wm8350, int irq, void *data) in wm8350_free_irq() argument
696 free_irq(irq + wm8350->irq_base, data); in wm8350_free_irq()
699 static inline void wm8350_mask_irq(struct wm8350 *wm8350, int irq) in wm8350_mask_irq() argument
701 disable_irq(irq + wm8350->irq_base); in wm8350_mask_irq()
704 static inline void wm8350_unmask_irq(struct wm8350 *wm8350, int irq) in wm8350_unmask_irq() argument
706 enable_irq(irq + wm8350->irq_base); in wm8350_unmask_irq()
709 int wm8350_irq_init(struct wm8350 *wm8350, int irq,

123456