Lines Matching full:mapbase
217 void __iomem *mapbase = sachip->base + SA1111_INTC; in sa1111_irq_handler() local
219 stat0 = readl_relaxed(mapbase + SA1111_INTSTATCLR0); in sa1111_irq_handler()
220 stat1 = readl_relaxed(mapbase + SA1111_INTSTATCLR1); in sa1111_irq_handler()
222 writel_relaxed(stat0, mapbase + SA1111_INTSTATCLR0); in sa1111_irq_handler()
226 writel_relaxed(stat1, mapbase + SA1111_INTSTATCLR1); in sa1111_irq_handler()
264 void __iomem *mapbase = sachip->base + SA1111_INTC + sa1111_irqbank(d); in sa1111_mask_irq() local
267 ie = readl_relaxed(mapbase + SA1111_INTEN0); in sa1111_mask_irq()
269 writel(ie, mapbase + SA1111_INTEN0); in sa1111_mask_irq()
275 void __iomem *mapbase = sachip->base + SA1111_INTC + sa1111_irqbank(d); in sa1111_unmask_irq() local
278 ie = readl_relaxed(mapbase + SA1111_INTEN0); in sa1111_unmask_irq()
280 writel_relaxed(ie, mapbase + SA1111_INTEN0); in sa1111_unmask_irq()
293 void __iomem *mapbase = sachip->base + SA1111_INTC + sa1111_irqbank(d); in sa1111_retrigger_irq() local
297 ip = readl_relaxed(mapbase + SA1111_INTPOL0); in sa1111_retrigger_irq()
299 writel_relaxed(ip ^ mask, mapbase + SA1111_INTPOL0); in sa1111_retrigger_irq()
300 writel_relaxed(ip, mapbase + SA1111_INTPOL0); in sa1111_retrigger_irq()
301 if (readl_relaxed(mapbase + SA1111_INTSTATCLR0) & mask) in sa1111_retrigger_irq()
317 void __iomem *mapbase = sachip->base + SA1111_INTC + sa1111_irqbank(d); in sa1111_type_irq() local
326 ip = readl_relaxed(mapbase + SA1111_INTPOL0); in sa1111_type_irq()
331 writel_relaxed(ip, mapbase + SA1111_INTPOL0); in sa1111_type_irq()
332 writel_relaxed(ip, mapbase + SA1111_WAKEPOL0); in sa1111_type_irq()
340 void __iomem *mapbase = sachip->base + SA1111_INTC + sa1111_irqbank(d); in sa1111_wake_irq() local
343 we = readl_relaxed(mapbase + SA1111_WAKEEN0); in sa1111_wake_irq()
348 writel_relaxed(we, mapbase + SA1111_WAKEEN0); in sa1111_wake_irq()
757 dev->mapbase = sachip->base + info->offset; in sa1111_init_one_child()