Lines Matching defs:kcontrol
718 struct snd_kcontrol *kcontrol, int event)
737 static int tx_macro_put_dec_enum(struct snd_kcontrol *kcontrol,
740 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol);
742 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value;
800 return snd_soc_dapm_put_enum_double(kcontrol, ucontrol);
803 static int tx_macro_tx_mixer_get(struct snd_kcontrol *kcontrol,
806 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol);
808 struct soc_mixer_control *mc = (struct soc_mixer_control *)kcontrol->private_value;
821 static int tx_macro_tx_mixer_put(struct snd_kcontrol *kcontrol,
824 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol);
827 struct soc_mixer_control *mc = (struct soc_mixer_control *)kcontrol->private_value;
848 snd_soc_dapm_mixer_update_power(widget->dapm, kcontrol, enable, update);
854 struct snd_kcontrol *kcontrol, int event)
1014 static int tx_macro_dec_mode_get(struct snd_kcontrol *kcontrol,
1017 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol);
1019 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value;
1027 static int tx_macro_dec_mode_put(struct snd_kcontrol *kcontrol,
1030 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol);
1032 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value;
1044 static int tx_macro_get_bcs(struct snd_kcontrol *kcontrol,
1047 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol);
1055 static int tx_macro_set_bcs(struct snd_kcontrol *kcontrol,
1058 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol);