Home
last modified time | relevance | path

Searched refs:pll_code (Results 1 – 18 of 18) sorted by relevance

/sound/soc/codecs/
Drt1308.c622 struct rl6231_pll_code pll_code; in rt1308_set_component_pll() local
665 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt1308_set_component_pll()
672 pll_code.m_bp, (pll_code.m_bp ? 0 : pll_code.m_code), in rt1308_set_component_pll()
673 pll_code.n_code, pll_code.k_code); in rt1308_set_component_pll()
676 pll_code.k_code << RT1308_PLL1_K_SFT | in rt1308_set_component_pll()
677 pll_code.m_bp << RT1308_PLL1_M_BYPASS_SFT | in rt1308_set_component_pll()
678 (pll_code.m_bp ? 0 : pll_code.m_code) << RT1308_PLL1_M_SFT | in rt1308_set_component_pll()
679 pll_code.n_code << RT1308_PLL1_N_SFT); in rt1308_set_component_pll()
Drl6231.c137 const unsigned int freq_out, struct rl6231_pll_code *pll_code) in rl6231_pll_calc() argument
214 pll_code->m_bp = bypass; in rl6231_pll_calc()
215 pll_code->m_code = m; in rl6231_pll_calc()
216 pll_code->n_code = n; in rl6231_pll_calc()
217 pll_code->k_code = k; in rl6231_pll_calc()
Drt5660.c1014 struct rl6231_pll_code pll_code; in rt5660_set_dai_pll() local
1047 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5660_set_dai_pll()
1054 pll_code.m_bp, (pll_code.m_bp ? 0 : pll_code.m_code), in rt5660_set_dai_pll()
1055 pll_code.n_code, pll_code.k_code); in rt5660_set_dai_pll()
1058 pll_code.n_code << RT5660_PLL_N_SFT | pll_code.k_code); in rt5660_set_dai_pll()
1060 (pll_code.m_bp ? 0 : pll_code.m_code) << RT5660_PLL_M_SFT | in rt5660_set_dai_pll()
1061 pll_code.m_bp << RT5660_PLL_M_BP_SFT); in rt5660_set_dai_pll()
Drt1305.c797 struct rl6231_pll_code pll_code; in rt1305_set_component_pll() local
842 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt1305_set_component_pll()
849 pll_code.m_bp, (pll_code.m_bp ? 0 : pll_code.m_code), in rt1305_set_component_pll()
850 pll_code.n_code, pll_code.k_code); in rt1305_set_component_pll()
853 (pll_code.m_bp ? 0 : pll_code.m_code) << RT1305_PLL_1_M_SFT | in rt1305_set_component_pll()
854 pll_code.m_bp << RT1305_PLL_1_M_BYPASS_SFT | in rt1305_set_component_pll()
855 pll_code.n_code); in rt1305_set_component_pll()
857 pll_code.k_code); in rt1305_set_component_pll()
Drt5616.c1099 struct rl6231_pll_code pll_code; in rt5616_set_dai_pll() local
1134 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5616_set_dai_pll()
1141 pll_code.m_bp, (pll_code.m_bp ? 0 : pll_code.m_code), in rt5616_set_dai_pll()
1142 pll_code.n_code, pll_code.k_code); in rt5616_set_dai_pll()
1145 pll_code.n_code << RT5616_PLL_N_SFT | pll_code.k_code); in rt5616_set_dai_pll()
1147 (pll_code.m_bp ? 0 : pll_code.m_code) << in rt5616_set_dai_pll()
1149 pll_code.m_bp << RT5616_PLL_M_BP_SFT); in rt5616_set_dai_pll()
Drt5514.c902 struct rl6231_pll_code pll_code; in rt5514_set_dai_pll() local
937 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5514_set_dai_pll()
944 pll_code.m_bp, (pll_code.m_bp ? 0 : pll_code.m_code), in rt5514_set_dai_pll()
945 pll_code.n_code, pll_code.k_code); in rt5514_set_dai_pll()
948 pll_code.k_code << RT5514_PLL_K_SFT | in rt5514_set_dai_pll()
949 pll_code.n_code << RT5514_PLL_N_SFT | in rt5514_set_dai_pll()
950 (pll_code.m_bp ? 0 : pll_code.m_code) << RT5514_PLL_M_SFT); in rt5514_set_dai_pll()
952 RT5514_PLL_M_BP, pll_code.m_bp << RT5514_PLL_M_BP_SFT); in rt5514_set_dai_pll()
Drt1011.c1738 struct rl6231_pll_code pll_code; in rt1011_set_component_pll() local
1779 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt1011_set_component_pll()
1786 pll_code.m_bp, (pll_code.m_bp ? 0 : pll_code.m_code), in rt1011_set_component_pll()
1787 pll_code.n_code, pll_code.k_code); in rt1011_set_component_pll()
1790 (pll_code.m_bp ? 0 : pll_code.m_code) << RT1011_PLL1_QM_SFT | in rt1011_set_component_pll()
1791 pll_code.m_bp << RT1011_PLL1_BPM_SFT | pll_code.n_code); in rt1011_set_component_pll()
1793 pll_code.k_code); in rt1011_set_component_pll()
Drt5651.c1453 struct rl6231_pll_code pll_code; in rt5651_set_dai_pll() local
1488 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5651_set_dai_pll()
1495 pll_code.m_bp, (pll_code.m_bp ? 0 : pll_code.m_code), in rt5651_set_dai_pll()
1496 pll_code.n_code, pll_code.k_code); in rt5651_set_dai_pll()
1499 pll_code.n_code << RT5651_PLL_N_SFT | pll_code.k_code); in rt5651_set_dai_pll()
1501 (pll_code.m_bp ? 0 : pll_code.m_code) << RT5651_PLL_M_SFT | in rt5651_set_dai_pll()
1502 pll_code.m_bp << RT5651_PLL_M_BP_SFT); in rt5651_set_dai_pll()
Drt5668.c2143 struct rl6231_pll_code pll_code; in rt5668_set_component_pll() local
2174 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5668_set_component_pll()
2181 pll_code.m_bp, (pll_code.m_bp ? 0 : pll_code.m_code), in rt5668_set_component_pll()
2182 pll_code.n_code, pll_code.k_code); in rt5668_set_component_pll()
2185 pll_code.n_code << RT5668_PLL_N_SFT | pll_code.k_code); in rt5668_set_component_pll()
2187 (pll_code.m_bp ? 0 : pll_code.m_code) << RT5668_PLL_M_SFT | in rt5668_set_component_pll()
2188 pll_code.m_bp << RT5668_PLL_M_BP_SFT); in rt5668_set_component_pll()
Drt5682.c2221 struct rl6231_pll_code pll_code; in rt5682_set_component_pll() local
2252 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5682_set_component_pll()
2259 pll_code.m_bp, (pll_code.m_bp ? 0 : pll_code.m_code), in rt5682_set_component_pll()
2260 pll_code.n_code, pll_code.k_code); in rt5682_set_component_pll()
2263 pll_code.n_code << RT5682_PLL_N_SFT | pll_code.k_code); in rt5682_set_component_pll()
2265 (pll_code.m_bp ? 0 : pll_code.m_code) << RT5682_PLL_M_SFT | in rt5682_set_component_pll()
2266 pll_code.m_bp << RT5682_PLL_M_BP_SFT | RT5682_PLL_RST); in rt5682_set_component_pll()
Drl6231.h28 const unsigned int freq_out, struct rl6231_pll_code *pll_code);
Drt5640.c1875 struct rl6231_pll_code pll_code; in rt5640_set_dai_pll() local
1910 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5640_set_dai_pll()
1917 pll_code.m_bp, (pll_code.m_bp ? 0 : pll_code.m_code), in rt5640_set_dai_pll()
1918 pll_code.n_code, pll_code.k_code); in rt5640_set_dai_pll()
1921 pll_code.n_code << RT5640_PLL_N_SFT | pll_code.k_code); in rt5640_set_dai_pll()
1923 (pll_code.m_bp ? 0 : pll_code.m_code) << RT5640_PLL_M_SFT | in rt5640_set_dai_pll()
1924 pll_code.m_bp << RT5640_PLL_M_BP_SFT); in rt5640_set_dai_pll()
Drt5670.c2462 struct rl6231_pll_code pll_code; in rt5670_set_dai_pll() local
2507 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5670_set_dai_pll()
2514 pll_code.m_bp, (pll_code.m_bp ? 0 : pll_code.m_code), in rt5670_set_dai_pll()
2515 pll_code.n_code, pll_code.k_code); in rt5670_set_dai_pll()
2518 pll_code.n_code << RT5670_PLL_N_SFT | pll_code.k_code); in rt5670_set_dai_pll()
2520 (pll_code.m_bp ? 0 : pll_code.m_code) << RT5670_PLL_M_SFT | in rt5670_set_dai_pll()
2521 pll_code.m_bp << RT5670_PLL_M_BP_SFT); in rt5670_set_dai_pll()
Drt5663.c2897 struct rl6231_pll_code pll_code; in rt5663_set_dai_pll() local
2942 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5663_set_dai_pll()
2948 dev_dbg(component->dev, "bypass=%d m=%d n=%d k=%d\n", pll_code.m_bp, in rt5663_set_dai_pll()
2949 (pll_code.m_bp ? 0 : pll_code.m_code), pll_code.n_code, in rt5663_set_dai_pll()
2950 pll_code.k_code); in rt5663_set_dai_pll()
2953 pll_code.n_code << RT5663_PLL_N_SHIFT | pll_code.k_code); in rt5663_set_dai_pll()
2955 (pll_code.m_bp ? 0 : pll_code.m_code) << RT5663_PLL_M_SHIFT | in rt5663_set_dai_pll()
2956 pll_code.m_bp << RT5663_PLL_M_BP_SHIFT); in rt5663_set_dai_pll()
Drt5645.c2918 struct rl6231_pll_code pll_code; in rt5645_set_dai_pll() local
2961 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5645_set_dai_pll()
2968 pll_code.m_bp, (pll_code.m_bp ? 0 : pll_code.m_code), in rt5645_set_dai_pll()
2969 pll_code.n_code, pll_code.k_code); in rt5645_set_dai_pll()
2972 pll_code.n_code << RT5645_PLL_N_SFT | pll_code.k_code); in rt5645_set_dai_pll()
2974 (pll_code.m_bp ? 0 : pll_code.m_code) << RT5645_PLL_M_SFT | in rt5645_set_dai_pll()
2975 pll_code.m_bp << RT5645_PLL_M_BP_SFT); in rt5645_set_dai_pll()
Drt5659.c3508 struct rl6231_pll_code pll_code; in rt5659_set_component_pll() local
3547 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5659_set_component_pll()
3554 pll_code.m_bp, (pll_code.m_bp ? 0 : pll_code.m_code), in rt5659_set_component_pll()
3555 pll_code.n_code, pll_code.k_code); in rt5659_set_component_pll()
3558 pll_code.n_code << RT5659_PLL_N_SFT | pll_code.k_code); in rt5659_set_component_pll()
3560 (pll_code.m_bp ? 0 : pll_code.m_code) << RT5659_PLL_M_SFT | in rt5659_set_component_pll()
3561 pll_code.m_bp << RT5659_PLL_M_BP_SFT); in rt5659_set_component_pll()
Drt5665.c4336 struct rl6231_pll_code pll_code; in rt5665_set_component_pll() local
4375 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5665_set_component_pll()
4382 pll_code.m_bp, (pll_code.m_bp ? 0 : pll_code.m_code), in rt5665_set_component_pll()
4383 pll_code.n_code, pll_code.k_code); in rt5665_set_component_pll()
4386 pll_code.n_code << RT5665_PLL_N_SFT | pll_code.k_code); in rt5665_set_component_pll()
4388 (pll_code.m_bp ? 0 : pll_code.m_code) << RT5665_PLL_M_SFT | in rt5665_set_component_pll()
4389 pll_code.m_bp << RT5665_PLL_M_BP_SFT); in rt5665_set_component_pll()
Drt5677.c4306 const unsigned int freq_out, struct rl6231_pll_code *pll_code) in rt5677_pll_calc() argument
4311 return rl6231_pll_calc(freq_in, freq_out, pll_code); in rt5677_pll_calc()
4319 struct rl6231_pll_code pll_code; in rt5677_set_dai_pll() local
4371 ret = rt5677_pll_calc(freq_in, freq_out, &pll_code); in rt5677_set_dai_pll()
4378 pll_code.m_bp, (pll_code.m_bp ? 0 : pll_code.m_code), in rt5677_set_dai_pll()
4379 pll_code.n_code, pll_code.k_code); in rt5677_set_dai_pll()
4382 pll_code.n_code << RT5677_PLL_N_SFT | pll_code.k_code); in rt5677_set_dai_pll()
4384 (pll_code.m_bp ? 0 : pll_code.m_code) << RT5677_PLL_M_SFT | in rt5677_set_dai_pll()
4385 pll_code.m_bp << RT5677_PLL_M_BP_SFT); in rt5677_set_dai_pll()