12 #include <mach/hardware.h>
19 #define SIRFSOC_INT_RISC_MASK0 0x0018
20 #define SIRFSOC_INT_RISC_MASK1 0x001C
21 #define SIRFSOC_INT_RISC_LEVEL0 0x0020
22 #define SIRFSOC_INT_RISC_LEVEL1 0x0024
27 sirfsoc_alloc_gc(
void __iomem *base,
unsigned int irq_start,
unsigned int num)
29 struct irq_chip_generic *
gc;
30 struct irq_chip_type *
ct;
42 static __init void sirfsoc_irq_init(
void)
56 { .compatible =
"sirf,prima2-intc" },
70 panic(
"unable to map intc cpu registers\n");
89 static int sirfsoc_irq_suspend(
void)
99 static void sirfsoc_irq_resume(
void)
107 static struct syscore_ops sirfsoc_irq_syscore_ops = {
108 .suspend = sirfsoc_irq_suspend,
109 .resume = sirfsoc_irq_resume,
112 static int __init sirfsoc_irq_pm_init(
void)