Lines Matching refs:scr
59 void __iomem *scr; member
85 dev_ctl = tmio_ioread8(t7l66xb->scr + SCR_DEV_CTL); in t7l66xb_mmc_enable()
87 tmio_iowrite8(dev_ctl, t7l66xb->scr + SCR_DEV_CTL); in t7l66xb_mmc_enable()
91 tmio_core_mmc_enable(t7l66xb->scr + 0x200, 0, in t7l66xb_mmc_enable()
105 dev_ctl = tmio_ioread8(t7l66xb->scr + SCR_DEV_CTL); in t7l66xb_mmc_disable()
107 tmio_iowrite8(dev_ctl, t7l66xb->scr + SCR_DEV_CTL); in t7l66xb_mmc_disable()
120 tmio_core_mmc_pwr(t7l66xb->scr + 0x200, 0, state); in t7l66xb_mmc_pwr()
127 tmio_core_mmc_clk_div(t7l66xb->scr + 0x200, 0, state); in t7l66xb_mmc_clk_div()
184 while ((isr = tmio_ioread8(t7l66xb->scr + SCR_ISR) & in t7l66xb_irq()
185 ~tmio_ioread8(t7l66xb->scr + SCR_IMR))) in t7l66xb_irq()
198 imr = tmio_ioread8(t7l66xb->scr + SCR_IMR); in t7l66xb_irq_mask()
200 tmio_iowrite8(imr, t7l66xb->scr + SCR_IMR); in t7l66xb_irq_mask()
211 imr = tmio_ioread8(t7l66xb->scr + SCR_IMR); in t7l66xb_irq_unmask()
213 tmio_iowrite8(imr, t7l66xb->scr + SCR_IMR); in t7l66xb_irq_unmask()
286 tmio_core_mmc_enable(t7l66xb->scr + 0x200, 0, in t7l66xb_resume()
350 t7l66xb->scr = ioremap(rscr->start, resource_size(rscr)); in t7l66xb_probe()
351 if (!t7l66xb->scr) { in t7l66xb_probe()
364 tmio_iowrite8(0xbf, t7l66xb->scr + SCR_IMR); in t7l66xb_probe()
367 dev->name, tmio_ioread8(t7l66xb->scr + SCR_REVID), in t7l66xb_probe()
385 iounmap(t7l66xb->scr); in t7l66xb_probe()
410 iounmap(t7l66xb->scr); in t7l66xb_remove()