Lines Matching full:mclk
25 u32 mclk; in mxs_sgtl5000_hw_params() local
31 mclk = 256 * rate; in mxs_sgtl5000_hw_params()
34 mclk = 512 * rate; in mxs_sgtl5000_hw_params()
38 /* Set SGTL5000's SYSCLK (provided by SAIF MCLK) */ in mxs_sgtl5000_hw_params()
39 ret = snd_soc_dai_set_sysclk(codec_dai, SGTL5000_SYSCLK, mclk, 0); in mxs_sgtl5000_hw_params()
42 mclk / 1000000, mclk / 1000 % 1000); in mxs_sgtl5000_hw_params()
46 /* The SAIF MCLK should be the same as SGTL5000_SYSCLK */ in mxs_sgtl5000_hw_params()
47 ret = snd_soc_dai_set_sysclk(cpu_dai, MXS_SAIF_MCLK, mclk, 0); in mxs_sgtl5000_hw_params()
50 mclk / 1000000, mclk / 1000 % 1000); in mxs_sgtl5000_hw_params()
141 * The Sgtl5000 sysclk is derived from saif0 mclk and it's range in mxs_sgtl5000_probe()
146 dev_err(&pdev->dev, "failed to get mclk\n"); in mxs_sgtl5000_probe()