Searched refs:mclkx_coeff (Results 1 – 2 of 2) sorted by relevance
881 int mclkx_coeff; in cs42l73_set_mclk() local886 mclkx_coeff = cs42l73_get_mclkx_coeff(freq); in cs42l73_set_mclk()887 if (mclkx_coeff < 0) in cs42l73_set_mclk()888 return mclkx_coeff; in cs42l73_set_mclk()890 mclk = cs42l73_mclkx_coeffs[mclkx_coeff].mclkx / in cs42l73_set_mclk()891 cs42l73_mclkx_coeffs[mclkx_coeff].ratio; in cs42l73_set_mclk()894 priv->mclksel + 1, cs42l73_mclkx_coeffs[mclkx_coeff].mclkx, in cs42l73_set_mclk()898 (cs42l73_mclkx_coeffs[mclkx_coeff].mclkdiv << 1); in cs42l73_set_mclk()902 priv->sysclk = mclkx_coeff; in cs42l73_set_mclk()
550 int mclkx_coeff; in cs53l30_set_sysclk() local554 mclkx_coeff = cs53l30_get_mclkx_coeff(freq); in cs53l30_set_sysclk()555 if (mclkx_coeff < 0) in cs53l30_set_sysclk()556 return mclkx_coeff; in cs53l30_set_sysclk()558 mclk_rate = cs53l30_mclkx_coeffs[mclkx_coeff].mclkx / in cs53l30_set_sysclk()559 cs53l30_mclkx_coeffs[mclkx_coeff].ratio; in cs53l30_set_sysclk()563 cs53l30_mclkx_coeffs[mclkx_coeff].mclkdiv); in cs53l30_set_sysclk()