Lines Matching defs:mclk
54 saif->mclk = freq;
77 unsigned int mclk,
84 dev_dbg(saif->dev, "mclk %d rate %d\n", mclk, rate);
109 * If MCLK is used, the SAIF clk ratio needs to match mclk ratio.
120 switch (mclk / rate) {
164 switch (mclk / rate) {
237 int mxs_saif_get_mclk(unsigned int saif_id, unsigned int mclk,
258 dev_err(saif->dev, "can not get mclk from a non-master saif\n");
269 ret = mxs_saif_set_clk(saif, mclk, rate);
426 /* mclk should already be set */
427 if (!saif->mclk && saif->mclk_in_use) {
428 dev_err(cpu_dai->dev, "set mclk first\n");
440 * If mclk is used, we also set mclk, if not, saif->mclk is
443 ret = mxs_saif_set_clk(saif, saif->mclk, params_rate(params));
714 dev_err(&pdev->dev, "failed to register mclk: %d\n", ret);