Lines Matching full:clkctl
157 u32 ctl, clkctl; in s3c_pcm_snd_txctrl() local
159 clkctl = readl(regs + S3C_PCM_CLKCTL); in s3c_pcm_snd_txctrl()
169 clkctl |= S3C_PCM_CLKCTL_SERCLK_EN; in s3c_pcm_snd_txctrl()
177 clkctl |= S3C_PCM_CLKCTL_SERCLK_EN; in s3c_pcm_snd_txctrl()
181 writel(clkctl, regs + S3C_PCM_CLKCTL); in s3c_pcm_snd_txctrl()
188 u32 ctl, clkctl; in s3c_pcm_snd_rxctrl() local
191 clkctl = readl(regs + S3C_PCM_CLKCTL); in s3c_pcm_snd_rxctrl()
200 clkctl |= S3C_PCM_CLKCTL_SERCLK_EN; in s3c_pcm_snd_rxctrl()
208 clkctl |= S3C_PCM_CLKCTL_SERCLK_EN; in s3c_pcm_snd_rxctrl()
212 writel(clkctl, regs + S3C_PCM_CLKCTL); in s3c_pcm_snd_rxctrl()
269 u32 clkctl; in s3c_pcm_hw_params() local
284 clkctl = readl(regs + S3C_PCM_CLKCTL); in s3c_pcm_hw_params()
285 if (clkctl & S3C_PCM_CLKCTL_SERCLKSEL_PCLK) in s3c_pcm_hw_params()
294 clkctl &= ~(S3C_PCM_CLKCTL_SCLKDIV_MASK in s3c_pcm_hw_params()
296 clkctl |= ((sclk_div & S3C_PCM_CLKCTL_SCLKDIV_MASK) in s3c_pcm_hw_params()
302 clkctl &= ~(S3C_PCM_CLKCTL_SYNCDIV_MASK in s3c_pcm_hw_params()
304 clkctl |= ((sync_div & S3C_PCM_CLKCTL_SYNCDIV_MASK) in s3c_pcm_hw_params()
307 writel(clkctl, regs + S3C_PCM_CLKCTL); in s3c_pcm_hw_params()
411 u32 clkctl = readl(regs + S3C_PCM_CLKCTL); in s3c_pcm_set_sysclk() local
415 clkctl |= S3C_PCM_CLKCTL_SERCLKSEL_PCLK; in s3c_pcm_set_sysclk()
419 clkctl &= ~S3C_PCM_CLKCTL_SERCLKSEL_PCLK; in s3c_pcm_set_sysclk()
430 writel(clkctl, regs + S3C_PCM_CLKCTL); in s3c_pcm_set_sysclk()