Lines Matching defs:kc

1260 static int slim_rx_mux_get(struct snd_kcontrol *kc,
1263 struct snd_soc_dapm_widget *w = snd_soc_dapm_kcontrol_widget(kc);
1272 static int slim_rx_mux_put(struct snd_kcontrol *kc,
1275 struct snd_soc_dapm_widget *w = snd_soc_dapm_kcontrol_widget(kc);
1277 struct soc_enum *e = (struct soc_enum *)kc->private_value;
1314 snd_soc_dapm_mux_update_power(w->dapm, kc, wcd->rx_port_value[port_id],
1322 static int slim_tx_mixer_get(struct snd_kcontrol *kc,
1326 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kc);
1328 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kc);
1330 (struct soc_mixer_control *)kc->private_value;
1339 static int slim_tx_mixer_put(struct snd_kcontrol *kc,
1343 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kc);
1347 (struct soc_mixer_control *)kc->private_value;
1371 snd_soc_dapm_mixer_update_power(widget->dapm, kc, enable, update);
1474 static int wcd9335_put_dec_enum(struct snd_kcontrol *kc,
1477 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kc);
1479 struct soc_enum *e = (struct soc_enum *)kc->private_value;
1522 return snd_soc_dapm_put_enum_double(kc, ucontrol);
1525 static int wcd9335_int_dem_inp_mux_put(struct snd_kcontrol *kc,
1528 struct soc_enum *e = (struct soc_enum *)kc->private_value;
1532 component = snd_soc_dapm_kcontrol_component(kc);
1549 return snd_soc_dapm_put_enum_double(kc, ucontrol);
2174 static int wcd9335_get_compander(struct snd_kcontrol *kc,
2178 struct snd_soc_component *component = snd_soc_kcontrol_component(kc);
2179 int comp = ((struct soc_mixer_control *)kc->private_value)->shift;
2186 static int wcd9335_set_compander(struct snd_kcontrol *kc,
2189 struct snd_soc_component *component = snd_soc_kcontrol_component(kc);
2191 int comp = ((struct soc_mixer_control *) kc->private_value)->shift;
2225 static int wcd9335_rx_hph_mode_get(struct snd_kcontrol *kc,
2228 struct snd_soc_component *component = snd_soc_kcontrol_component(kc);
2236 static int wcd9335_rx_hph_mode_put(struct snd_kcontrol *kc,
2239 struct snd_soc_component *component = snd_soc_kcontrol_component(kc);
2604 struct snd_kcontrol *kc, int event)
2645 struct snd_kcontrol *kc, int event)
2715 struct snd_kcontrol *kc, int event)
2902 struct snd_kcontrol *kc, int event)
3011 struct snd_kcontrol *kc,
3032 struct snd_kcontrol *kc, int event)
3289 struct snd_kcontrol *kc, int event)
3522 struct snd_kcontrol *kc,
3572 struct snd_kcontrol *kc, int event)
3592 struct snd_kcontrol *kc, int event)
3673 struct snd_kcontrol *kc,
3722 struct snd_kcontrol *kc,
3770 struct snd_kcontrol *kc,
3842 struct snd_kcontrol *kc, int event)
3872 struct snd_kcontrol *kc, int event)
3918 struct snd_kcontrol *kc, int event)
4307 struct snd_kcontrol *kc, int event)