Home
last modified time | relevance | path

Searched refs:frac_div (Results 1 – 6 of 6) sorted by relevance

/sound/soc/codecs/
Dcx2072x.c591 unsigned int frac_div; in cx2072x_config_pll() local
625 frac_div = pll_output - (int_div * pll_input); in cx2072x_config_pll()
627 if (frac_div) { in cx2072x_config_pll()
628 frac_div *= 1000; in cx2072x_config_pll()
629 frac_div /= pll_input; in cx2072x_config_pll()
630 frac_num = (u64)(4000 + frac_div) * ((1 << 20) - 4); in cx2072x_config_pll()
638 if (frac_div == 0) { in cx2072x_config_pll()
653 if (frac_div == 0) { in cx2072x_config_pll()
Dda732x.c1125 u64 frac_div; in da732x_set_dai_pll() local
1163 frac_div = (u64)(freq_out % fref) * 8192ULL; in da732x_set_dai_pll()
1164 do_div(frac_div, fref); in da732x_set_dai_pll()
1165 div_mid = (frac_div >> DA732X_1BYTE_SHIFT) & DA732X_U8_MASK; in da732x_set_dai_pll()
1166 div_lo = (frac_div) & DA732X_U8_MASK; in da732x_set_dai_pll()
Dda7213.c1415 u64 frac_div; in _da7213_set_component_pll() local
1490 frac_div = (u64)(fout % freq_ref) * 8192ULL; in _da7213_set_component_pll()
1491 do_div(frac_div, freq_ref); in _da7213_set_component_pll()
1492 pll_frac_top = (frac_div >> DA7213_BYTE_SHIFT) & DA7213_BYTE_MASK; in _da7213_set_component_pll()
1493 pll_frac_bot = (frac_div) & DA7213_BYTE_MASK; in _da7213_set_component_pll()
Dda7219.c1224 u64 frac_div; in da7219_set_pll() local
1275 frac_div = (u64)(fout % freq_ref) * 8192ULL; in da7219_set_pll()
1276 do_div(frac_div, freq_ref); in da7219_set_pll()
1277 pll_frac_top = (frac_div >> DA7219_BYTE_SHIFT) & DA7219_BYTE_MASK; in da7219_set_pll()
1278 pll_frac_bot = (frac_div) & DA7219_BYTE_MASK; in da7219_set_pll()
Dsgtl5000.c990 unsigned int in, int_div, frac_div; in sgtl5000_set_clock() local
1007 frac_div = t; in sgtl5000_set_clock()
1009 frac_div << SGTL5000_PLL_FRAC_DIV_SHIFT; in sgtl5000_set_clock()
Dda7218.c1864 u64 frac_div; in da7218_set_dai_pll() local
1915 frac_div = (u64)(fout % freq_ref) * 8192ULL; in da7218_set_dai_pll()
1916 do_div(frac_div, freq_ref); in da7218_set_dai_pll()
1917 pll_frac_top = (frac_div >> DA7218_BYTE_SHIFT) & DA7218_BYTE_MASK; in da7218_set_dai_pll()
1918 pll_frac_bot = (frac_div) & DA7218_BYTE_MASK; in da7218_set_dai_pll()