Lines Matching refs:clkcon
108 u32 clkcon; in spdif_snd_txctrl() local
112 clkcon = readl(regs + CLKCON) & CLKCTL_MASK; in spdif_snd_txctrl()
114 writel(clkcon | CLKCTL_PWR_ON, regs + CLKCON); in spdif_snd_txctrl()
116 writel(clkcon & ~CLKCTL_PWR_ON, regs + CLKCON); in spdif_snd_txctrl()
123 u32 clkcon; in spdif_set_sysclk() local
127 clkcon = readl(spdif->regs + CLKCON); in spdif_set_sysclk()
130 clkcon &= ~CLKCTL_MCLK_EXT; in spdif_set_sysclk()
132 clkcon |= CLKCTL_MCLK_EXT; in spdif_set_sysclk()
134 writel(clkcon, spdif->regs + CLKCON); in spdif_set_sysclk()
184 u32 con, clkcon, cstas; in spdif_hw_params() local
203 clkcon = readl(regs + CLKCON) & CLKCTL_MASK; in spdif_hw_params()
269 writel(clkcon, regs + CLKCON); in spdif_hw_params()
285 u32 con, clkcon; in spdif_shutdown() local
290 clkcon = readl(regs + CLKCON) & CLKCTL_MASK; in spdif_shutdown()
295 writel(clkcon & ~CLKCTL_PWR_ON, regs + CLKCON); in spdif_shutdown()