Lines Matching refs:irq
18 #include <irq.h>
21 static inline int irq_canonicalize(int irq)
23 return ((irq == I8259A_IRQ_BASE + 2) ? I8259A_IRQ_BASE + 9 : irq);
26 #define irq_canonicalize(irq) (irq) /* Sane hardware, sane code ... */
34 extern int setup_irq_smtc(unsigned int irq, struct irqaction * new,
37 static inline void smtc_im_ack_irq(unsigned int irq)
39 if (irq_hwmask[irq] & ST0_IM)
40 set_c0_status(irq_hwmask[irq] & ST0_IM);
45 static inline void smtc_im_ack_irq(unsigned int irq)
69 static inline int handle_on_other_cpu(unsigned int irq)
71 struct irq_data *d = irq_get_irq_data(irq);
81 static inline int handle_on_other_cpu(unsigned int irq) { return 0; }
87 static inline void smtc_im_backstop(unsigned int irq)
89 if (irq_hwmask[irq] & 0x0000ff00)
91 ~(irq_hwmask[irq] & 0x0000ff00));
100 static inline int smtc_handle_on_other_cpu(unsigned int irq)
102 int ret = handle_on_other_cpu(irq);
105 smtc_im_backstop(irq);
111 static inline void smtc_im_backstop(unsigned int irq) { }
112 static inline int smtc_handle_on_other_cpu(unsigned int irq)
114 return handle_on_other_cpu(irq);
119 extern void do_IRQ(unsigned int irq);
123 extern void do_IRQ_no_affinity(unsigned int irq);
132 extern void free_irqno(unsigned int irq);