15 #define INTSTS0 0x31800000
16 #define INTSTS1 0x31800002
17 #define INTMSK0 0x31800004
18 #define INTMSK1 0x31800006
19 #define INTSEL 0x31800008
25 #define INTC_IPR01 0xfffe0818
26 #define INTC_ICR1 0xfffe0802
30 unsigned int irq = data->
irq;
32 unsigned short mask = 0xffff ^ (0x0f << 4 * (3 - (
IRQ0_IRQ - irq)));
33 unsigned short msk0,msk1;
61 unsigned int irq = data->
irq;
63 unsigned short value = (0x0001 << 4 * (3 - (
IRQ0_IRQ - irq)));
64 unsigned short msk0,msk1;
91 static void eoi_se7206_irq(
struct irq_data *data)
93 unsigned short sts0,sts1;
94 unsigned int irq = data->
irq;
96 if (!irqd_irq_disabled(data) && !irqd_irq_inprogress(data))
97 enable_se7206_irq(data);
119 .name =
"SE7206-FPGA",
120 .irq_mask = disable_se7206_irq,
121 .irq_unmask = enable_se7206_irq,
122 .irq_eoi = eoi_se7206_irq,
125 static void make_se7206_irq(
unsigned int irq)