Home
last modified time | relevance | path

Searched refs:soc_mixer_control (Results 1 – 25 of 77) sorted by relevance

1234

/linux/sound/soc/
H A Dsoc-ops.c113 static int soc_mixer_reg_to_ctl(struct soc_mixer_control *mc, unsigned int reg_val, in sdca_soc_q78_reg_to_ctl()
136 static unsigned int soc_mixer_ctl_to_reg(struct soc_mixer_control *mc, int val, in sdca_soc_q78_ctl_to_reg()
150 static int soc_mixer_valid_ctl(struct soc_mixer_control *mc, long val, int max) in soc_mixer_reg_to_ctl()
164 static int soc_mixer_mask(struct soc_mixer_control *mc) in soc_mixer_reg_to_ctl()
172 static int soc_mixer_sx_mask(struct soc_mixer_control *mc) in soc_mixer_ctl_to_reg()
180 struct soc_mixer_control *mc, int max)
204 struct soc_mixer_control *mc, int mask, int max) in soc_mixer_sx_mask()
255 struct soc_mixer_control *mc, int mask, int max, bool sx) in soc_put_volsw()
293 struct soc_mixer_control *mc = in soc_get_volsw()
294 (struct soc_mixer_control *)kcontro in soc_get_volsw()
[all...]
H A Dsoc-card-test.c37 struct soc_mixer_control *mc; in test_snd_soc_card_get_kcontrol()
52 mc = (struct soc_mixer_control *)kc->private_value; in test_snd_soc_card_get_kcontrol()
/linux/sound/soc/sof/
H A Dcontrol.c21 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_get()
36 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_put()
50 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_info()
73 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_switch_get()
88 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontro in snd_sof_switch_put()
[all...]
/linux/include/sound/
H A Dtas2781-comlib-i2c.h30 struct snd_ctl_elem_value *ucontrol, struct soc_mixer_control *mc);
32 struct snd_ctl_elem_value *ucontrol, struct soc_mixer_control *mc);
34 struct snd_ctl_elem_value *ucontrol, struct soc_mixer_control *mc);
36 struct snd_ctl_elem_value *ucontrol, struct soc_mixer_control *mc);
/linux/sound/soc/tegra/
H A Dtegra186_asrc.c275 struct soc_mixer_control *asrc_private = in tegra186_asrc_get_ratio_int()
276 (struct soc_mixer_control *)kcontrol->private_value; in tegra186_asrc_get_ratio_int()
293 struct soc_mixer_control *asrc_private = in tegra186_asrc_put_ratio_int()
294 (struct soc_mixer_control *)kcontrol->private_value; in tegra186_asrc_put_ratio_int()
371 struct soc_mixer_control *asrc_private = in tegra186_asrc_get_hwcomp_disable()
372 (struct soc_mixer_control *)kcontrol->private_value; in tegra186_asrc_get_hwcomp_disable()
385 struct soc_mixer_control *asrc_private = in tegra186_asrc_put_hwcomp_disable()
386 (struct soc_mixer_control *)kcontrol->private_value; in tegra186_asrc_put_hwcomp_disable()
403 struct soc_mixer_control *asrc_private = in tegra186_asrc_get_input_threshold()
404 (struct soc_mixer_control *)kcontrol->private_value; in tegra186_asrc_get_input_threshold()
[all …]
H A Dtegra210_mixer.c201 struct soc_mixer_control *mc = in tegra210_mixer_get_fade_duration()
202 (struct soc_mixer_control *)kcontrol->private_value; in tegra210_mixer_get_fade_duration()
214 struct soc_mixer_control *mc = in tegra210_mixer_put_fade_duration()
215 (struct soc_mixer_control *)kcontrol->private_value; in tegra210_mixer_put_fade_duration()
237 struct soc_mixer_control *mc = in tegra210_mixer_get_fade_gain()
238 (struct soc_mixer_control *)kcontrol->private_value; in tegra210_mixer_get_fade_gain()
250 struct soc_mixer_control *mc = in tegra210_mixer_put_fade_gain()
251 (struct soc_mixer_control *)kcontrol->private_value; in tegra210_mixer_put_fade_gain()
400 struct soc_mixer_control *mc = in tegra210_mixer_get_gain()
401 (struct soc_mixer_control *)kcontrol->private_value; in tegra210_mixer_get_gain()
[all …]
H A Dtegra210_mbdrc.c236 struct soc_mixer_control *mc = in tegra210_mbdrc_get()
237 (struct soc_mixer_control *)kcontrol->private_value; in tegra210_mbdrc_get()
252 struct soc_mixer_control *mc = in tegra210_mbdrc_put()
253 (struct soc_mixer_control *)kcontrol->private_value; in tegra210_mbdrc_put()
459 struct soc_mixer_control *mc = in tegra210_mbdrc_vol_get()
460 (struct soc_mixer_control *)kcontrol->private_value; in tegra210_mbdrc_vol_get()
476 struct soc_mixer_control *mc = in tegra210_mbdrc_vol_put()
477 (struct soc_mixer_control *)kcontrol->private_value; in tegra210_mbdrc_vol_put()
H A Dtegra210_peq.c101 struct soc_mixer_control *mc = in tegra210_peq_get()
102 (struct soc_mixer_control *)kcontrol->private_value; in tegra210_peq_get()
124 struct soc_mixer_control *mc = in tegra210_peq_put()
125 (struct soc_mixer_control *)kcontrol->private_value; in tegra210_peq_put()
H A Dtegra210_adx.c213 struct soc_mixer_control *mc = in tegra210_adx_get_byte_map()
214 (struct soc_mixer_control *)kcontrol->private_value; in tegra210_adx_get_byte_map()
226 struct soc_mixer_control *mc = in tegra210_adx_put_byte_map()
227 (struct soc_mixer_control *)kcontrol->private_value; in tegra210_adx_put_byte_map()
H A Dtegra210_mvc.c260 struct soc_mixer_control *mc = in tegra210_mvc_get_vol()
261 (struct soc_mixer_control *)kcontrol->private_value; in tegra210_mvc_get_vol()
289 struct soc_mixer_control *mc = in tegra210_mvc_update_vol()
290 (struct soc_mixer_control *)kcontrol->private_value; in tegra210_mvc_update_vol()
H A Dtegra210_amx.c233 struct soc_mixer_control *mc = in tegra210_amx_get_byte_map()
234 (struct soc_mixer_control *)kcontrol->private_value; in tegra210_amx_get_byte_map()
245 struct soc_mixer_control *mc = in tegra210_amx_put_byte_map()
246 (struct soc_mixer_control *)kcontrol->private_value; in tegra210_amx_put_byte_map()
/linux/sound/soc/codecs/aw88395/
H A Daw88395.c121 struct soc_mixer_control *mc = in aw88395_set_fade_in_time()
122 (struct soc_mixer_control *)kcontrol->private_value; in aw88395_set_fade_in_time()
156 struct soc_mixer_control *mc = in aw88395_set_fade_out_time()
157 (struct soc_mixer_control *)kcontrol->private_value; in aw88395_set_fade_out_time()
260 struct soc_mixer_control *mc = in aw88395_volume_set()
261 (struct soc_mixer_control *)kcontrol->private_value; in aw88395_volume_set()
294 struct soc_mixer_control *mc = in aw88395_set_fade_step()
295 (struct soc_mixer_control *)kcontrol->private_value; in aw88395_set_fade_step()
327 struct soc_mixer_control *mc = in aw88395_re_set()
328 (struct soc_mixer_control *)kcontro in aw88395_re_set()
[all...]
/linux/sound/hda/codecs/side-codecs/
H A Dtas2781_hda_spi.c247 struct snd_ctl_elem_value *ucontrol, struct soc_mixer_control *mc) in tasdevice_spi_amp_putvol()
269 struct snd_ctl_elem_value *ucontrol, struct soc_mixer_control *mc) in tasdevice_spi_amp_getvol()
292 struct snd_ctl_elem_value *ucontrol, struct soc_mixer_control *mc) in tasdevice_spi_digital_putvol()
308 struct snd_ctl_elem_value *ucontrol, struct soc_mixer_control *mc) in tasdevice_spi_digital_getvol()
429 struct soc_mixer_control *mc = in tas2781_digital_getvol()
430 (struct soc_mixer_control *)kcontrol->private_value; in tas2781_digital_getvol()
440 struct soc_mixer_control *mc = in tas2781_amp_getvol()
441 (struct soc_mixer_control *)kcontrol->private_value; in tas2781_amp_getvol()
451 struct soc_mixer_control *mc = in tas2781_digital_putvol()
452 (struct soc_mixer_control *)kcontrol->private_value; in tas2781_digital_putvol()
[all …]
H A Dtas2781_hda.h32 .private_value = (unsigned long)&(struct soc_mixer_control) { \
/linux/sound/soc/ti/
H A Domap-mcbsp-st.c363 struct soc_mixer_control *mc = in omap_mcbsp_st_init()
364 (struct soc_mixer_control *)kcontrol->private_value; in omap_mcbsp_st_init()
382 struct soc_mixer_control *mc = \ in omap_mcbsp_st_info_volsw()
383 (struct soc_mixer_control *)kc->private_value; \ in omap_mcbsp_st_info_volsw()
446 .private_value = (unsigned long)&(struct soc_mixer_control) \ in omap_mcbsp_st_get_mode()
/linux/sound/soc/codecs/
H A D88pm860x-codec.c270 struct soc_mixer_control *mc = in snd_soc_get_volsw_2r_st()
271 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw_2r_st()
294 struct soc_mixer_control *mc = in snd_soc_put_volsw_2r_st()
295 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw_2r_st()
327 struct soc_mixer_control *mc = in snd_soc_get_volsw_2r_out()
328 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw_2r_out()
347 struct soc_mixer_control *mc = in snd_soc_put_volsw_2r_out()
348 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw_2r_out()
H A Daw88081.c825 struct soc_mixer_control *mc = in aw88081_set_fade_in_time()
826 (struct soc_mixer_control *)kcontrol->private_value; in aw88081_set_fade_in_time()
860 struct soc_mixer_control *mc = in aw88081_set_fade_out_time()
861 (struct soc_mixer_control *)kcontrol->private_value; in aw88081_set_fade_out_time()
978 struct soc_mixer_control *mc = in aw88081_volume_set()
979 (struct soc_mixer_control *)kcontrol->private_value; in aw88081_volume_set()
1016 struct soc_mixer_control *mc = in aw88081_set_fade_step()
1017 (struct soc_mixer_control *)kcontrol->private_value; in aw88081_set_fade_step()
H A Daw88261.c998 struct soc_mixer_control *mc =
999 (struct soc_mixer_control *)kcontrol->private_value;
H A Dwsa881x.c742 struct soc_mixer_control *mc = in wsa881x_component_probe()
743 (struct soc_mixer_control *)kc->private_value;
788 struct soc_mixer_control *mixer =
789 (struct soc_mixer_control *)kcontrol->private_value; in wsa881x_get_port()
820 struct soc_mixer_control *mixer =
821 (struct soc_mixer_control *)kcontrol->private_value; in wsa881x_set_port()
H A Daw88166.c1295 struct soc_mixer_control *mc = in aw88166_start()
1296 (struct soc_mixer_control *)kcontrol->private_value; in aw88166_start()
1330 struct soc_mixer_control *mc =
1331 (struct soc_mixer_control *)kcontrol->private_value; in aw88166_stop()
1449 struct soc_mixer_control *mc = in aw88166_set_fade_out_time()
1450 (struct soc_mixer_control *)kcontrol->private_value; in aw88166_set_fade_out_time()
1483 struct soc_mixer_control *mc = in aw88166_profile_info()
1484 (struct soc_mixer_control *)kcontrol->private_value; in aw88166_profile_info()
1516 struct soc_mixer_control *mc = in aw88166_profile_get()
1517 (struct soc_mixer_control *)kcontro in aw88166_profile_get()
[all...]
H A Dtas2781-i2c.c170 struct soc_mixer_control *mc = in tas2781_digital_getvol()
171 (struct soc_mixer_control *)kcontrol->private_value; in tas2781_digital_getvol()
181 struct soc_mixer_control *mc = in tas2781_digital_putvol()
182 (struct soc_mixer_control *)kcontrol->private_value; in tas2781_digital_putvol()
192 struct soc_mixer_control *mc = in tas2781_amp_getvol()
193 (struct soc_mixer_control *)kcontrol->private_value; in tas2781_amp_getvol()
204 struct soc_mixer_control *mc = in tas2781_amp_putvol()
205 (struct soc_mixer_control *)kcontrol->private_value; in tas2781_amp_putvol()
846 struct soc_mixer_control *mc = in tasdevice_digital_gain_get()
847 (struct soc_mixer_control *)kcontrol->private_value; in tasdevice_digital_gain_get()
[all …]
H A Dtwl4030.c831 struct soc_mixer_control *mc = in snd_soc_get_volsw_twl4030()
832 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw_twl4030()
860 struct soc_mixer_control *mc = in snd_soc_put_volsw_twl4030()
861 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw_twl4030()
889 struct soc_mixer_control *mc = in snd_soc_get_volsw_r2_twl4030()
890 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_get_volsw_r2_twl4030()
916 struct soc_mixer_control *mc = in snd_soc_put_volsw_r2_twl4030()
917 (struct soc_mixer_control *)kcontrol->private_value; in snd_soc_put_volsw_r2_twl4030()
H A Dpm4125.c873 struct soc_mixer_control *mc; in pm4125_get_compander()
876 mc = (struct soc_mixer_control *)(kcontrol->private_value); in pm4125_get_compander()
889 struct soc_mixer_control *mc; in pm4125_set_compander()
893 mc = (struct soc_mixer_control *)(kcontrol->private_value); in pm4125_set_compander()
917 struct soc_mixer_control *mixer = (struct soc_mixer_control *)kcontrol->private_value; in pm4125_get_swr_port()
935 struct soc_mixer_control *mixer = (struct soc_mixer_control *)kcontrol->private_value; in pm4125_set_swr_port()
/linux/sound/soc/qcom/qdsp6/
H A Dtopology.c1164 struct soc_mixer_control *sm; in audioreach_put_audio_mixer()
1168 sm = (struct soc_mixer_control *)w->kcontrol_news[i].private_value; in audioreach_put_audio_mixer()
1250 struct soc_mixer_control *mc = (struct soc_mixer_control *)kcontrol->private_value; in audioreach_control_load()
1271 struct soc_mixer_control *mc = (struct soc_mixer_control *)kcontrol->private_value; in audioreach_control_load()
1350 struct soc_mixer_control *sm;
1362 sm = (struct soc_mixer_control *)kc->private_value;
1367 sm = (struct soc_mixer_control *)kc->private_value;
/linux/sound/soc/sdca/
H A Dsdca_asoc.c686 struct soc_mixer_control *mc; in entity_parse_mu()
857 struct soc_mixer_control *mc, in q78_write()
874 struct soc_mixer_control *mc = (struct soc_mixer_control *)kcontrol->private_value; in sdca_asoc_q78_put_volsw()
895 struct soc_mixer_control *mc, unsigned int reg) in q78_read()
910 struct soc_mixer_control *mc = (struct soc_mixer_control *)kcontrol->private_value; in sdca_asoc_q78_get_volsw()
927 struct soc_mixer_control *mc = (struct soc_mixer_control *)kctl->private_value; in control_limit_kctl()
1021 struct soc_mixer_control *mc; in populate_control()

1234