Lines Matching +full:hdmi +full:- +full:codec
1 // SPDX-License-Identifier: GPL-2.0
9 #include <sound/soc-dai.h>
11 #include <dt-bindings/sound/meson-aiu.h>
13 #include "meson-codec-glue.h"
30 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in aiu_codec_ctrl_mux_put_enum()
33 mux = snd_soc_enum_item_to_val(e, ucontrol->value.enumerated.item[0]); in aiu_codec_ctrl_mux_put_enum()
34 changed = snd_soc_component_test_bits(component, e->reg, in aiu_codec_ctrl_mux_put_enum()
45 snd_soc_component_update_bits(component, e->reg, in aiu_codec_ctrl_mux_put_enum()
52 snd_soc_component_update_bits(component, e->reg, in aiu_codec_ctrl_mux_put_enum()
68 SOC_DAPM_ENUM_EXT("HDMI Source", aiu_hdmi_ctrl_mux_enum,
73 SND_SOC_DAPM_MUX("HDMI CTRL SRC", SND_SOC_NOPM, 0, 0,
104 .name = "CODEC CTRL " xname, \
110 .name = "CODEC CTRL " xname, \
116 [CTRL_I2S] = AIU_CODEC_CTRL_INPUT("HDMI I2S IN"),
117 [CTRL_PCM] = AIU_CODEC_CTRL_INPUT("HDMI PCM IN"),
118 [CTRL_OUT] = AIU_CODEC_CTRL_OUTPUT("HDMI OUT"),
122 { "HDMI CTRL SRC", "I2S", "HDMI I2S IN Playback" },
123 { "HDMI CTRL SRC", "PCM", "HDMI PCM IN Playback" },
124 { "HDMI OUT Capture", NULL, "HDMI CTRL SRC" },
135 .name = "AIU HDMI Codec Control",
143 .debugfs_prefix = "hdmi",