Lines Matching refs:clkcon
102 u32 clkcon; in spdif_snd_txctrl() local
106 clkcon = readl(regs + CLKCON) & CLKCTL_MASK; in spdif_snd_txctrl()
108 writel(clkcon | CLKCTL_PWR_ON, regs + CLKCON); in spdif_snd_txctrl()
110 writel(clkcon & ~CLKCTL_PWR_ON, regs + CLKCON); in spdif_snd_txctrl()
117 u32 clkcon; in spdif_set_sysclk() local
121 clkcon = readl(spdif->regs + CLKCON); in spdif_set_sysclk()
124 clkcon &= ~CLKCTL_MCLK_EXT; in spdif_set_sysclk()
126 clkcon |= CLKCTL_MCLK_EXT; in spdif_set_sysclk()
128 writel(clkcon, spdif->regs + CLKCON); in spdif_set_sysclk()
178 u32 con, clkcon, cstas; in spdif_hw_params() local
197 clkcon = readl(regs + CLKCON) & CLKCTL_MASK; in spdif_hw_params()
263 writel(clkcon, regs + CLKCON); in spdif_hw_params()
279 u32 con, clkcon; in spdif_shutdown() local
284 clkcon = readl(regs + CLKCON) & CLKCTL_MASK; in spdif_shutdown()
289 writel(clkcon & ~CLKCTL_PWR_ON, regs + CLKCON); in spdif_shutdown()