Home
last modified time | relevance | path

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

12

/linux-5.19.10/Documentation/devicetree/bindings/pinctrl/
Dcirrus,lochnagar.yaml87 codec-aif1-rxdat, codec-aif1-lrclk, codec-aif1-txdat,
88 codec-aif2-bclk, codec-aif2-rxdat, codec-aif2-lrclk,
90 codec-aif3-lrclk, codec-aif3-txdat, dsp-aif1-bclk,
91 dsp-aif1-rxdat, dsp-aif1-lrclk, dsp-aif1-txdat,
92 dsp-aif2-bclk, dsp-aif2-rxdat, dsp-aif2-lrclk,
93 dsp-aif2-txdat, psia1-bclk, psia1-rxdat, psia1-lrclk,
94 psia1-txdat, psia2-bclk, psia2-rxdat, psia2-lrclk,
96 gf-aif3-lrclk, gf-aif3-txdat, gf-aif4-bclk,
97 gf-aif4-rxdat, gf-aif4-lrclk, gf-aif4-txdat,
98 gf-aif1-bclk, gf-aif1-rxdat, gf-aif1-lrclk,
[all …]
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)
/linux-5.19.10/sound/soc/cirrus/
Dep93xx-i2s.c76 struct clk *lrclk; member
116 clk_prepare_enable(info->lrclk); in ep93xx_i2s_enable()
159 clk_disable_unprepare(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()
/linux-5.19.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()
293 formatter->lrclk = devm_clk_get(dev, "lrclk"); in axg_tdm_formatter_probe()
294 if (IS_ERR(formatter->lrclk)) in axg_tdm_formatter_probe()
295 return dev_err_probe(dev, PTR_ERR(formatter->lrclk), "failed to get lrclk\n"); 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()
524 iface->lrclk = devm_clk_get(dev, "lrclk"); in axg_tdm_iface_probe()
525 if (IS_ERR(iface->lrclk)) in axg_tdm_iface_probe()
526 return dev_err_probe(dev, PTR_ERR(iface->lrclk), "failed to get lrclk\n"); in axg_tdm_iface_probe()
Daxg-tdm.h28 struct clk *lrclk; member
/linux-5.19.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";
287 "lrclk", "lrclk_sel";
303 "lrclk", "lrclk_sel";
319 "lrclk", "lrclk_sel";
335 "lrclk", "lrclk_sel";
377 "lrclk", "lrclk_sel";
392 "lrclk", "lrclk_sel";
407 "lrclk", "lrclk_sel";
Dmeson-axg.dtsi31 clock-names = "mclk", "sclk", "lrclk";
42 clock-names = "mclk", "sclk", "lrclk";
53 clock-names = "mclk", "sclk", "lrclk";
1417 "lrclk", "lrclk_sel";
1431 "lrclk", "lrclk_sel";
1445 "lrclk", "lrclk_sel";
1459 "lrclk", "lrclk_sel";
1496 "lrclk", "lrclk_sel";
1510 "lrclk", "lrclk_sel";
1524 "lrclk", "lrclk_sel";
/linux-5.19.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";
Dsgtl5000.yaml52 lrclk-strength:
/linux-5.19.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()
/linux-5.19.10/sound/soc/codecs/
Dwm8960.c132 int lrclk; member
183 if (abs(deemph_settings[i] - wm8960->lrclk) < in wm8960_set_deemph()
184 abs(deemph_settings[best] - wm8960->lrclk)) in wm8960_set_deemph()
630 int sysclk, bclk, lrclk; in wm8960_configure_sysclk() local
638 lrclk = wm8960->lrclk; in wm8960_configure_sysclk()
646 if (sysclk != dac_divs[j] * lrclk) in wm8960_configure_sysclk()
693 int sysclk, bclk, lrclk, freq_out; in wm8960_configure_pll() local
698 lrclk = wm8960->lrclk; in wm8960_configure_pll()
714 sysclk = lrclk * dac_divs[j]; in wm8960_configure_pll()
853 wm8960->lrclk = params_rate(params); in wm8960_hw_params()
Dwm2200.c1557 int lrclk, bclk, fmt_val; in wm2200_set_fmt() local
1559 lrclk = 0; in wm2200_set_fmt()
1579 lrclk |= WM2200_AIF1TX_LRCLK_MSTR; in wm2200_set_fmt()
1585 lrclk |= WM2200_AIF1TX_LRCLK_MSTR; in wm2200_set_fmt()
1599 lrclk |= WM2200_AIF1TX_LRCLK_INV; in wm2200_set_fmt()
1605 lrclk |= WM2200_AIF1TX_LRCLK_INV; in wm2200_set_fmt()
1615 lrclk); in wm2200_set_fmt()
1618 lrclk); in wm2200_set_fmt()
1690 int i, bclk, lrclk, wl, fl, sr_code; in wm2200_hw_params() local
1747 lrclk = bclk_rates[bclk] / params_rate(params); in wm2200_hw_params()
[all …]
Darizona.c1447 int lrclk, bclk, mode, base; in arizona_set_fmt() local
1451 lrclk = 0; in arizona_set_fmt()
1487 lrclk |= ARIZONA_AIF1TX_LRCLK_MSTR; in arizona_set_fmt()
1494 lrclk |= ARIZONA_AIF1TX_LRCLK_MSTR; in arizona_set_fmt()
1507 lrclk |= ARIZONA_AIF1TX_LRCLK_INV; in arizona_set_fmt()
1513 lrclk |= ARIZONA_AIF1TX_LRCLK_INV; in arizona_set_fmt()
1525 ARIZONA_AIF1TX_LRCLK_MSTR, lrclk); in arizona_set_fmt()
1529 ARIZONA_AIF1RX_LRCLK_MSTR, lrclk); in arizona_set_fmt()
1755 int base, int bclk, int lrclk, int frame) in arizona_aif_cfg_changed() argument
1764 if (lrclk != (val & ARIZONA_AIF1RX_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.c1500 if (!max98090->bclk || !max98090->lrclk) { in max98090_configure_bclk()
1514 (lrclk_rates[i] == max98090->lrclk)) { in max98090_configure_bclk()
1531 (user_lrclk_rates[i] == max98090->lrclk)) { in max98090_configure_bclk()
1569 ni = 65536ULL * (max98090->lrclk < 50000 ? 96ULL : 48ULL) in max98090_configure_bclk()
1570 * (unsigned long long int)max98090->lrclk; in max98090_configure_bclk()
1944 max98090->lrclk = params_rate(params); in max98090_dai_hw_params()
1958 cdata->rate = max98090->lrclk; in max98090_dai_hw_params()
1961 if (max98090->lrclk < 24000) in max98090_dai_hw_params()
1969 if (max98090->lrclk < 50000) in max98090_dai_hw_params()
1977 max98090->lrclk); in max98090_dai_hw_params()
Dwm8962.c60 int lrclk; member
2430 if (!wm8962->bclk || !wm8962->lrclk) { in wm8962_configure_bclk()
2436 if (sysclk_rates[i] == wm8962->sysclk_rate / wm8962->lrclk) { in wm8962_configure_bclk()
2444 wm8962->sysclk_rate / wm8962->lrclk); in wm8962_configure_bclk()
2510 aif2 |= wm8962->bclk / wm8962->lrclk; in wm8962_configure_bclk()
2512 wm8962->bclk / wm8962->lrclk, wm8962->lrclk); in wm8962_configure_bclk()
2582 wm8962->lrclk = params_rate(params); in wm8962_hw_params()
2585 if (sr_vals[i].rate == wm8962->lrclk) { in wm8962_hw_params()
2591 dev_err(component->dev, "Unsupported rate %dHz\n", wm8962->lrclk); in wm8962_hw_params()
2595 if (wm8962->lrclk % 8000 == 0) in wm8962_hw_params()
[all …]
Dmadera.c2765 int lrclk, bclk, mode, base; in madera_set_fmt() local
2769 lrclk = 0; in madera_set_fmt()
2805 lrclk |= MADERA_AIF1TX_LRCLK_MSTR; in madera_set_fmt()
2812 lrclk |= MADERA_AIF1TX_LRCLK_MSTR; in madera_set_fmt()
2825 lrclk |= MADERA_AIF1TX_LRCLK_INV; in madera_set_fmt()
2831 lrclk |= MADERA_AIF1TX_LRCLK_INV; in madera_set_fmt()
2844 lrclk); in madera_set_fmt()
2847 lrclk); in madera_set_fmt()
3077 int base, int bclk, int lrclk, int frame) in madera_aif_cfg_changed() argument
3086 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()
/linux-5.19.10/sound/soc/bcm/
Dcygnus-ssp.h100 u32 lrclk; member
/linux-5.19.10/arch/arm/boot/dts/
Dimx6q-dms-ba16.dts100 lrclk-strength = <0x3>;

12