Lines Matching defs:kcontrol

111 static u32 tegra210_mvc_get_ctrl_reg(struct snd_kcontrol *kcontrol)
113 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol);
124 static int tegra210_mvc_get_mute(struct snd_kcontrol *kcontrol,
127 u32 val = tegra210_mvc_get_ctrl_reg(kcontrol);
150 static int tegra210_mvc_get_master_mute(struct snd_kcontrol *kcontrol,
153 u32 val = tegra210_mvc_get_ctrl_reg(kcontrol);
194 static int tegra210_mvc_update_mute(struct snd_kcontrol *kcontrol,
198 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol);
247 static int tegra210_mvc_put_mute(struct snd_kcontrol *kcontrol,
250 return tegra210_mvc_update_mute(kcontrol, ucontrol, true);
253 static int tegra210_mvc_put_master_mute(struct snd_kcontrol *kcontrol,
256 return tegra210_mvc_update_mute(kcontrol, ucontrol, false);
259 static int tegra210_mvc_get_vol(struct snd_kcontrol *kcontrol,
263 (struct soc_mixer_control *)kcontrol->private_value;
264 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol);
281 static int tegra210_mvc_get_master_vol(struct snd_kcontrol *kcontrol,
284 return tegra210_mvc_get_vol(kcontrol, ucontrol);
287 static int tegra210_mvc_update_vol(struct snd_kcontrol *kcontrol,
292 (struct soc_mixer_control *)kcontrol->private_value;
293 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol);
343 static int tegra210_mvc_put_vol(struct snd_kcontrol *kcontrol,
346 return tegra210_mvc_update_vol(kcontrol, ucontrol, true);
349 static int tegra210_mvc_put_master_vol(struct snd_kcontrol *kcontrol,
352 return tegra210_mvc_update_vol(kcontrol, ucontrol, false);
395 static int tegra210_mvc_get_curve_type(struct snd_kcontrol *kcontrol,
398 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol);
406 static int tegra210_mvc_put_curve_type(struct snd_kcontrol *kcontrol,
409 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol);