Lines Matching full:gain
3 // MediaTek ALSA SoC Audio DAI HW Gain Control
12 #define HW_GAIN_1_EN_W_NAME "HW GAIN 1 Enable"
13 #define HW_GAIN_2_EN_W_NAME "HW GAIN 2 Enable"
58 /* let hw gain ramp up, set cur gain to 0 */ in mtk_hw_gain_event()
61 /* set target gain to 0 */ in mtk_hw_gain_event()
96 SND_SOC_DAPM_INPUT("HW Gain 1 Out Endpoint"),
97 SND_SOC_DAPM_INPUT("HW Gain 2 Out Endpoint"),
98 SND_SOC_DAPM_OUTPUT("HW Gain 1 In Endpoint"),
102 {"HW Gain 1 In", NULL, "HW_GAIN1_IN_CH1"},
103 {"HW Gain 1 In", NULL, "HW_GAIN1_IN_CH2"},
104 {"HW Gain 2 In", NULL, "HW_GAIN2_IN_CH1"},
105 {"HW Gain 2 In", NULL, "HW_GAIN2_IN_CH2"},
107 {"HW Gain 1 In", NULL, HW_GAIN_1_EN_W_NAME},
108 {"HW Gain 1 Out", NULL, HW_GAIN_1_EN_W_NAME},
109 {"HW Gain 2 In", NULL, HW_GAIN_2_EN_W_NAME},
110 {"HW Gain 2 Out", NULL, HW_GAIN_2_EN_W_NAME},
112 {"HW Gain 1 In Endpoint", NULL, "HW Gain 1 In"},
113 {"HW Gain 1 Out", NULL, "HW Gain 1 Out Endpoint"},
114 {"HW Gain 2 Out", NULL, "HW Gain 2 Out Endpoint"},
118 SOC_SINGLE("HW Gain 1 Volume", AFE_GAIN1_CON1,
120 SOC_SINGLE("HW Gain 2 Volume", AFE_GAIN2_CON1,
171 .name = "HW Gain 1",
174 .stream_name = "HW Gain 1 In",
181 .stream_name = "HW Gain 1 Out",
193 .name = "HW Gain 2",
196 .stream_name = "HW Gain 2 In",
203 .stream_name = "HW Gain 2 Out",