Lines Matching refs:vic
2 * linux/arch/arm/common/vic.c
30 #include <asm/hardware/vic.h>
91 struct vic_device *vic = to_vic(dev);
92 void __iomem *base = vic->base;
94 printk(KERN_DEBUG "%s: resuming vic at %p\n", __func__, base);
99 writel(vic->int_select, base + VIC_INT_SELECT);
100 writel(vic->protect, base + VIC_PROTECT);
103 writel(vic->int_enable, base + VIC_INT_ENABLE);
104 writel(~vic->int_enable, base + VIC_INT_ENABLE_CLEAR);
108 writel(vic->soft_int, base + VIC_INT_SOFT);
109 writel(~vic->soft_int, base + VIC_INT_SOFT_CLEAR);
116 struct vic_device *vic = to_vic(dev);
117 void __iomem *base = vic->base;
119 printk(KERN_DEBUG "%s: suspending vic at %p\n", __func__, base);
121 vic->int_select = readl(base + VIC_INT_SELECT);
122 vic->int_enable = readl(base + VIC_INT_ENABLE);
123 vic->soft_int = readl(base + VIC_INT_SOFT);
124 vic->protect = readl(base + VIC_PROTECT);
129 writel(vic->resume_irqs, base + VIC_INT_ENABLE);
130 writel(~vic->resume_irqs, base + VIC_INT_ENABLE_CLEAR);
136 .name = "vic",