/sound/soc/codecs/ |
D | rt1308.c | 55 int lrck; member 461 rt1308->lrck = params_rate(params); in rt1308_hw_params() 462 pre_div = rt1308_get_clk_info(rt1308->sysclk, rt1308->lrck); in rt1308_hw_params() 465 "Unsupported clock setting %d\n", rt1308->lrck); in rt1308_hw_params() 477 rt1308->bclk = rt1308->lrck * (32 << bclk_ms); in rt1308_hw_params() 483 rt1308->lrck, pre_div, dai->id); in rt1308_hw_params()
|
D | rt1305.c | 78 int lrck; member 633 rt1305->lrck = params_rate(params); in rt1305_hw_params() 634 pre_div = rt1305_get_clk_info(rt1305->sysclk, rt1305->lrck); in rt1305_hw_params() 638 rt1305->lrck * 64, rt1305->lrck * 256); in rt1305_hw_params() 640 rt1305->lrck * 256, SND_SOC_CLOCK_IN); in rt1305_hw_params() 651 rt1305->bclk = rt1305->lrck * (32 << bclk_ms); in rt1305_hw_params() 657 rt1305->lrck, pre_div, dai->id); in rt1305_hw_params()
|
D | rt1016.c | 313 rt1016->lrck = params_rate(params); in rt1016_hw_params() 314 pre_div = rl6231_get_clk_info(rt1016->sysclk, rt1016->lrck); in rt1016_hw_params() 328 rt1016->bclk = rt1016->lrck * (32 << bclk_ms); in rt1016_hw_params() 335 rt1016->lrck, pre_div, dai->id); in rt1016_hw_params()
|
D | rt5660.c | 843 rt5660->lrck[dai->id] = params_rate(params); in rt5660_hw_params() 844 pre_div = rl6231_get_clk_info(rt5660->sysclk, rt5660->lrck[dai->id]); in rt5660_hw_params() 847 rt5660->lrck[dai->id], dai->id); in rt5660_hw_params() 862 rt5660->bclk[dai->id] = rt5660->lrck[dai->id] * (32 << bclk_ms); in rt5660_hw_params() 865 rt5660->bclk[dai->id], rt5660->lrck[dai->id]); in rt5660_hw_params()
|
D | rt1015.c | 732 rt1015->lrck = params_rate(params); in rt1015_hw_params() 733 pre_div = rl6231_get_clk_info(rt1015->sysclk, rt1015->lrck); in rt1015_hw_params() 747 rt1015->bclk = rt1015->lrck * (32 << bclk_ms); in rt1015_hw_params() 753 rt1015->lrck, pre_div, dai->id); in rt1015_hw_params()
|
D | rt5682.c | 1264 ref = 256 * rt5682->lrck[RT5682_AIF2]; in set_filter_clk() 1266 ref = 256 * rt5682->lrck[RT5682_AIF1]; in set_filter_clk() 2076 rt5682->lrck[dai->id] = params_rate(params); in rt5682_hw_params() 2077 pre_div = rl6231_get_clk_info(rt5682->sysclk, rt5682->lrck[dai->id]); in rt5682_hw_params() 2087 rt5682->lrck[dai->id], pre_div, dai->id); in rt5682_hw_params() 2601 if (rt5682->lrck[RT5682_AIF1] != CLK_48 && in rt5682_wclk_recalc_rate() 2602 rt5682->lrck[RT5682_AIF1] != CLK_44) { in rt5682_wclk_recalc_rate() 2608 return rt5682->lrck[RT5682_AIF1]; in rt5682_wclk_recalc_rate() 2678 rt5682->lrck[RT5682_AIF1] = rate; in rt5682_wclk_set_rate() 2900 rt5682->lrck[RT5682_AIF1] = CLK_48; in rt5682_probe()
|
D | rt5616.c | 149 int lrck[RT5616_AIFS]; member 965 rt5616->lrck[dai->id] = params_rate(params); in rt5616_hw_params() 967 pre_div = rl6231_get_clk_info(rt5616->sysclk, rt5616->lrck[dai->id]); in rt5616_hw_params() 979 rt5616->bclk[dai->id] = rt5616->lrck[dai->id] * (32 << bclk_ms); in rt5616_hw_params() 982 rt5616->bclk[dai->id], rt5616->lrck[dai->id]); in rt5616_hw_params()
|
D | rt5514.c | 554 return (rt5514->sysclk > rt5514->lrck * 384); in rt5514_i2s_use_asrc() 759 rt5514->lrck = params_rate(params); in rt5514_hw_params() 760 pre_div = rl6231_get_clk_info(rt5514->sysclk, rt5514->lrck); in rt5514_hw_params() 773 rt5514->bclk = rt5514->lrck * (32 << bclk_ms); in rt5514_hw_params() 776 rt5514->bclk, rt5514->lrck); in rt5514_hw_params()
|
D | rt1011.c | 1534 rt1011->lrck = params_rate(params); in rt1011_hw_params() 1535 pre_div = rt1011_get_clk_info(rt1011->sysclk, rt1011->lrck); in rt1011_hw_params() 1539 rt1011->lrck * 64, rt1011->lrck * 256); in rt1011_hw_params() 1541 rt1011->lrck * 256, SND_SOC_CLOCK_IN); in rt1011_hw_params() 1552 rt1011->bclk = rt1011->lrck * (32 << bclk_ms); in rt1011_hw_params() 1558 rt1011->lrck, pre_div, dai->id); in rt1011_hw_params()
|
D | rt1016.h | 224 int lrck; member
|
D | rt5514.h | 277 int lrck; member
|
D | rt5668.c | 55 int lrck[RT5668_AIFS]; member 1200 ref = 256 * rt5668->lrck[RT5668_AIF2]; in set_filter_clk() 1202 ref = 256 * rt5668->lrck[RT5668_AIF1]; in set_filter_clk() 1927 rt5668->lrck[dai->id] = params_rate(params); in rt5668_hw_params() 1928 pre_div = rl6231_get_clk_info(rt5668->sysclk, rt5668->lrck[dai->id]); in rt5668_hw_params() 1938 rt5668->lrck[dai->id], pre_div, dai->id); in rt5668_hw_params()
|
D | rt1015.h | 388 int lrck; member
|
D | rt5670.c | 784 if (rt5670->sysclk > rt5670->lrck[RT5670_AIF1] * 384) in can_use_asrc() 2302 rt5670->lrck[dai->id] = params_rate(params); in rt5670_hw_params() 2303 pre_div = rl6231_get_clk_info(rt5670->sysclk, rt5670->lrck[dai->id]); in rt5670_hw_params() 2306 rt5670->lrck[dai->id], dai->id); in rt5670_hw_params() 2315 rt5670->bclk[dai->id] = rt5670->lrck[dai->id] * (32 << bclk_ms); in rt5670_hw_params() 2318 rt5670->bclk[dai->id], rt5670->lrck[dai->id]); in rt5670_hw_params()
|
D | rt5665.c | 58 int lrck[RT5665_AIFS]; member 4113 rt5665->lrck[dai->id] = params_rate(params); in rt5665_hw_params() 4114 pre_div = rl6231_get_clk_info(rt5665->sysclk, rt5665->lrck[dai->id]); in rt5665_hw_params() 4118 rt5665->sysclk, rt5665->lrck[dai->id] * 512); in rt5665_hw_params() 4120 rt5665->lrck[dai->id] * 512, 0); in rt5665_hw_params() 4130 rt5665->lrck[dai->id], pre_div, dai->id); in rt5665_hw_params() 4186 switch (rt5665->lrck[dai->id]) { in rt5665_hw_params()
|
D | rt5651.c | 1289 rt5651->lrck[dai->id] = params_rate(params); in rt5651_hw_params() 1290 pre_div = rl6231_get_clk_info(rt5651->sysclk, rt5651->lrck[dai->id]); in rt5651_hw_params() 1302 rt5651->bclk[dai->id] = rt5651->lrck[dai->id] * (32 << bclk_ms); in rt5651_hw_params() 1305 rt5651->bclk[dai->id], rt5651->lrck[dai->id]); in rt5651_hw_params()
|
D | rt5640.c | 1705 rt5640->lrck[dai->id] = params_rate(params); in rt5640_hw_params() 1706 pre_div = rl6231_get_clk_info(rt5640->sysclk, rt5640->lrck[dai->id]); in rt5640_hw_params() 1709 rt5640->lrck[dai->id], dai->id); in rt5640_hw_params() 1721 rt5640->bclk[dai->id] = rt5640->lrck[dai->id] * (32 << bclk_ms); in rt5640_hw_params() 1724 rt5640->bclk[dai->id], rt5640->lrck[dai->id]); in rt5640_hw_params()
|
D | rt5663.c | 70 int lrck; member 2150 if (rt5663->sysclk > rt5663->lrck * 384) in rt5663_i2s_use_asrc() 2770 rt5663->lrck = params_rate(params); in rt5663_hw_params() 2773 rt5663->lrck, rt5663->sysclk); in rt5663_hw_params() 2775 pre_div = rl6231_get_clk_info(rt5663->sysclk, rt5663->lrck); in rt5663_hw_params() 2778 rt5663->lrck, dai->id); in rt5663_hw_params()
|
D | rt1011.h | 683 int lrck; member
|
D | rt5660.h | 838 int lrck[RT5660_AIFS]; member
|
D | rt5645.c | 429 int lrck[RT5645_AIFS]; member 2740 rt5645->lrck[dai->id] = params_rate(params); in rt5645_hw_params() 2741 pre_div = rl6231_get_clk_info(rt5645->sysclk, rt5645->lrck[dai->id]); in rt5645_hw_params() 2762 rt5645->bclk[dai->id] = rt5645->lrck[dai->id] * (32 << bclk_ms); in rt5645_hw_params() 2765 rt5645->bclk[dai->id], rt5645->lrck[dai->id]); in rt5645_hw_params()
|
D | rt5659.c | 3284 rt5659->lrck[dai->id] = params_rate(params); in rt5659_hw_params() 3285 pre_div = rl6231_get_clk_info(rt5659->sysclk, rt5659->lrck[dai->id]); in rt5659_hw_params() 3288 rt5659->lrck[dai->id], dai->id); in rt5659_hw_params() 3298 rt5659->lrck[dai->id], pre_div, dai->id); in rt5659_hw_params() 3342 switch (rt5659->lrck[dai->id]) { in rt5659_hw_params()
|
D | rt5677.c | 1209 if (rt5677->sysclk > rt5677->lrck[RT5677_AIF1] * 384) in can_use_asrc() 4297 rt5677->lrck[dai->id] = params_rate(params); in rt5677_hw_params() 4298 pre_div = rl6231_get_clk_info(rt5677->sysclk, rt5677->lrck[dai->id]); in rt5677_hw_params() 4301 rt5677->sysclk, rt5677->lrck[dai->id]); in rt5677_hw_params() 4310 rt5677->bclk[dai->id] = rt5677->lrck[dai->id] * (32 << bclk_ms); in rt5677_hw_params() 4313 rt5677->bclk[dai->id], rt5677->lrck[dai->id]); in rt5677_hw_params()
|
D | rt5682.h | 1419 int lrck[RT5682_AIFS]; member
|
D | rt5677.h | 1839 int lrck[RT5677_AIFS]; member
|