Lines Matching full:irq
36 * irq handling routines.
39 * IRQF_SAMPLE_RANDOM - irq is used to feed the random generator
40 * IRQF_SHARED - allow sharing the irq among several devices
74 int irq;
103 extern void disable_irq_nosync(unsigned int irq);
104 extern void disable_irq(unsigned int irq);
105 extern void enable_irq(unsigned int irq);
108 * Special lockdep variants of irq disabling/enabling.
110 * know that a particular irq context which is disabled,
111 * and which is the only irq-context user of a lock,
112 * that it's safe to take the lock in the irq-disabled
116 * irq disable/enable methods.
118 static inline void disable_irq_nosync_lockdep(unsigned int irq)
120 disable_irq_nosync(irq);
126 static inline void disable_irq_lockdep(unsigned int irq)
128 disable_irq(irq);
134 static inline void enable_irq_lockdep(unsigned int irq)
139 enable_irq(irq);
142 /* IRQ wakeup (PM) control: */
143 extern int set_irq_wake(unsigned int irq, unsigned int on);
145 static inline int enable_irq_wake(unsigned int irq)
147 return set_irq_wake(irq, 1);
150 static inline int disable_irq_wake(unsigned int irq)
152 return set_irq_wake(irq, 0);
158 * validator need to define the methods below in their asm/irq.h
162 # define disable_irq_nosync_lockdep(irq) disable_irq_nosync(irq)
163 # define disable_irq_lockdep(irq) disable_irq(irq)
164 # define enable_irq_lockdep(irq) enable_irq(irq)
358 * for accurate IRQ probing during kernel initialization. They are
360 * and, unlike other attempts at IRQ probing, they do not get hung on
370 * 6. irq = probe_irq_off(irqs); // get IRQ number, 0=none, negative=multiple
374 * probe_irq_on() returns a mask of allocated irq's.
377 * and returns the irq number which occurred,
378 * or zero if none occurred, or a negative irq number
379 * if more than one irq occurred.