/sound/soc/codecs/ |
D | rt5660.c | 841 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()
|
D | rt1308.c | 459 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()
|
D | rt1305.c | 631 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()
|
D | rt5616.c | 963 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()
|
D | rt5514.c | 756 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()
|
D | rt5640.c | 1703 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()
|
D | rt5670.c | 2301 int pre_div, bclk_ms, frame_size; in rt5670_hw_params() local 2315 bclk_ms = frame_size > 32; in rt5670_hw_params() 2316 rt5670->bclk[dai->id] = rt5670->lrck[dai->id] * (32 << bclk_ms); in rt5670_hw_params() 2321 bclk_ms, pre_div, dai->id); in rt5670_hw_params() 2342 val_clk = bclk_ms << RT5670_I2S_BCLK_MS1_SFT | in rt5670_hw_params() 2350 val_clk = bclk_ms << RT5670_I2S_BCLK_MS2_SFT | in rt5670_hw_params()
|
D | rt1011.c | 1542 int pre_div, bclk_ms, frame_size; in rt1011_hw_params() local 1561 bclk_ms = frame_size > 32; in rt1011_hw_params() 1562 rt1011->bclk = rt1011->lrck * (32 << bclk_ms); in rt1011_hw_params() 1565 bclk_ms, pre_div, dai->id); in rt1011_hw_params()
|
D | rt5651.c | 1287 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()
|
D | rt5645.c | 2738 int pre_div, bclk_ms, frame_size; in rt5645_hw_params() local 2761 bclk_ms = frame_size > 32; in rt5645_hw_params() 2762 rt5645->bclk[dai->id] = rt5645->lrck[dai->id] * (32 << bclk_ms); in rt5645_hw_params() 2767 bclk_ms, pre_div, dai->id); in rt5645_hw_params() 2795 val_clk = bclk_ms << RT5645_I2S_BCLK_MS2_SFT | in rt5645_hw_params()
|
D | rt5677.c | 4108 int pre_div, bclk_ms, frame_size; in rt5677_hw_params() local 4122 bclk_ms = frame_size > 32; in rt5677_hw_params() 4123 rt5677->bclk[dai->id] = rt5677->lrck[dai->id] * (32 << bclk_ms); in rt5677_hw_params() 4128 bclk_ms, pre_div, dai->id); in rt5677_hw_params() 4165 val_clk = bclk_ms << RT5677_I2S_BCLK_MS3_SFT | in rt5677_hw_params() 4174 val_clk = bclk_ms << RT5677_I2S_BCLK_MS4_SFT | in rt5677_hw_params()
|