This source file includes following definitions.
- init_sh7763rdp_IRQ
1
2
3
4
5
6
7
8
9
10
11 #include <linux/init.h>
12 #include <linux/irq.h>
13 #include <asm/io.h>
14 #include <asm/irq.h>
15 #include <mach/sh7763rdp.h>
16
17 #define INTC_BASE (0xFFD00000)
18 #define INTC_INT2PRI7 (INTC_BASE+0x4001C)
19 #define INTC_INT2MSKCR (INTC_BASE+0x4003C)
20 #define INTC_INT2MSKCR1 (INTC_BASE+0x400D4)
21
22
23
24
25 void __init init_sh7763rdp_IRQ(void)
26 {
27
28 __raw_writel(1 << 25, INTC_INT2MSKCR);
29
30
31 __raw_writel((__raw_readl(INTC_INT2PRI7) & 0xFF00FFFF) | 0x000F0000,
32 INTC_INT2PRI7);
33
34
35 __raw_writel(1 << 17, INTC_INT2MSKCR1);
36
37
38 __raw_writel(1 << 16, INTC_INT2MSKCR1);
39
40
41 __raw_writel(1 << 8, INTC_INT2MSKCR);
42 }