Lines Matching +full:video +full:- +full:mux
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * stac9766.c -- ALSA SoC STAC9766 codec support
8 * Features:-
78 static const char *stac9766_record_mux[] = {"Mic", "CD", "Video", "AUX",
110 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(master_tlv, -4650, 150, 0);
112 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(beep_tlv, -4500, 300, 0);
113 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(mix_tlv, -3450, 150, 0);
147 SOC_DOUBLE_TLV("Video Volume", AC97_VIDEO, 8, 0, 31, 1, mix_tlv),
148 SOC_SINGLE("Video Switch", AC97_VIDEO, 15, 1, 1),
156 SOC_ENUM("SPDIF Mux", stac9766_SPDIF_enum),
157 SOC_ENUM("Mic1/2 Mux", stac9766_mic_enum),
158 SOC_ENUM("Record All Mux", stac9766_record_all_enum),
159 SOC_ENUM("Record Mux", stac9766_record_enum),
160 SOC_ENUM("Mono Mux", stac9766_mono_enum),
161 SOC_ENUM("Pop Bypass Mux", stac9766_popbypass_enum),
167 struct snd_soc_component *component = dai->component; in ac97_analog_prepare()
168 struct snd_pcm_runtime *runtime = substream->runtime; in ac97_analog_prepare()
174 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in ac97_analog_prepare()
179 return snd_soc_component_write(component, reg, runtime->rate); in ac97_analog_prepare()
185 struct snd_soc_component *component = dai->component; in ac97_digital_prepare()
186 struct snd_pcm_runtime *runtime = substream->runtime; in ac97_digital_prepare()
196 return snd_soc_component_write(component, reg, runtime->rate); in ac97_digital_prepare()
234 .name = "stac9766-hifi-analog",
255 .name = "stac9766-hifi-IEC958",
320 return devm_snd_soc_register_component(&pdev->dev, in stac9766_probe()
326 .name = "stac9766-codec",