Lines Matching refs:regs
88 void __iomem *regs = i2s->regs; in s3c2412_snd_txctrl() local
93 fic = readl(regs + S3C2412_IISFIC); in s3c2412_snd_txctrl()
94 con = readl(regs + S3C2412_IISCON); in s3c2412_snd_txctrl()
95 mod = readl(regs + S3C2412_IISMOD); in s3c2412_snd_txctrl()
121 writel(con, regs + S3C2412_IISCON); in s3c2412_snd_txctrl()
122 writel(mod, regs + S3C2412_IISMOD); in s3c2412_snd_txctrl()
150 writel(mod, regs + S3C2412_IISMOD); in s3c2412_snd_txctrl()
151 writel(con, regs + S3C2412_IISCON); in s3c2412_snd_txctrl()
154 fic = readl(regs + S3C2412_IISFIC); in s3c2412_snd_txctrl()
161 void __iomem *regs = i2s->regs; in s3c2412_snd_rxctrl() local
166 fic = readl(regs + S3C2412_IISFIC); in s3c2412_snd_rxctrl()
167 con = readl(regs + S3C2412_IISCON); in s3c2412_snd_rxctrl()
168 mod = readl(regs + S3C2412_IISMOD); in s3c2412_snd_rxctrl()
193 writel(mod, regs + S3C2412_IISMOD); in s3c2412_snd_rxctrl()
194 writel(con, regs + S3C2412_IISCON); in s3c2412_snd_rxctrl()
218 writel(con, regs + S3C2412_IISCON); in s3c2412_snd_rxctrl()
219 writel(mod, regs + S3C2412_IISMOD); in s3c2412_snd_rxctrl()
222 fic = readl(regs + S3C2412_IISFIC); in s3c2412_snd_rxctrl()
240 iiscon = readl(i2s->regs + S3C2412_IISCON); in s3c2412_snd_lrsync()
266 iismod = readl(i2s->regs + S3C2412_IISMOD); in s3c2412_i2s_set_fmt()
303 writel(iismod, i2s->regs + S3C2412_IISMOD); in s3c2412_i2s_set_fmt()
326 iismod = readl(i2s->regs + S3C2412_IISMOD); in s3c_i2sv2_hw_params()
342 writel(iismod, i2s->regs + S3C2412_IISMOD); in s3c_i2sv2_hw_params()
352 u32 iismod = readl(i2s->regs + S3C2412_IISMOD); in s3c_i2sv2_set_sysclk()
387 writel(iismod, i2s->regs + S3C2412_IISMOD); in s3c_i2sv2_set_sysclk()
411 i2s->regs + S3C2412_IISFIC); in s3c2412_i2s_trigger()
414 writel(0x0, i2s->regs + S3C2412_IISFIC); in s3c2412_i2s_trigger()
497 reg = readl(i2s->regs + S3C2412_IISMOD); in s3c2412_i2s_set_clkdiv()
499 writel(reg | div, i2s->regs + S3C2412_IISMOD); in s3c2412_i2s_set_clkdiv()
501 pr_debug("%s: MOD=%08x\n", __func__, readl(i2s->regs + S3C2412_IISMOD)); in s3c2412_i2s_set_clkdiv()
526 reg = readl(i2s->regs + S3C2412_IISMOD); in s3c2412_i2s_set_clkdiv()
528 writel(reg | div, i2s->regs + S3C2412_IISMOD); in s3c2412_i2s_set_clkdiv()
529 pr_debug("%s: MOD=%08x\n", __func__, readl(i2s->regs + S3C2412_IISMOD)); in s3c2412_i2s_set_clkdiv()
535 i2s->regs + S3C2412_IISPSR); in s3c2412_i2s_set_clkdiv()
537 writel(0x0, i2s->regs + S3C2412_IISPSR); in s3c2412_i2s_set_clkdiv()
539 pr_debug("%s: PSR=%08x\n", __func__, readl(i2s->regs + S3C2412_IISPSR)); in s3c2412_i2s_set_clkdiv()
553 u32 reg = readl(i2s->regs + S3C2412_IISFIC); in s3c2412_i2s_delay()
567 u32 iismod = readl(i2s->regs + S3C2412_IISMOD); in s3c_i2sv2_get_clock()
653 i2s->regs = ioremap(base, 0x100); in s3c_i2sv2_probe()
654 if (i2s->regs == NULL) { in s3c_i2sv2_probe()
662 iounmap(i2s->regs); in s3c_i2sv2_probe()
670 iismod = readl(i2s->regs + S3C2412_IISMOD); in s3c_i2sv2_probe()
672 writel(iismod, i2s->regs + S3C2412_IISMOD); in s3c_i2sv2_probe()
687 i2s->suspend_iismod = readl(i2s->regs + S3C2412_IISMOD); in s3c2412_i2s_suspend()
688 i2s->suspend_iiscon = readl(i2s->regs + S3C2412_IISCON); in s3c2412_i2s_suspend()
689 i2s->suspend_iispsr = readl(i2s->regs + S3C2412_IISPSR); in s3c2412_i2s_suspend()
693 iismod = readl(i2s->regs + S3C2412_IISMOD); in s3c2412_i2s_suspend()
716 writel(i2s->suspend_iiscon, i2s->regs + S3C2412_IISCON); in s3c2412_i2s_resume()
717 writel(i2s->suspend_iismod, i2s->regs + S3C2412_IISMOD); in s3c2412_i2s_resume()
718 writel(i2s->suspend_iispsr, i2s->regs + S3C2412_IISPSR); in s3c2412_i2s_resume()
721 i2s->regs + S3C2412_IISFIC); in s3c2412_i2s_resume()
724 writel(0x0, i2s->regs + S3C2412_IISFIC); in s3c2412_i2s_resume()