• Home
  • Raw
  • Download

Lines Matching refs:mapbase

204 	void __iomem *mapbase = sachip->base + SA1111_INTC;  in sa1111_irq_handler()  local
206 stat0 = sa1111_readl(mapbase + SA1111_INTSTATCLR0); in sa1111_irq_handler()
207 stat1 = sa1111_readl(mapbase + SA1111_INTSTATCLR1); in sa1111_irq_handler()
209 sa1111_writel(stat0, mapbase + SA1111_INTSTATCLR0); in sa1111_irq_handler()
213 sa1111_writel(stat1, mapbase + SA1111_INTSTATCLR1); in sa1111_irq_handler()
242 void __iomem *mapbase = sachip->base + SA1111_INTC; in sa1111_mask_lowirq() local
245 ie0 = sa1111_readl(mapbase + SA1111_INTEN0); in sa1111_mask_lowirq()
247 writel(ie0, mapbase + SA1111_INTEN0); in sa1111_mask_lowirq()
253 void __iomem *mapbase = sachip->base + SA1111_INTC; in sa1111_unmask_lowirq() local
256 ie0 = sa1111_readl(mapbase + SA1111_INTEN0); in sa1111_unmask_lowirq()
258 sa1111_writel(ie0, mapbase + SA1111_INTEN0); in sa1111_unmask_lowirq()
271 void __iomem *mapbase = sachip->base + SA1111_INTC; in sa1111_retrigger_lowirq() local
276 ip0 = sa1111_readl(mapbase + SA1111_INTPOL0); in sa1111_retrigger_lowirq()
278 sa1111_writel(ip0 ^ mask, mapbase + SA1111_INTPOL0); in sa1111_retrigger_lowirq()
279 sa1111_writel(ip0, mapbase + SA1111_INTPOL0); in sa1111_retrigger_lowirq()
280 if (sa1111_readl(mapbase + SA1111_INTSTATCLR0) & mask) in sa1111_retrigger_lowirq()
293 void __iomem *mapbase = sachip->base + SA1111_INTC; in sa1111_type_lowirq() local
303 ip0 = sa1111_readl(mapbase + SA1111_INTPOL0); in sa1111_type_lowirq()
308 sa1111_writel(ip0, mapbase + SA1111_INTPOL0); in sa1111_type_lowirq()
309 sa1111_writel(ip0, mapbase + SA1111_WAKEPOL0); in sa1111_type_lowirq()
317 void __iomem *mapbase = sachip->base + SA1111_INTC; in sa1111_wake_lowirq() local
321 we0 = sa1111_readl(mapbase + SA1111_WAKEEN0); in sa1111_wake_lowirq()
326 sa1111_writel(we0, mapbase + SA1111_WAKEEN0); in sa1111_wake_lowirq()
344 void __iomem *mapbase = sachip->base + SA1111_INTC; in sa1111_mask_highirq() local
347 ie1 = sa1111_readl(mapbase + SA1111_INTEN1); in sa1111_mask_highirq()
349 sa1111_writel(ie1, mapbase + SA1111_INTEN1); in sa1111_mask_highirq()
355 void __iomem *mapbase = sachip->base + SA1111_INTC; in sa1111_unmask_highirq() local
358 ie1 = sa1111_readl(mapbase + SA1111_INTEN1); in sa1111_unmask_highirq()
360 sa1111_writel(ie1, mapbase + SA1111_INTEN1); in sa1111_unmask_highirq()
373 void __iomem *mapbase = sachip->base + SA1111_INTC; in sa1111_retrigger_highirq() local
378 ip1 = sa1111_readl(mapbase + SA1111_INTPOL1); in sa1111_retrigger_highirq()
380 sa1111_writel(ip1 ^ mask, mapbase + SA1111_INTPOL1); in sa1111_retrigger_highirq()
381 sa1111_writel(ip1, mapbase + SA1111_INTPOL1); in sa1111_retrigger_highirq()
382 if (sa1111_readl(mapbase + SA1111_INTSTATCLR1) & mask) in sa1111_retrigger_highirq()
395 void __iomem *mapbase = sachip->base + SA1111_INTC; in sa1111_type_highirq() local
405 ip1 = sa1111_readl(mapbase + SA1111_INTPOL1); in sa1111_type_highirq()
410 sa1111_writel(ip1, mapbase + SA1111_INTPOL1); in sa1111_type_highirq()
411 sa1111_writel(ip1, mapbase + SA1111_WAKEPOL1); in sa1111_type_highirq()
419 void __iomem *mapbase = sachip->base + SA1111_INTC; in sa1111_wake_highirq() local
423 we1 = sa1111_readl(mapbase + SA1111_WAKEEN1); in sa1111_wake_highirq()
428 sa1111_writel(we1, mapbase + SA1111_WAKEEN1); in sa1111_wake_highirq()
640 dev->mapbase = sachip->base + info->offset; in sa1111_init_one_child()