Lines Matching +full:i2s +full:- +full:out
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"
28 "DISABLED", "I2S", "PCM",
38 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in aiu_acodec_ctrl_mux_put_enum()
41 mux = snd_soc_enum_item_to_val(e, ucontrol->value.enumerated.item[0]); in aiu_acodec_ctrl_mux_put_enum()
42 changed = snd_soc_component_test_bits(component, e->reg, in aiu_acodec_ctrl_mux_put_enum()
53 snd_soc_component_update_bits(component, e->reg, in aiu_acodec_ctrl_mux_put_enum()
80 SND_SOC_DAPM_SWITCH("ACODEC OUT EN", SND_SOC_NOPM, 0, 0,
95 /* The glue will provide 1 lane out of the 4 to the output */ in aiu_acodec_ctrl_input_hw_params()
97 data->params.channels_min = min_t(unsigned int, AIU_ACODEC_OUT_CHMAX, in aiu_acodec_ctrl_input_hw_params()
98 data->params.channels_min); in aiu_acodec_ctrl_input_hw_params()
99 data->params.channels_max = min_t(unsigned int, AIU_ACODEC_OUT_CHMAX, in aiu_acodec_ctrl_input_hw_params()
100 data->params.channels_max); in aiu_acodec_ctrl_input_hw_params()
144 [CTRL_I2S] = AIU_ACODEC_INPUT("ACODEC I2S IN"),
146 [CTRL_OUT] = AIU_ACODEC_OUTPUT("ACODEC OUT"),
150 { "ACODEC SRC", "I2S", "ACODEC I2S IN Playback" },
152 { "ACODEC OUT EN", "Switch", "ACODEC SRC" },
153 { "ACODEC OUT Capture", NULL, "ACODEC OUT EN" },
157 SOC_SINGLE("ACODEC I2S Lane Select", AIU_ACODEC_CTRL,
174 * regardless of the link format (i2s or left_j) so it is not clear what in aiu_acodec_ctrl_component_probe()