Home
last modified time | relevance | path

Searched refs:pre_div (Results 1 – 8 of 8) sorted by relevance

/sound/soc/codecs/
Dwm8974.c270 unsigned int pre_div:1; member
291 pll_div->pre_div = 1; in pll_factors()
294 pll_div->pre_div = 0; in pll_factors()
339 snd_soc_write(codec, WM8974_PLLN, (pll_div.pre_div << 4) | pll_div.n); in wm8974_set_dai_pll()
Dwm8510.c269 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()
Dwm8960.c1001 u32 pre_div:1; member
1046 pll_div->pre_div = 1; in pll_factors()
1049 pll_div->pre_div = 0; in pll_factors()
1074 pll_div->n, pll_div->k, pll_div->pre_div); in pll_factors()
1101 reg |= pll_div.pre_div << 4; in wm8960_set_pll()
Drt5651.c1349 int pre_div, bclk_ms, frame_size; in rt5651_hw_params() local
1352 pre_div = rl6231_get_clk_info(rt5651->sysclk, rt5651->lrck[dai->id]); in rt5651_hw_params()
1354 if (pre_div < 0) { in rt5651_hw_params()
1369 bclk_ms, pre_div, dai->id); in rt5651_hw_params()
1390 val_clk = pre_div << RT5651_I2S_PD1_SFT; in rt5651_hw_params()
1397 val_clk = pre_div << RT5651_I2S_PD2_SFT; in rt5651_hw_params()
Drt5640.c1685 int dai_sel, pre_div, bclk_ms, frame_size; in rt5640_hw_params() local
1688 pre_div = rl6231_get_clk_info(rt5640->sysclk, rt5640->lrck[dai->id]); in rt5640_hw_params()
1689 if (pre_div < 0) { in rt5640_hw_params()
1708 bclk_ms, pre_div, dai->id); in rt5640_hw_params()
1734 pre_div << RT5640_I2S_PD1_SFT; in rt5640_hw_params()
1742 pre_div << RT5640_I2S_PD2_SFT; in rt5640_hw_params()
Drt5670.c2322 int pre_div, bclk_ms, frame_size; in rt5670_hw_params() local
2325 pre_div = rl6231_get_clk_info(rt5670->sysclk, rt5670->lrck[dai->id]); in rt5670_hw_params()
2326 if (pre_div < 0) { in rt5670_hw_params()
2342 bclk_ms, pre_div, dai->id); in rt5670_hw_params()
2364 pre_div << RT5670_I2S_PD1_SFT; in rt5670_hw_params()
2372 pre_div << RT5670_I2S_PD2_SFT; in rt5670_hw_params()
Drt5645.c2537 int pre_div, bclk_ms, frame_size; in rt5645_hw_params() local
2540 pre_div = rl6231_get_clk_info(rt5645->sysclk, rt5645->lrck[dai->id]); in rt5645_hw_params()
2541 if (pre_div < 0) { in rt5645_hw_params()
2566 bclk_ms, pre_div, dai->id); in rt5645_hw_params()
2587 val_clk = pre_div << RT5645_I2S_PD1_SFT; in rt5645_hw_params()
2595 pre_div << RT5645_I2S_PD2_SFT; in rt5645_hw_params()
Drt5677.c4121 int pre_div, bclk_ms, frame_size; in rt5677_hw_params() local
4124 pre_div = rl6231_get_clk_info(rt5677->sysclk, rt5677->lrck[dai->id]); in rt5677_hw_params()
4125 if (pre_div < 0) { in rt5677_hw_params()
4141 bclk_ms, pre_div, dai->id); in rt5677_hw_params()
4162 val_clk = pre_div << RT5677_I2S_PD1_SFT; in rt5677_hw_params()
4170 val_clk = pre_div << RT5677_I2S_PD2_SFT; in rt5677_hw_params()
4179 pre_div << RT5677_I2S_PD3_SFT; in rt5677_hw_params()
4188 pre_div << RT5677_I2S_PD4_SFT; in rt5677_hw_params()