Home
last modified time | relevance | path

Searched refs:bclk_ms (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/sound/soc/codecs/
Drt1019.c161 int pre_div, bclk_ms, frame_size; in rt1019_hw_params() local
179 bclk_ms = frame_size > 32; in rt1019_hw_params()
180 rt1019->bclk = rt1019->lrck * (32 << bclk_ms); in rt1019_hw_params()
185 bclk_ms, pre_div, dai->id); in rt1019_hw_params()
Drt1016.c309 int pre_div, bclk_ms, frame_size; in rt1016_hw_params() local
326 bclk_ms = frame_size > 32; in rt1016_hw_params()
327 rt1016->bclk = rt1016->lrck * (32 << bclk_ms); in rt1016_hw_params()
329 if (bclk_ms && rt1016->master) in rt1016_hw_params()
Drt1308.c457 int pre_div, bclk_ms, frame_size; in rt1308_hw_params() local
474 bclk_ms = frame_size > 32; in rt1308_hw_params()
475 rt1308->bclk = rt1308->lrck * (32 << bclk_ms); in rt1308_hw_params()
478 bclk_ms, pre_div, dai->id); in rt1308_hw_params()
Drt5660.c839 int pre_div, bclk_ms, frame_size; in rt5660_hw_params() local
856 bclk_ms = 1; in rt5660_hw_params()
858 bclk_ms = 0; in rt5660_hw_params()
860 rt5660->bclk[dai->id] = rt5660->lrck[dai->id] * (32 << bclk_ms); in rt5660_hw_params()
865 bclk_ms, pre_div, dai->id); in rt5660_hw_params()
886 val_clk = bclk_ms << RT5660_I2S_BCLK_MS1_SFT | in rt5660_hw_params()
Drt1305.c629 int pre_div, bclk_ms, frame_size; in rt1305_hw_params() local
648 bclk_ms = frame_size > 32; in rt1305_hw_params()
649 rt1305->bclk = rt1305->lrck * (32 << bclk_ms); in rt1305_hw_params()
652 bclk_ms, pre_div, dai->id); in rt1305_hw_params()
Drt5514.c755 int pre_div, bclk_ms, frame_size; in rt5514_hw_params() local
771 bclk_ms = frame_size > 32; in rt5514_hw_params()
772 rt5514->bclk = rt5514->lrck * (32 << bclk_ms); in rt5514_hw_params()
777 bclk_ms, pre_div, dai->id); in rt5514_hw_params()
Drt5616.c963 int pre_div, bclk_ms, frame_size; in rt5616_hw_params() local
978 bclk_ms = frame_size > 32 ? 1 : 0; in rt5616_hw_params()
979 rt5616->bclk[dai->id] = rt5616->lrck[dai->id] * (32 << bclk_ms); in rt5616_hw_params()
984 bclk_ms, pre_div, dai->id); in rt5616_hw_params()
Drt5640.c1702 int dai_sel, pre_div, bclk_ms, frame_size; in rt5640_hw_params() local
1717 bclk_ms = 1; in rt5640_hw_params()
1719 bclk_ms = 0; in rt5640_hw_params()
1720 rt5640->bclk[dai->id] = rt5640->lrck[dai->id] * (32 << bclk_ms); in rt5640_hw_params()
1725 bclk_ms, pre_div, dai->id); in rt5640_hw_params()
1750 val_clk = bclk_ms << RT5640_I2S_BCLK_MS1_SFT | in rt5640_hw_params()
1758 val_clk = bclk_ms << RT5640_I2S_BCLK_MS2_SFT | in rt5640_hw_params()
Drt5670.c2372 int pre_div, bclk_ms, frame_size; in rt5670_hw_params() local
2386 bclk_ms = frame_size > 32; in rt5670_hw_params()
2387 rt5670->bclk[dai->id] = rt5670->lrck[dai->id] * (32 << bclk_ms); in rt5670_hw_params()
2392 bclk_ms, pre_div, dai->id); in rt5670_hw_params()
2413 val_clk = bclk_ms << RT5670_I2S_BCLK_MS1_SFT | in rt5670_hw_params()
2421 val_clk = bclk_ms << RT5670_I2S_BCLK_MS2_SFT | in rt5670_hw_params()
Drt1011.c1578 int pre_div, bclk_ms, frame_size; in rt1011_hw_params() local
1597 bclk_ms = frame_size > 32; in rt1011_hw_params()
1598 rt1011->bclk = rt1011->lrck * (32 << bclk_ms); in rt1011_hw_params()
1601 bclk_ms, pre_div, dai->id); in rt1011_hw_params()
Drt5651.c1287 int pre_div, bclk_ms, frame_size; in rt5651_hw_params() local
1301 bclk_ms = frame_size > 32 ? 1 : 0; in rt5651_hw_params()
1302 rt5651->bclk[dai->id] = rt5651->lrck[dai->id] * (32 << bclk_ms); in rt5651_hw_params()
1307 bclk_ms, pre_div, dai->id); in rt5651_hw_params()
Drt5645.c2752 int pre_div, bclk_ms, frame_size; in rt5645_hw_params() local
2775 bclk_ms = frame_size > 32; in rt5645_hw_params()
2776 rt5645->bclk[dai->id] = rt5645->lrck[dai->id] * (32 << bclk_ms); in rt5645_hw_params()
2781 bclk_ms, pre_div, dai->id); in rt5645_hw_params()
2809 val_clk = bclk_ms << RT5645_I2S_BCLK_MS2_SFT | in rt5645_hw_params()
Drt5677.c4293 int pre_div, bclk_ms, frame_size; in rt5677_hw_params() local
4307 bclk_ms = frame_size > 32; in rt5677_hw_params()
4308 rt5677->bclk[dai->id] = rt5677->lrck[dai->id] * (32 << bclk_ms); in rt5677_hw_params()
4313 bclk_ms, pre_div, dai->id); in rt5677_hw_params()
4350 val_clk = bclk_ms << RT5677_I2S_BCLK_MS3_SFT | in rt5677_hw_params()
4359 val_clk = bclk_ms << RT5677_I2S_BCLK_MS4_SFT | in rt5677_hw_params()