/sound/soc/codecs/ |
D | wm8510.c | 269 unsigned int pre_div:4; /* prescale - 1 */ member 288 pll_div.pre_div = 1; in pll_factors() 291 pll_div.pre_div = 0; in pll_factors() 335 snd_soc_write(codec, WM8510_PLLN, (pll_div.pre_div << 4) | pll_div.n); in wm8510_set_dai_pll()
|
D | rt5514.c | 688 int pre_div, bclk_ms, frame_size; in rt5514_hw_params() local 692 pre_div = rl6231_get_clk_info(rt5514->sysclk, rt5514->lrck); in rt5514_hw_params() 693 if (pre_div < 0) { in rt5514_hw_params() 710 bclk_ms, pre_div, dai->id); in rt5514_hw_params() 732 (pre_div + 1) << RT5514_CLK_AD_ANA1_SEL_SFT); in rt5514_hw_params() 735 pre_div << RT5514_CLK_SYS_DIV_OUT_SFT | in rt5514_hw_params() 736 pre_div << RT5514_SEL_ADC_OSR_SFT); in rt5514_hw_params()
|
D | wm8974.c | 275 unsigned int pre_div:1; member 296 pll_div->pre_div = 1; in pll_factors() 299 pll_div->pre_div = 0; in pll_factors() 344 snd_soc_write(codec, WM8974_PLLN, (pll_div.pre_div << 4) | pll_div.n); in wm8974_set_dai_pll()
|
D | rt5660.c | 844 int pre_div, bclk_ms, frame_size; in rt5660_hw_params() local 847 pre_div = rl6231_get_clk_info(rt5660->sysclk, rt5660->lrck[dai->id]); in rt5660_hw_params() 848 if (pre_div < 0) { in rt5660_hw_params() 870 bclk_ms, pre_div, dai->id); in rt5660_hw_params() 892 pre_div << RT5660_I2S_PD1_SFT; in rt5660_hw_params()
|
D | rt5651.c | 1308 int pre_div, bclk_ms, frame_size; in rt5651_hw_params() local 1311 pre_div = rl6231_get_clk_info(rt5651->sysclk, rt5651->lrck[dai->id]); in rt5651_hw_params() 1313 if (pre_div < 0) { in rt5651_hw_params() 1328 bclk_ms, pre_div, dai->id); in rt5651_hw_params() 1349 val_clk = pre_div << RT5651_I2S_PD1_SFT; in rt5651_hw_params() 1356 val_clk = pre_div << RT5651_I2S_PD2_SFT; in rt5651_hw_params()
|
D | rt5616.c | 966 int pre_div, bclk_ms, frame_size; in rt5616_hw_params() local 970 pre_div = rl6231_get_clk_info(rt5616->sysclk, rt5616->lrck[dai->id]); in rt5616_hw_params() 972 if (pre_div < 0) { in rt5616_hw_params() 987 bclk_ms, pre_div, dai->id); in rt5616_hw_params() 1006 val_clk = pre_div << RT5616_I2S_PD1_SFT; in rt5616_hw_params()
|
D | wm8960.c | 1109 u32 pre_div:1; member 1154 pll_div->pre_div = 1; in pll_factors() 1157 pll_div->pre_div = 0; in pll_factors() 1182 pll_div->n, pll_div->k, pll_div->pre_div); in pll_factors() 1209 reg |= pll_div.pre_div << 4; in wm8960_set_pll()
|
D | rt5640.c | 1728 int dai_sel, pre_div, bclk_ms, frame_size; in rt5640_hw_params() local 1731 pre_div = rl6231_get_clk_info(rt5640->sysclk, rt5640->lrck[dai->id]); in rt5640_hw_params() 1732 if (pre_div < 0) { in rt5640_hw_params() 1751 bclk_ms, pre_div, dai->id); in rt5640_hw_params() 1777 pre_div << RT5640_I2S_PD1_SFT; in rt5640_hw_params() 1785 pre_div << RT5640_I2S_PD2_SFT; in rt5640_hw_params()
|
D | rt5665.c | 4114 int pre_div, frame_size; in rt5665_hw_params() local 4117 pre_div = rl6231_get_clk_info(rt5665->sysclk, rt5665->lrck[dai->id]); in rt5665_hw_params() 4118 if (pre_div < 0) { in rt5665_hw_params() 4124 pre_div = 1; in rt5665_hw_params() 4133 rt5665->lrck[dai->id], pre_div, dai->id); in rt5665_hw_params() 4162 val_clk = pre_div << RT5665_I2S_PD1_SFT; in rt5665_hw_params() 4170 val_clk = pre_div << RT5665_I2S_PD2_SFT; in rt5665_hw_params() 4177 val_clk = pre_div << RT5665_I2S_PD3_SFT; in rt5665_hw_params() 4209 RT5665_I2S2_M_PD_MASK, pre_div << RT5665_I2S2_M_PD_SFT); in rt5665_hw_params() 4213 RT5665_I2S3_M_PD_MASK, pre_div << RT5665_I2S3_M_PD_SFT); in rt5665_hw_params()
|
D | rt5670.c | 2310 int pre_div, bclk_ms, frame_size; in rt5670_hw_params() local 2313 pre_div = rl6231_get_clk_info(rt5670->sysclk, rt5670->lrck[dai->id]); in rt5670_hw_params() 2314 if (pre_div < 0) { in rt5670_hw_params() 2330 bclk_ms, pre_div, dai->id); in rt5670_hw_params() 2352 pre_div << RT5670_I2S_PD1_SFT; in rt5670_hw_params() 2360 pre_div << RT5670_I2S_PD2_SFT; in rt5670_hw_params()
|
D | rt5659.c | 3243 int pre_div, frame_size; in rt5659_hw_params() local 3246 pre_div = rl6231_get_clk_info(rt5659->sysclk, rt5659->lrck[dai->id]); in rt5659_hw_params() 3247 if (pre_div < 0) { in rt5659_hw_params() 3259 rt5659->lrck[dai->id], pre_div, dai->id); in rt5659_hw_params() 3280 val_clk = pre_div << RT5659_I2S_PD1_SFT; in rt5659_hw_params() 3286 val_clk = pre_div << RT5659_I2S_PD2_SFT; in rt5659_hw_params() 3292 val_clk = pre_div << RT5659_I2S_PD3_SFT; in rt5659_hw_params()
|
D | rt5663.c | 2502 int pre_div; in rt5663_hw_params() local 2509 pre_div = rl6231_get_clk_info(rt5663->sysclk, rt5663->lrck); in rt5663_hw_params() 2510 if (pre_div < 0) { in rt5663_hw_params() 2516 dev_dbg(dai->dev, "pre_div is %d for iis %d\n", pre_div, dai->id); in rt5663_hw_params() 2539 RT5663_I2S_PD1_MASK, pre_div << RT5663_I2S_PD1_SHIFT); in rt5663_hw_params()
|
D | rt5645.c | 2716 int pre_div, bclk_ms, frame_size; in rt5645_hw_params() local 2719 pre_div = rl6231_get_clk_info(rt5645->sysclk, rt5645->lrck[dai->id]); in rt5645_hw_params() 2720 if (pre_div < 0) { in rt5645_hw_params() 2745 bclk_ms, pre_div, dai->id); in rt5645_hw_params() 2766 val_clk = pre_div << RT5645_I2S_PD1_SFT; in rt5645_hw_params() 2774 pre_div << RT5645_I2S_PD2_SFT; in rt5645_hw_params()
|
D | rt5677.c | 4105 int pre_div, bclk_ms, frame_size; in rt5677_hw_params() local 4108 pre_div = rl6231_get_clk_info(rt5677->sysclk, rt5677->lrck[dai->id]); in rt5677_hw_params() 4109 if (pre_div < 0) { in rt5677_hw_params() 4125 bclk_ms, pre_div, dai->id); in rt5677_hw_params() 4146 val_clk = pre_div << RT5677_I2S_PD1_SFT; in rt5677_hw_params() 4154 val_clk = pre_div << RT5677_I2S_PD2_SFT; in rt5677_hw_params() 4163 pre_div << RT5677_I2S_PD3_SFT; in rt5677_hw_params() 4172 pre_div << RT5677_I2S_PD4_SFT; in rt5677_hw_params()
|