Lines Matching +full:out +full:- +full:mono
2 * wm8750.c -- WM8750 ALSA SoC audio driver
113 static const char *wm8750_mono_mux[] = {"Stereo", "Mono (Left)",
114 "Mono (Right)", "Digital Mono"};
148 SOC_ENUM("Playback De-emphasis", wm8750_enum[15]),
161 SOC_ENUM("Treble Cut-off", wm8750_enum[2]),
165 SOC_ENUM("3D Lower Cut-off", wm8750_enum[3]),
166 SOC_ENUM("3D Upper Cut-off", wm8750_enum[4]),
189 /* ADCDAC Bit 0 - ADCHPD */
190 /* ADCDAC Bit 4 - HPOR */
191 /* ADCTL1 Bit 2,3 - DATSEL */
192 /* ADCTL1 Bit 4,5 - DMONOMIX */
193 /* ADCTL1 Bit 6,7 - VSEL */
194 /* ADCTL2 Bit 2 - LRCM */
195 /* ADCTL2 Bit 3 - TRI */
196 /* ADCTL3 Bit 5 - HPFLREN */
197 /* ADCTL3 Bit 6 - VROI */
198 /* ADCTL3 Bit 7,8 - ADCLRM */
199 /* ADCIN Bit 4 - LDCM */
200 /* ADCIN Bit 5 - RDCM */
208 SOC_DOUBLE_R("Bypass Mono Playback Volume", WM8750_MOUTM1,
211 SOC_SINGLE("Mono Playback ZC Switch", WM8750_MOUTV, 7, 1, 0),
218 SOC_SINGLE("Mono Playback Volume", WM8750_MOUTV, 0, 127, 0),
242 /* Mono Mixer */
266 /* Out 3 Mux */
274 /* Mono ADC Mux */
285 SND_SOC_DAPM_MIXER("Mono Mixer", WM8750_PWR2, 2, 0,
289 SND_SOC_DAPM_PGA("Right Out 2", WM8750_PWR2, 3, 0, NULL, 0),
290 SND_SOC_DAPM_PGA("Left Out 2", WM8750_PWR2, 4, 0, NULL, 0),
291 SND_SOC_DAPM_PGA("Right Out 1", WM8750_PWR2, 5, 0, NULL, 0),
292 SND_SOC_DAPM_PGA("Left Out 1", WM8750_PWR2, 6, 0, NULL, 0),
310 SND_SOC_DAPM_PGA("Out 3", WM8750_PWR2, 1, 0, NULL, 0),
311 SND_SOC_DAPM_PGA("Mono Out 1", WM8750_PWR2, 2, 0, NULL, 0),
349 /* left out 1 */
350 {"Left Out 1", NULL, "Left Mixer"},
351 {"LOUT1", NULL, "Left Out 1"},
353 /* left out 2 */
354 {"Left Out 2", NULL, "Left Mixer"},
355 {"LOUT2", NULL, "Left Out 2"},
357 /* right out 1 */
358 {"Right Out 1", NULL, "Right Mixer"},
359 {"ROUT1", NULL, "Right Out 1"},
361 /* right out 2 */
362 {"Right Out 2", NULL, "Right Mixer"},
363 {"ROUT2", NULL, "Right Out 2"},
365 /* mono mixer */
366 {"Mono Mixer", "Left Playback Switch", "Left DAC"},
367 {"Mono Mixer", "Left Bypass Switch", "Left Line Mux"},
368 {"Mono Mixer", "Right Playback Switch", "Right DAC"},
369 {"Mono Mixer", "Right Bypass Switch", "Right Line Mux"},
371 /* mono out */
372 {"Mono Out 1", NULL, "Mono Mixer"},
373 {"MONO1", NULL, "Mono Out 1"},
375 /* out 3 */
380 {"Out 3", NULL, "Out3 Mux"},
381 {"OUT3", NULL, "Out 3"},
417 {"Left ADC Mux", "Mono (Left)", "Left PGA Mux"},
418 {"Left ADC Mux", "Digital Mono", "Left PGA Mux"},
422 {"Right ADC Mux", "Mono (Right)", "Right PGA Mux"},
423 {"Right ADC Mux", "Digital Mono", "Right PGA Mux"},
499 return -EINVAL; in get_coeff()
505 struct snd_soc_component *component = codec_dai->component; in wm8750_set_dai_sysclk()
514 wm8750->sysclk = freq; in wm8750_set_dai_sysclk()
517 return -EINVAL; in wm8750_set_dai_sysclk()
523 struct snd_soc_component *component = codec_dai->component; in wm8750_set_dai_fmt()
534 return -EINVAL; in wm8750_set_dai_fmt()
554 return -EINVAL; in wm8750_set_dai_fmt()
571 return -EINVAL; in wm8750_set_dai_fmt()
582 struct snd_soc_component *component = dai->component; in wm8750_pcm_hw_params()
586 int coeff = get_coeff(wm8750->sysclk, params_rate(params)); in wm8750_pcm_hw_params()
614 struct snd_soc_component *component = dai->component; in wm8750_mute()
672 .name = "wm8750-hifi",
751 wm8750 = devm_kzalloc(&spi->dev, sizeof(struct wm8750_priv), in wm8750_spi_probe()
754 return -ENOMEM; in wm8750_spi_probe()
762 ret = devm_snd_soc_register_component(&spi->dev, in wm8750_spi_probe()
792 wm8750 = devm_kzalloc(&i2c->dev, sizeof(struct wm8750_priv), in wm8750_i2c_probe()
795 return -ENOMEM; in wm8750_i2c_probe()
803 ret = devm_snd_soc_register_component(&i2c->dev, in wm8750_i2c_probe()