Lines Matching refs:mapbase
209 void __iomem *mapbase = sachip->base + SA1111_INTC; in sa1111_irq_handler() local
211 stat0 = readl_relaxed(mapbase + SA1111_INTSTATCLR0); in sa1111_irq_handler()
212 stat1 = readl_relaxed(mapbase + SA1111_INTSTATCLR1); in sa1111_irq_handler()
214 writel_relaxed(stat0, mapbase + SA1111_INTSTATCLR0); in sa1111_irq_handler()
218 writel_relaxed(stat1, mapbase + SA1111_INTSTATCLR1); in sa1111_irq_handler()
256 void __iomem *mapbase = sachip->base + SA1111_INTC + sa1111_irqbank(d); in sa1111_mask_irq() local
259 ie = readl_relaxed(mapbase + SA1111_INTEN0); in sa1111_mask_irq()
261 writel(ie, mapbase + SA1111_INTEN0); in sa1111_mask_irq()
267 void __iomem *mapbase = sachip->base + SA1111_INTC + sa1111_irqbank(d); in sa1111_unmask_irq() local
270 ie = readl_relaxed(mapbase + SA1111_INTEN0); in sa1111_unmask_irq()
272 writel_relaxed(ie, mapbase + SA1111_INTEN0); in sa1111_unmask_irq()
285 void __iomem *mapbase = sachip->base + SA1111_INTC + sa1111_irqbank(d); in sa1111_retrigger_irq() local
289 ip = readl_relaxed(mapbase + SA1111_INTPOL0); in sa1111_retrigger_irq()
291 writel_relaxed(ip ^ mask, mapbase + SA1111_INTPOL0); in sa1111_retrigger_irq()
292 writel_relaxed(ip, mapbase + SA1111_INTPOL0); in sa1111_retrigger_irq()
293 if (readl_relaxed(mapbase + SA1111_INTSTATCLR0) & mask) in sa1111_retrigger_irq()
309 void __iomem *mapbase = sachip->base + SA1111_INTC + sa1111_irqbank(d); in sa1111_type_irq() local
318 ip = readl_relaxed(mapbase + SA1111_INTPOL0); in sa1111_type_irq()
323 writel_relaxed(ip, mapbase + SA1111_INTPOL0); in sa1111_type_irq()
324 writel_relaxed(ip, mapbase + SA1111_WAKEPOL0); in sa1111_type_irq()
332 void __iomem *mapbase = sachip->base + SA1111_INTC + sa1111_irqbank(d); in sa1111_wake_irq() local
335 we = readl_relaxed(mapbase + SA1111_WAKEEN0); in sa1111_wake_irq()
340 writel_relaxed(we, mapbase + SA1111_WAKEEN0); in sa1111_wake_irq()
749 dev->mapbase = sachip->base + info->offset; in sa1111_init_one_child()