Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/soc/codecs/
Drt1016.c310 int pre_div, bclk_ms, frame_size; in rt1016_hw_params() local
327 bclk_ms = frame_size > 32; in rt1016_hw_params()
328 rt1016->bclk = rt1016->lrck * (32 << bclk_ms); in rt1016_hw_params()
330 if (bclk_ms && rt1016->master) in rt1016_hw_params()
Drt5660.c841 int pre_div, bclk_ms, frame_size; in rt5660_hw_params() local
858 bclk_ms = 1; in rt5660_hw_params()
860 bclk_ms = 0; in rt5660_hw_params()
862 rt5660->bclk[dai->id] = rt5660->lrck[dai->id] * (32 << bclk_ms); in rt5660_hw_params()
867 bclk_ms, pre_div, dai->id); in rt5660_hw_params()
888 val_clk = bclk_ms << RT5660_I2S_BCLK_MS1_SFT | in rt5660_hw_params()
Drt1308.c459 int pre_div, bclk_ms, frame_size; in rt1308_hw_params() local
476 bclk_ms = frame_size > 32; in rt1308_hw_params()
477 rt1308->bclk = rt1308->lrck * (32 << bclk_ms); in rt1308_hw_params()
480 bclk_ms, pre_div, dai->id); in rt1308_hw_params()
Drt1015.c729 int pre_div, bclk_ms, frame_size; in rt1015_hw_params() local
746 bclk_ms = frame_size > 32; in rt1015_hw_params()
747 rt1015->bclk = rt1015->lrck * (32 << bclk_ms); in rt1015_hw_params()
750 bclk_ms, pre_div, dai->id); in rt1015_hw_params()
Drt1305.c631 int pre_div, bclk_ms, frame_size; in rt1305_hw_params() local
650 bclk_ms = frame_size > 32; in rt1305_hw_params()
651 rt1305->bclk = rt1305->lrck * (32 << bclk_ms); in rt1305_hw_params()
654 bclk_ms, pre_div, dai->id); in rt1305_hw_params()
Drt5514.c756 int pre_div, bclk_ms, frame_size; in rt5514_hw_params() local
772 bclk_ms = frame_size > 32; in rt5514_hw_params()
773 rt5514->bclk = rt5514->lrck * (32 << bclk_ms); in rt5514_hw_params()
778 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.c1703 int dai_sel, pre_div, bclk_ms, frame_size; in rt5640_hw_params() local
1718 bclk_ms = 1; in rt5640_hw_params()
1720 bclk_ms = 0; in rt5640_hw_params()
1721 rt5640->bclk[dai->id] = rt5640->lrck[dai->id] * (32 << bclk_ms); in rt5640_hw_params()
1726 bclk_ms, pre_div, dai->id); in rt5640_hw_params()
1751 val_clk = bclk_ms << RT5640_I2S_BCLK_MS1_SFT | in rt5640_hw_params()
1759 val_clk = bclk_ms << RT5640_I2S_BCLK_MS2_SFT | in rt5640_hw_params()
Drt5670.c2300 int pre_div, bclk_ms, frame_size; in rt5670_hw_params() local
2314 bclk_ms = frame_size > 32; in rt5670_hw_params()
2315 rt5670->bclk[dai->id] = rt5670->lrck[dai->id] * (32 << bclk_ms); in rt5670_hw_params()
2320 bclk_ms, pre_div, dai->id); in rt5670_hw_params()
2341 val_clk = bclk_ms << RT5670_I2S_BCLK_MS1_SFT | in rt5670_hw_params()
2349 val_clk = bclk_ms << RT5670_I2S_BCLK_MS2_SFT | in rt5670_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()
Drt1011.c1532 int pre_div, bclk_ms, frame_size; in rt1011_hw_params() local
1551 bclk_ms = frame_size > 32; in rt1011_hw_params()
1552 rt1011->bclk = rt1011->lrck * (32 << bclk_ms); in rt1011_hw_params()
1555 bclk_ms, pre_div, dai->id); in rt1011_hw_params()
Drt5645.c2737 int pre_div, bclk_ms, frame_size; in rt5645_hw_params() local
2760 bclk_ms = frame_size > 32; in rt5645_hw_params()
2761 rt5645->bclk[dai->id] = rt5645->lrck[dai->id] * (32 << bclk_ms); in rt5645_hw_params()
2766 bclk_ms, pre_div, dai->id); in rt5645_hw_params()
2794 val_clk = bclk_ms << RT5645_I2S_BCLK_MS2_SFT | in rt5645_hw_params()
Drt5677.c4295 int pre_div, bclk_ms, frame_size; in rt5677_hw_params() local
4309 bclk_ms = frame_size > 32; in rt5677_hw_params()
4310 rt5677->bclk[dai->id] = rt5677->lrck[dai->id] * (32 << bclk_ms); in rt5677_hw_params()
4315 bclk_ms, pre_div, dai->id); in rt5677_hw_params()
4352 val_clk = bclk_ms << RT5677_I2S_BCLK_MS3_SFT | in rt5677_hw_params()
4361 val_clk = bclk_ms << RT5677_I2S_BCLK_MS4_SFT | in rt5677_hw_params()