Lines Matching +full:single +full:- +full:ended

1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <sound/soc-dai.h>
57 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in aud96p22_adc_event()
59 struct regmap *regmap = priv->regmap; in aud96p22_adc_event()
62 return -EINVAL; in aud96p22_adc_event()
64 /* Assert/de-assert the bit to reset ADC data path */ in aud96p22_adc_event()
74 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in aud96p22_dac_event()
76 struct regmap *regmap = priv->regmap; in aud96p22_dac_event()
79 return -EINVAL; in aud96p22_dac_event()
81 /* Assert/de-assert the bit to reset DAC data path */ in aud96p22_dac_event()
88 static const DECLARE_TLV_DB_SCALE(lm_tlv, -11550, 50, 0);
89 static const DECLARE_TLV_DB_SCALE(hs_tlv, -3900, 300, 0);
90 static const DECLARE_TLV_DB_SCALE(rec_tlv, -9550, 50, 0);
91 static const DECLARE_TLV_DB_SCALE(pga_tlv, -1800, 100, 0);
120 "AINL1 single-ended",
121 "AINL3 single-ended",
123 "AINL2 single-ended",
128 "AINR1 single-ended",
129 "AINR3 single-ended",
131 "AINR2 single-ended",
218 { "AINLMUX", "AINL1 single-ended", "AINL1P" },
219 { "AINLMUX", "AINL3 single-ended", "AINL3" },
221 { "AINLMUX", "AINL2 single-ended", "AINL2P" },
224 { "AINRMUX", "AINR1 single-ended", "AINR1P" },
225 { "AINRMUX", "AINR3 single-ended", "AINR3" },
227 { "AINRMUX", "AINR2 single-ended", "AINR2P" },
276 struct aud96p22_priv *priv = snd_soc_component_get_drvdata(dai->component); in aud96p22_set_fmt()
277 struct regmap *regmap = priv->regmap; in aud96p22_set_fmt()
289 return -EINVAL; in aud96p22_set_fmt()
306 return -EINVAL; in aud96p22_set_fmt()
324 .name = "aud96p22-dai",
352 struct device *dev = &i2c->dev; in aud96p22_i2c_probe()
358 return -ENOMEM; in aud96p22_i2c_probe()
360 priv->regmap = devm_regmap_init_i2c(i2c, &aud96p22_regmap); in aud96p22_i2c_probe()
361 if (IS_ERR(priv->regmap)) { in aud96p22_i2c_probe()
362 ret = PTR_ERR(priv->regmap); in aud96p22_i2c_probe()
384 { .compatible = "zte,zx-aud96p22", },