Lines Matching refs:kc
1256 static int slim_rx_mux_get(struct snd_kcontrol *kc, in slim_rx_mux_get() argument
1259 struct snd_soc_dapm_widget *w = snd_soc_dapm_kcontrol_widget(kc); in slim_rx_mux_get()
1268 static int slim_rx_mux_put(struct snd_kcontrol *kc, in slim_rx_mux_put() argument
1271 struct snd_soc_dapm_widget *w = snd_soc_dapm_kcontrol_widget(kc); in slim_rx_mux_put()
1273 struct soc_enum *e = (struct soc_enum *)kc->private_value; in slim_rx_mux_put()
1310 snd_soc_dapm_mux_update_power(w->dapm, kc, wcd->rx_port_value[port_id], in slim_rx_mux_put()
1318 static int slim_tx_mixer_get(struct snd_kcontrol *kc, in slim_tx_mixer_get() argument
1322 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kc); in slim_tx_mixer_get()
1324 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kc); in slim_tx_mixer_get()
1326 (struct soc_mixer_control *)kc->private_value; in slim_tx_mixer_get()
1335 static int slim_tx_mixer_put(struct snd_kcontrol *kc, in slim_tx_mixer_put() argument
1339 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kc); in slim_tx_mixer_put()
1343 (struct soc_mixer_control *)kc->private_value; in slim_tx_mixer_put()
1367 snd_soc_dapm_mixer_update_power(widget->dapm, kc, enable, update); in slim_tx_mixer_put()
1470 static int wcd9335_put_dec_enum(struct snd_kcontrol *kc, in wcd9335_put_dec_enum() argument
1473 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kc); in wcd9335_put_dec_enum()
1475 struct soc_enum *e = (struct soc_enum *)kc->private_value; in wcd9335_put_dec_enum()
1518 return snd_soc_dapm_put_enum_double(kc, ucontrol); in wcd9335_put_dec_enum()
1521 static int wcd9335_int_dem_inp_mux_put(struct snd_kcontrol *kc, in wcd9335_int_dem_inp_mux_put() argument
1524 struct soc_enum *e = (struct soc_enum *)kc->private_value; in wcd9335_int_dem_inp_mux_put()
1528 component = snd_soc_dapm_kcontrol_component(kc); in wcd9335_int_dem_inp_mux_put()
1545 return snd_soc_dapm_put_enum_double(kc, ucontrol); in wcd9335_int_dem_inp_mux_put()
2172 static int wcd9335_get_compander(struct snd_kcontrol *kc, in wcd9335_get_compander() argument
2176 struct snd_soc_component *component = snd_soc_kcontrol_component(kc); in wcd9335_get_compander()
2177 int comp = ((struct soc_mixer_control *)kc->private_value)->shift; in wcd9335_get_compander()
2184 static int wcd9335_set_compander(struct snd_kcontrol *kc, in wcd9335_set_compander() argument
2187 struct snd_soc_component *component = snd_soc_kcontrol_component(kc); in wcd9335_set_compander()
2189 int comp = ((struct soc_mixer_control *) kc->private_value)->shift; in wcd9335_set_compander()
2223 static int wcd9335_rx_hph_mode_get(struct snd_kcontrol *kc, in wcd9335_rx_hph_mode_get() argument
2226 struct snd_soc_component *component = snd_soc_kcontrol_component(kc); in wcd9335_rx_hph_mode_get()
2234 static int wcd9335_rx_hph_mode_put(struct snd_kcontrol *kc, in wcd9335_rx_hph_mode_put() argument
2237 struct snd_soc_component *component = snd_soc_kcontrol_component(kc); in wcd9335_rx_hph_mode_put()
2602 struct snd_kcontrol *kc, int event) in wcd9335_codec_enable_micbias() argument
2643 struct snd_kcontrol *kc, int event) in wcd9335_codec_enable_adc() argument
2713 struct snd_kcontrol *kc, int event) in wcd9335_codec_enable_dec() argument
2854 struct snd_kcontrol *kc, int event) in wcd9335_codec_enable_dmic() argument
2956 struct snd_kcontrol *kc, in wcd9335_codec_enable_slim() argument
2977 struct snd_kcontrol *kc, int event) in wcd9335_codec_enable_mix_path() argument
3234 struct snd_kcontrol *kc, int event) in wcd9335_codec_enable_interpolator() argument
3467 struct snd_kcontrol *kc, in wcd9335_codec_hphl_dac_event() argument
3517 struct snd_kcontrol *kc, int event) in wcd9335_codec_lineout_dac_event() argument
3537 struct snd_kcontrol *kc, int event) in wcd9335_codec_ear_dac_event() argument
3618 struct snd_kcontrol *kc, in wcd9335_codec_hphr_dac_event() argument
3667 struct snd_kcontrol *kc, in wcd9335_codec_enable_hphl_pa() argument
3715 struct snd_kcontrol *kc, in wcd9335_codec_enable_lineout_pa() argument
3787 struct snd_kcontrol *kc, int event) in wcd9335_codec_enable_rx_bias() argument
3817 struct snd_kcontrol *kc, int event) in wcd9335_codec_enable_hphr_pa() argument
3863 struct snd_kcontrol *kc, int event) in wcd9335_codec_enable_ear_pa() argument
4252 struct snd_kcontrol *kc, int event) in wcd9335_codec_enable_mclk() argument