Lines Matching full:irq
3 * arch/sh/boards/dreamcast/irq.c
5 * Holly IRQ support for the Sega Dreamcast.
11 #include <linux/irq.h>
21 * hardware events from system peripherals and triggering an SH7750 IRQ.
31 * corresponds to an IRQ, so 0xa05f6910 - 0xa05f6918 triggers IRQ 13,
32 * 0xa05f6920 - 0xa05f6928 triggers IRQ 11, and 0xa05f6930 - 0xa05f6938
33 * triggers IRQ 9.
39 * 6900/6910 - Events 0-31, IRQ 13
40 * 6904/6924 - Events 32-63, IRQ 11
41 * 6908/6938 - Events 64-95, IRQ 9
58 * For each of these *_irq routines, the IRQ passed in is the virtual IRQ
65 unsigned int irq = data->irq; in disable_systemasic_irq() local
66 __u32 emr = EMR_BASE + (LEVEL(irq) << 4) + (LEVEL(irq) << 2); in disable_systemasic_irq()
70 mask &= ~(1 << EVENT_BIT(irq)); in disable_systemasic_irq()
77 unsigned int irq = data->irq; in enable_systemasic_irq() local
78 __u32 emr = EMR_BASE + (LEVEL(irq) << 4) + (LEVEL(irq) << 2); in enable_systemasic_irq()
82 mask |= (1 << EVENT_BIT(irq)); in enable_systemasic_irq()
89 unsigned int irq = data->irq; in mask_ack_systemasic_irq() local
90 __u32 esr = ESR_BASE + (LEVEL(irq) << 2); in mask_ack_systemasic_irq()
92 outl((1 << EVENT_BIT(irq)), esr); in mask_ack_systemasic_irq()
103 * Map the hardware event indicated by the processor IRQ to a virtual IRQ.
105 int systemasic_irq_demux(int irq) in systemasic_irq_demux() argument
110 switch (irq) { in systemasic_irq_demux()
121 return irq; in systemasic_irq_demux()
133 irq = HW_EVENT_IRQ_BASE + j + (level << 5); in systemasic_irq_demux()
134 return irq; in systemasic_irq_demux()
139 return irq; in systemasic_irq_demux()