/sound/soc/codecs/ |
D | rt1308.c | 622 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()
|
D | rl6231.c | 137 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()
|
D | rt5660.c | 1014 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()
|
D | rt1305.c | 797 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()
|
D | rt5616.c | 1099 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()
|
D | rt5514.c | 902 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()
|
D | rt1011.c | 1738 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()
|
D | rt5651.c | 1453 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()
|
D | rt5668.c | 2143 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()
|
D | rt5682.c | 2221 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()
|
D | rl6231.h | 28 const unsigned int freq_out, struct rl6231_pll_code *pll_code);
|
D | rt5640.c | 1875 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()
|
D | rt5670.c | 2462 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()
|
D | rt5663.c | 2897 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()
|
D | rt5645.c | 2918 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()
|
D | rt5659.c | 3508 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()
|
D | rt5665.c | 4336 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()
|
D | rt5677.c | 4306 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()
|