This source file includes following definitions.
- init_7751se_IRQ
1
2
3
4
5
6
7
8
9
10
11
12
13 #include <linux/init.h>
14 #include <linux/irq.h>
15 #include <asm/irq.h>
16 #include <mach-se/mach/se7751.h>
17
18 static struct ipr_data ipr_irq_table[] = {
19 { 13, 3, 3, 2 },
20
21 };
22
23 static unsigned long ipr_offsets[] = {
24 BCR_ILCRA,
25 BCR_ILCRB,
26 BCR_ILCRC,
27 BCR_ILCRD,
28 BCR_ILCRE,
29 BCR_ILCRF,
30 BCR_ILCRG,
31 };
32
33 static struct ipr_desc ipr_irq_desc = {
34 .ipr_offsets = ipr_offsets,
35 .nr_offsets = ARRAY_SIZE(ipr_offsets),
36
37 .ipr_data = ipr_irq_table,
38 .nr_irqs = ARRAY_SIZE(ipr_irq_table),
39
40 .chip = {
41 .name = "IPR-se7751",
42 },
43 };
44
45
46
47
48 void __init init_7751se_IRQ(void)
49 {
50 register_ipr_controller(&ipr_irq_desc);
51 }