Home
last modified time | relevance | path

Searched refs:lrclk (Results 1 – 25 of 38) sorted by relevance

12

/kernel/linux/linux-5.10/sound/soc/cirrus/
Dep93xx-i2s.c76 struct clk *lrclk; member
116 clk_enable(info->lrclk); in ep93xx_i2s_enable()
159 clk_disable(info->lrclk); in ep93xx_i2s_disable()
347 err = clk_set_rate(info->lrclk, clk_get_rate(info->sclk) / lrdiv); in ep93xx_i2s_hw_params()
466 info->lrclk = clk_get(&pdev->dev, "lrclk"); in ep93xx_i2s_probe()
467 if (IS_ERR(info->lrclk)) { in ep93xx_i2s_probe()
468 err = PTR_ERR(info->lrclk); in ep93xx_i2s_probe()
486 clk_put(info->lrclk); in ep93xx_i2s_probe()
499 clk_put(info->lrclk); in ep93xx_i2s_remove()
/kernel/linux/linux-5.10/sound/soc/meson/
Daxg-tdm-formatter.c21 struct clk *lrclk; member
120 ret = clk_prepare_enable(formatter->lrclk); in axg_tdm_formatter_enable()
140 clk_disable_unprepare(formatter->lrclk); in axg_tdm_formatter_disable()
203 ret = clk_set_parent(formatter->lrclk_sel, ts->iface->lrclk); in axg_tdm_formatter_power_up()
302 formatter->lrclk = devm_clk_get(dev, "lrclk"); in axg_tdm_formatter_probe()
303 if (IS_ERR(formatter->lrclk)) { in axg_tdm_formatter_probe()
304 ret = PTR_ERR(formatter->lrclk); in axg_tdm_formatter_probe()
Daxg-tdm-interface.c211 ret = clk_set_rate(iface->lrclk, params_rate(params)); in axg_tdm_iface_set_lrclk()
240 ret = clk_set_duty_cycle(iface->lrclk, ratio_num, 2); in axg_tdm_iface_set_lrclk()
248 ret = clk_set_phase(iface->lrclk, in axg_tdm_iface_set_lrclk()
528 iface->lrclk = devm_clk_get(dev, "lrclk"); in axg_tdm_iface_probe()
529 if (IS_ERR(iface->lrclk)) { in axg_tdm_iface_probe()
530 ret = PTR_ERR(iface->lrclk); in axg_tdm_iface_probe()
Daxg-tdm.h28 struct clk *lrclk; member
/kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/
Dmeson-g12.dtsi21 clock-names = "mclk", "sclk", "lrclk";
32 clock-names = "mclk", "sclk", "lrclk";
43 clock-names = "mclk", "sclk", "lrclk";
209 "lrclk", "lrclk_sel";
225 "lrclk", "lrclk_sel";
241 "lrclk", "lrclk_sel";
257 "lrclk", "lrclk_sel";
299 "lrclk", "lrclk_sel";
314 "lrclk", "lrclk_sel";
329 "lrclk", "lrclk_sel";
Dmeson-sm1.dtsi23 clock-names = "mclk", "sclk", "lrclk";
34 clock-names = "mclk", "sclk", "lrclk";
45 clock-names = "mclk", "sclk", "lrclk";
307 "lrclk", "lrclk_sel";
323 "lrclk", "lrclk_sel";
339 "lrclk", "lrclk_sel";
355 "lrclk", "lrclk_sel";
370 "lrclk", "lrclk_sel";
385 "lrclk", "lrclk_sel";
400 "lrclk", "lrclk_sel";
Dmeson-axg.dtsi30 clock-names = "mclk", "sclk", "lrclk";
41 clock-names = "mclk", "sclk", "lrclk";
52 clock-names = "mclk", "sclk", "lrclk";
1295 "lrclk", "lrclk_sel";
1309 "lrclk", "lrclk_sel";
1323 "lrclk", "lrclk_sel";
1337 "lrclk", "lrclk_sel";
1374 "lrclk", "lrclk_sel";
1388 "lrclk", "lrclk_sel";
1402 "lrclk", "lrclk_sel";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dwm8960.txt12 - wlf,shared-lrclk: This is a boolean property. If present, the LRCM bit of
18 DACLRC pin. If shared-lrclk is present, no need to enable DAC for captrue.
41 wlf,shared-lrclk;
Damlogic,axg-tdm-iface.txt8 * "lrclk": sample clock
21 clock-names = "mclk", "sclk", "lrclk";
Damlogic,axg-tdm-formatters.txt17 * "lrclk" : sample clock
35 "lrclk", "lrclk_sel";
/kernel/linux/linux-5.10/sound/soc/fsl/
Dfsl_mqs.c54 int lrclk; in fsl_mqs_hw_params() local
57 lrclk = params_rate(params); in fsl_mqs_hw_params()
64 div = mclk_rate / (32 * lrclk * 2 * 8); in fsl_mqs_hw_params()
65 res = mclk_rate % (32 * lrclk * 2 * 8); in fsl_mqs_hw_params()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dwm8960.c129 int lrclk; member
179 if (abs(deemph_settings[i] - wm8960->lrclk) < in wm8960_set_deemph()
180 abs(deemph_settings[best] - wm8960->lrclk)) in wm8960_set_deemph()
626 int sysclk, bclk, lrclk; in wm8960_configure_sysclk() local
634 lrclk = wm8960->lrclk; in wm8960_configure_sysclk()
642 if (sysclk != dac_divs[j] * lrclk) in wm8960_configure_sysclk()
689 int sysclk, bclk, lrclk, freq_out; in wm8960_configure_pll() local
694 lrclk = wm8960->lrclk; in wm8960_configure_pll()
710 sysclk = lrclk * dac_divs[j]; in wm8960_configure_pll()
849 wm8960->lrclk = params_rate(params); in wm8960_hw_params()
Dwm2200.c1565 int lrclk, bclk, fmt_val; in wm2200_set_fmt() local
1567 lrclk = 0; in wm2200_set_fmt()
1587 lrclk |= WM2200_AIF1TX_LRCLK_MSTR; in wm2200_set_fmt()
1593 lrclk |= WM2200_AIF1TX_LRCLK_MSTR; in wm2200_set_fmt()
1607 lrclk |= WM2200_AIF1TX_LRCLK_INV; in wm2200_set_fmt()
1613 lrclk |= WM2200_AIF1TX_LRCLK_INV; in wm2200_set_fmt()
1623 lrclk); in wm2200_set_fmt()
1626 lrclk); in wm2200_set_fmt()
1698 int i, bclk, lrclk, wl, fl, sr_code; in wm2200_hw_params() local
1755 lrclk = bclk_rates[bclk] / params_rate(params); in wm2200_hw_params()
[all …]
Darizona.c1446 int lrclk, bclk, mode, base; in arizona_set_fmt() local
1450 lrclk = 0; in arizona_set_fmt()
1486 lrclk |= ARIZONA_AIF1TX_LRCLK_MSTR; in arizona_set_fmt()
1493 lrclk |= ARIZONA_AIF1TX_LRCLK_MSTR; in arizona_set_fmt()
1506 lrclk |= ARIZONA_AIF1TX_LRCLK_INV; in arizona_set_fmt()
1512 lrclk |= ARIZONA_AIF1TX_LRCLK_INV; in arizona_set_fmt()
1524 ARIZONA_AIF1TX_LRCLK_MSTR, lrclk); in arizona_set_fmt()
1528 ARIZONA_AIF1RX_LRCLK_MSTR, lrclk); in arizona_set_fmt()
1754 int base, int bclk, int lrclk, int frame) in arizona_aif_cfg_changed() argument
1763 if (lrclk != (val & ARIZONA_AIF1TX_BCPF_MASK)) in arizona_aif_cfg_changed()
[all …]
Dwm5100.c1282 int lrclk, bclk, mask, base; in wm5100_set_fmt() local
1286 lrclk = 0; in wm5100_set_fmt()
1306 lrclk |= WM5100_AIF1TX_LRCLK_MSTR; in wm5100_set_fmt()
1312 lrclk |= WM5100_AIF1TX_LRCLK_MSTR; in wm5100_set_fmt()
1326 lrclk |= WM5100_AIF1TX_LRCLK_INV; in wm5100_set_fmt()
1332 lrclk |= WM5100_AIF1TX_LRCLK_INV; in wm5100_set_fmt()
1341 WM5100_AIF1TX_LRCLK_INV, lrclk); in wm5100_set_fmt()
1343 WM5100_AIF1TX_LRCLK_INV, lrclk); in wm5100_set_fmt()
1402 int i, base, bclk, aif_rate, lrclk, wl, fl, sr; in wm5100_hw_params() local
1476 lrclk = bclk_rates[bclk] / params_rate(params); in wm5100_hw_params()
[all …]
Dmax98090.c1493 if (!max98090->bclk || !max98090->lrclk) { in max98090_configure_bclk()
1507 (lrclk_rates[i] == max98090->lrclk)) { in max98090_configure_bclk()
1524 (user_lrclk_rates[i] == max98090->lrclk)) { in max98090_configure_bclk()
1562 ni = 65536ULL * (max98090->lrclk < 50000 ? 96ULL : 48ULL) in max98090_configure_bclk()
1563 * (unsigned long long int)max98090->lrclk; in max98090_configure_bclk()
1937 max98090->lrclk = params_rate(params); in max98090_dai_hw_params()
1951 cdata->rate = max98090->lrclk; in max98090_dai_hw_params()
1954 if (max98090->lrclk < 24000) in max98090_dai_hw_params()
1962 if (max98090->lrclk < 50000) in max98090_dai_hw_params()
1970 max98090->lrclk); in max98090_dai_hw_params()
Dwm8962.c60 int lrclk; member
2416 if (!wm8962->bclk || !wm8962->lrclk) { in wm8962_configure_bclk()
2422 if (sysclk_rates[i] == wm8962->sysclk_rate / wm8962->lrclk) { in wm8962_configure_bclk()
2430 wm8962->sysclk_rate / wm8962->lrclk); in wm8962_configure_bclk()
2494 aif2 |= wm8962->bclk / wm8962->lrclk; in wm8962_configure_bclk()
2496 wm8962->bclk / wm8962->lrclk, wm8962->lrclk); in wm8962_configure_bclk()
2566 wm8962->lrclk = params_rate(params); in wm8962_hw_params()
2569 if (sr_vals[i].rate == wm8962->lrclk) { in wm8962_hw_params()
2575 dev_err(component->dev, "Unsupported rate %dHz\n", wm8962->lrclk); in wm8962_hw_params()
2579 if (wm8962->lrclk % 8000 == 0) in wm8962_hw_params()
[all …]
Dmadera.c2759 int lrclk, bclk, mode, base; in madera_set_fmt() local
2763 lrclk = 0; in madera_set_fmt()
2799 lrclk |= MADERA_AIF1TX_LRCLK_MSTR; in madera_set_fmt()
2806 lrclk |= MADERA_AIF1TX_LRCLK_MSTR; in madera_set_fmt()
2819 lrclk |= MADERA_AIF1TX_LRCLK_INV; in madera_set_fmt()
2825 lrclk |= MADERA_AIF1TX_LRCLK_INV; in madera_set_fmt()
2838 lrclk); in madera_set_fmt()
2841 lrclk); in madera_set_fmt()
3071 int base, int bclk, int lrclk, int frame) in madera_aif_cfg_changed() argument
3080 if (lrclk != (val & MADERA_AIF1RX_BCPF_MASK)) in madera_aif_cfg_changed()
[all …]
Dwm8995.c1555 int lrclk, bclk; in wm8995_hw_params() local
1665 lrclk = bclk_rate / params_rate(params); in wm8995_hw_params()
1667 lrclk, bclk_rate / lrclk); in wm8995_hw_params()
1674 WM8995_AIF1DAC_RATE_MASK, lrclk); in wm8995_hw_params()
Dwm8994.c2766 int lrclk = 0; in wm8994_set_dai_fmt() local
2798 lrclk |= WM8958_AIF1_LRCLK_INV; in wm8994_set_dai_fmt()
2838 lrclk |= WM8958_AIF1_LRCLK_INV; in wm8994_set_dai_fmt()
2845 lrclk |= WM8958_AIF1_LRCLK_INV; in wm8994_set_dai_fmt()
2877 WM8958_AIF1_LRCLK_INV, lrclk); in wm8994_set_dai_fmt()
2879 WM8958_AIF1_LRCLK_INV, lrclk); in wm8994_set_dai_fmt()
2925 int lrclk = 0; in wm8994_hw_params() local
3055 lrclk = bclk_rate / params_rate(params); in wm8994_hw_params()
3056 if (!lrclk) { in wm8994_hw_params()
3062 lrclk, bclk_rate / lrclk); in wm8994_hw_params()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dmarvell,armada-370-pinctrl.txt23 mpp7 7 gpo, ge0(txd1), tdm(dtx), audio(lrclk)
66 mpp45 45 gpo, dev(ad6), audio(lrclk)
91 mpp61 61 gpo, dev(we1), uart1(txd), audio(lrclk)
Dmarvell,kirkwood-pinctrl.txt53 mpp41 41 gpio, audio(lrclk)
139 mpp25 25 gpio, ge1(rxd1), ts(mp5), tdm(spi-sck), audio(lrclk)
188 mpp25 25 gpio, ge1(rxd1), ts(mp5), tdm(spi-sck), audio(lrclk)
204 mpp41 41 gpio, ts(mp5), tdm(spi-miso), audio(lrclk)
253 mpp25 25 gpio, ge1(rxd1), ts(mp5), tdm(spi-sck), audio(lrclk),
274 mpp41 41 gpio, ts(mp5), tdm(spi-miso), audio(lrclk), lcd(d21)
/kernel/linux/linux-5.10/sound/soc/bcm/
Dcygnus-ssp.h100 u32 lrclk; member
Dcygnus-ssp.c553 bit_rate = aio->bit_per_frame * aio->lrclk; in cygnus_ssp_set_clocks()
579 aio->lrclk, aio->bit_per_frame, aio->mclk); in cygnus_ssp_set_clocks()
616 aio->bit_per_frame, aio->mclk, aio->lrclk); in cygnus_ssp_set_clocks()
704 aio->lrclk = rate; in cygnus_ssp_hw_params()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dimx6q-dms-ba16.dts100 lrclk-strength = <0x3>;

12