Lines Matching defs:clkctl
75 u32 ctl, clkctl;
77 clkctl = readl(regs + S3C_PCM_CLKCTL);
87 clkctl |= S3C_PCM_CLKCTL_SERCLK_EN;
95 clkctl |= S3C_PCM_CLKCTL_SERCLK_EN;
99 writel(clkctl, regs + S3C_PCM_CLKCTL);
106 u32 ctl, clkctl;
109 clkctl = readl(regs + S3C_PCM_CLKCTL);
115 clkctl |= S3C_PCM_CLKCTL_SERCLK_EN;
123 clkctl |= S3C_PCM_CLKCTL_SERCLK_EN;
127 writel(clkctl, regs + S3C_PCM_CLKCTL);
186 u32 clkctl;
208 clkctl = readl(regs + S3C_PCM_CLKCTL);
209 if (clkctl & S3C_PCM_CLKCTL_SERCLKSEL_PCLK)
218 clkctl &= ~(S3C_PCM_CLKCTL_SCLKDIV_MASK
220 clkctl |= ((sclk_div & S3C_PCM_CLKCTL_SCLKDIV_MASK)
226 clkctl &= ~(S3C_PCM_CLKCTL_SYNCDIV_MASK
228 clkctl |= ((sync_div & S3C_PCM_CLKCTL_SYNCDIV_MASK)
231 writel(clkctl, regs + S3C_PCM_CLKCTL);
335 u32 clkctl = readl(regs + S3C_PCM_CLKCTL);
339 clkctl |= S3C_PCM_CLKCTL_SERCLKSEL_PCLK;
343 clkctl &= ~S3C_PCM_CLKCTL_SERCLKSEL_PCLK;
354 writel(clkctl, regs + S3C_PCM_CLKCTL);