Lines Matching +full:left +full:-
1 // SPDX-License-Identifier: GPL-2.0
56 struct snd_soc_component *component = dai->component; in t9015_dai_set_fmt()
69 return -EINVAL; in t9015_dai_set_fmt()
76 return -EINVAL; in t9015_dai_set_fmt()
86 .name = "t9015-hifi",
100 static const DECLARE_TLV_DB_MINMAX_MUTE(dac_vol_tlv, -9525, 0);
106 static const char * const dacr_in_txt[] = { "Right", "Left" };
109 static const char * const dacl_in_txt[] = { "Left", "Right" };
132 SOC_DAPM_ENUM("Left DAC Source", dacl_in_enum);
136 SND_SOC_DAPM_AIF_IN("Left IN", NULL, 0, SND_SOC_NOPM, 0, 0),
139 SND_SOC_DAPM_MUX("Left DAC Sel", SND_SOC_NOPM, 0, 0,
142 SND_SOC_DAPM_DAC("Left DAC", NULL, BLOCK_EN, DACL_EN, 0),
143 SND_SOC_DAPM_OUT_DRV("Right- Driver", BLOCK_EN, LORN_EN, 0,
147 SND_SOC_DAPM_OUT_DRV("Left- Driver", BLOCK_EN, LOLN_EN, 0,
149 SND_SOC_DAPM_OUT_DRV("Left+ Driver", BLOCK_EN, LOLP_EN, 0,
159 { "Left IN", NULL, "Playback" },
161 { "Right DAC Sel", "Left", "Left IN" },
162 { "Left DAC Sel", "Right", "Right IN" },
163 { "Left DAC Sel", "Left", "Left IN" },
165 { "Left DAC", NULL, "Left DAC Sel" },
166 { "Right- Driver", NULL, "Right DAC" },
168 { "Left- Driver", NULL, "Left DAC" },
169 { "Left+ Driver", NULL, "Left DAC" },
170 { "LORN", NULL, "Right- Driver", },
172 { "LOLN", NULL, "Left- Driver", },
173 { "LOLP", NULL, "Left+ Driver", },
196 ret = regulator_enable(priv->avdd); in t9015_set_bias_level()
198 dev_err(component->dev, "AVDD enable failed\n"); in t9015_set_bias_level()
219 regulator_disable(priv->avdd); in t9015_set_bias_level()
247 struct device *dev = &pdev->dev; in t9015_probe()
256 return -ENOMEM; in t9015_probe()
263 priv->avdd = devm_regulator_get(dev, "AVDD"); in t9015_probe()
264 if (IS_ERR(priv->avdd)) in t9015_probe()
265 return dev_err_probe(dev, PTR_ERR(priv->avdd), "failed to AVDD\n"); in t9015_probe()
304 .name = "t9015-codec",