/linux-6.6.21/sound/soc/codecs/ |
D | rt1308.c | 53 int lrck; member 459 rt1308->lrck = params_rate(params); in rt1308_hw_params() 460 pre_div = rt1308_get_clk_info(rt1308->sysclk, rt1308->lrck); in rt1308_hw_params() 463 "Unsupported clock setting %d\n", rt1308->lrck); in rt1308_hw_params() 475 rt1308->bclk = rt1308->lrck * (32 << bclk_ms); in rt1308_hw_params() 481 rt1308->lrck, pre_div, dai->id); in rt1308_hw_params()
|
D | rt1305.c | 76 int lrck; member 631 rt1305->lrck = params_rate(params); in rt1305_hw_params() 632 pre_div = rt1305_get_clk_info(rt1305->sysclk, rt1305->lrck); in rt1305_hw_params() 636 rt1305->lrck * 64, rt1305->lrck * 256); in rt1305_hw_params() 638 rt1305->lrck * 256, SND_SOC_CLOCK_IN); in rt1305_hw_params() 649 rt1305->bclk = rt1305->lrck * (32 << bclk_ms); in rt1305_hw_params() 655 rt1305->lrck, pre_div, dai->id); in rt1305_hw_params()
|
D | rt1019.c | 166 rt1019->lrck = params_rate(params); in rt1019_hw_params() 167 pre_div = rl6231_get_clk_info(rt1019->sysclk, rt1019->lrck); in rt1019_hw_params() 180 rt1019->bclk = rt1019->lrck * (32 << bclk_ms); in rt1019_hw_params() 183 rt1019->bclk, rt1019->lrck); in rt1019_hw_params()
|
D | rt1016.c | 312 rt1016->lrck = params_rate(params); in rt1016_hw_params() 313 pre_div = rl6231_get_clk_info(rt1016->sysclk, rt1016->lrck); in rt1016_hw_params() 327 rt1016->bclk = rt1016->lrck * (32 << bclk_ms); in rt1016_hw_params() 334 rt1016->lrck, pre_div, dai->id); in rt1016_hw_params()
|
D | rt5660.c | 841 rt5660->lrck[dai->id] = params_rate(params); in rt5660_hw_params() 842 pre_div = rl6231_get_clk_info(rt5660->sysclk, rt5660->lrck[dai->id]); in rt5660_hw_params() 845 rt5660->lrck[dai->id], dai->id); in rt5660_hw_params() 860 rt5660->bclk[dai->id] = rt5660->lrck[dai->id] * (32 << bclk_ms); in rt5660_hw_params() 863 rt5660->bclk[dai->id], rt5660->lrck[dai->id]); in rt5660_hw_params()
|
D | rt1019.h | 156 int lrck; member
|
D | rt1015.c | 691 int pre_div, frame_size, lrck; in rt1015_hw_params() local 694 lrck = params_rate(params); in rt1015_hw_params() 695 pre_div = rl6231_get_clk_info(rt1015->sysclk, lrck); in rt1015_hw_params() 711 lrck, pre_div, dai->id); in rt1015_hw_params()
|
D | rt5514.c | 553 return (rt5514->sysclk > rt5514->lrck * 384); in rt5514_i2s_use_asrc() 758 rt5514->lrck = params_rate(params); in rt5514_hw_params() 759 pre_div = rl6231_get_clk_info(rt5514->sysclk, rt5514->lrck); in rt5514_hw_params() 772 rt5514->bclk = rt5514->lrck * (32 << bclk_ms); in rt5514_hw_params() 775 rt5514->bclk, rt5514->lrck); in rt5514_hw_params()
|
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 | rt1016.h | 224 int lrck; member
|
D | rt5682s.c | 1230 ref = 256 * rt5682s->lrck[RT5682S_AIF2]; in set_filter_clk() 1232 ref = 256 * rt5682s->lrck[RT5682S_AIF1]; in set_filter_clk() 1302 pre_div = get_clk_info(rt5682s->sysclk, rt5682s->lrck[id]); in rt5682s_set_i2s() 1309 rt5682s->lrck[id], pre_div, id); in rt5682s_set_i2s() 2068 rt5682s->lrck[dai->id] = params_rate(params); in rt5682s_hw_params() 2551 ref = 256 * rt5682s->lrck[RT5682S_AIF1]; in rt5682s_wclk_prepare() 2603 if (rt5682s->lrck[RT5682S_AIF1] != CLK_48 && in rt5682s_wclk_recalc_rate() 2604 rt5682s->lrck[RT5682S_AIF1] != CLK_44) { in rt5682s_wclk_recalc_rate() 2610 return rt5682s->lrck[RT5682S_AIF1]; in rt5682s_wclk_recalc_rate() 2677 rt5682s->lrck[RT5682S_AIF1] = rate; in rt5682s_wclk_set_rate() [all …]
|
D | rt1011.c | 1580 rt1011->lrck = params_rate(params); in rt1011_hw_params() 1581 pre_div = rt1011_get_clk_info(rt1011->sysclk, rt1011->lrck); in rt1011_hw_params() 1585 rt1011->lrck * 64, rt1011->lrck * 256); in rt1011_hw_params() 1587 rt1011->lrck * 256, SND_SOC_CLOCK_IN); in rt1011_hw_params() 1598 rt1011->bclk = rt1011->lrck * (32 << bclk_ms); in rt1011_hw_params() 1604 rt1011->lrck, pre_div, dai->id); in rt1011_hw_params()
|
D | rt5682.c | 1294 ref = 256 * rt5682->lrck[RT5682_AIF2]; in set_filter_clk() 1296 ref = 256 * rt5682->lrck[RT5682_AIF1]; in set_filter_clk() 2138 rt5682->lrck[dai->id] = params_rate(params); in rt5682_hw_params() 2139 pre_div = rl6231_get_clk_info(rt5682->sysclk, rt5682->lrck[dai->id]); in rt5682_hw_params() 2149 rt5682->lrck[dai->id], pre_div, dai->id); in rt5682_hw_params() 2666 if (rt5682->lrck[RT5682_AIF1] != CLK_48 && in rt5682_wclk_recalc_rate() 2667 rt5682->lrck[RT5682_AIF1] != CLK_44) { in rt5682_wclk_recalc_rate() 2673 return rt5682->lrck[RT5682_AIF1]; in rt5682_wclk_recalc_rate() 2744 rt5682->lrck[RT5682_AIF1] = rate; in rt5682_wclk_set_rate()
|
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 | rt5670.c | 832 if (rt5670->sysclk > rt5670->lrck[RT5670_AIF1] * 384) in can_use_asrc() 2374 rt5670->lrck[dai->id] = params_rate(params); in rt5670_hw_params() 2375 pre_div = rl6231_get_clk_info(rt5670->sysclk, rt5670->lrck[dai->id]); in rt5670_hw_params() 2378 rt5670->lrck[dai->id], dai->id); in rt5670_hw_params() 2387 rt5670->bclk[dai->id] = rt5670->lrck[dai->id] * (32 << bclk_ms); in rt5670_hw_params() 2390 rt5670->bclk[dai->id], rt5670->lrck[dai->id]); in rt5670_hw_params()
|
D | rt5665.c | 57 int lrck[RT5665_AIFS]; member 4112 rt5665->lrck[dai->id] = params_rate(params); in rt5665_hw_params() 4113 pre_div = rl6231_get_clk_info(rt5665->sysclk, rt5665->lrck[dai->id]); in rt5665_hw_params() 4117 rt5665->sysclk, rt5665->lrck[dai->id] * 512); in rt5665_hw_params() 4119 rt5665->lrck[dai->id] * 512, 0); in rt5665_hw_params() 4129 rt5665->lrck[dai->id], pre_div, dai->id); in rt5665_hw_params() 4185 switch (rt5665->lrck[dai->id]) { in rt5665_hw_params()
|
D | rt5682-i2c.c | 284 rt5682->lrck[RT5682_AIF1] = 48000; in rt5682_i2c_probe()
|
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 | 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 | rt5640.c | 1704 rt5640->lrck[dai->id] = params_rate(params); in rt5640_hw_params() 1705 pre_div = rl6231_get_clk_info(rt5640->sysclk, rt5640->lrck[dai->id]); in rt5640_hw_params() 1708 rt5640->lrck[dai->id], dai->id); in rt5640_hw_params() 1720 rt5640->bclk[dai->id] = rt5640->lrck[dai->id] * (32 << bclk_ms); in rt5640_hw_params() 1723 rt5640->bclk[dai->id], rt5640->lrck[dai->id]); in rt5640_hw_params()
|
D | rt1011.h | 689 int lrck; member
|
/linux-6.6.21/Documentation/devicetree/bindings/sound/ |
D | snps,designware-i2s.yaml | 55 - const: lrck
|
/linux-6.6.21/sound/soc/dwc/ |
D | dwc-i2s.c | 824 struct clk *lrck; in jh7110_i2s_crg_slave_init() local 842 lrck = clks[6].clk; in jh7110_i2s_crg_slave_init() 867 ret = clk_set_parent(lrck, lrck_ext); in jh7110_i2s_crg_slave_init()
|
/linux-6.6.21/arch/riscv/boot/dts/allwinner/ |
D | sun20i-d1-nezha.dts | 210 "pin35 [gpio22/i2s2-lrck]",
|