Searched refs:ucontrol (Results 76 - 100 of 376) sorted by relevance

1234567891011>>

/linux-master/sound/soc/codecs/
H A Dwm_adsp.h109 struct snd_ctl_elem_value *ucontrol);
111 struct snd_ctl_elem_value *ucontrol);
113 struct snd_ctl_elem_value *ucontrol);
115 struct snd_ctl_elem_value *ucontrol);
H A Dmax9768.c41 struct snd_ctl_elem_value *ucontrol)
47 ucontrol->value.integer.value[0] = !val;
53 struct snd_ctl_elem_value *ucontrol)
58 gpiod_set_value_cansleep(max9768->mute, !ucontrol->value.integer.value[0]);
40 max9768_get_gpio(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
52 max9768_set_gpio(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
H A Drt722-sdca.c347 struct snd_ctl_elem_value *ucontrol)
359 if (strstr(ucontrol->id.name, "FU1E Capture Volume") ||
360 strstr(ucontrol->id.name, "FU0F Capture Volume"))
367 gain_l_val = ucontrol->value.integer.value[0];
383 gain_r_val = ucontrol->value.integer.value[1];
418 struct snd_ctl_elem_value *ucontrol)
429 if (strstr(ucontrol->id.name, "FU1E Capture Volume") ||
430 strstr(ucontrol->id.name, "FU0F Capture Volume"))
458 ucontrol->value.integer.value[0] = ctl_l;
459 ucontrol
346 rt722_sdca_set_gain_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
417 rt722_sdca_set_gain_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
481 rt722_sdca_fu1e_capture_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
496 rt722_sdca_fu1e_capture_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
541 rt722_sdca_fu0f_capture_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
552 rt722_sdca_fu0f_capture_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
588 rt722_sdca_dmic_set_gain_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
623 rt722_sdca_dmic_set_gain_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
745 rt722_sdca_adc_mux_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
770 rt722_sdca_adc_mux_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
H A Dbd28623.c71 struct snd_ctl_elem_value *ucontrol)
77 ucontrol->value.integer.value[0] = bd->switch_spk;
83 struct snd_ctl_elem_value *ucontrol)
89 if (bd->switch_spk == ucontrol->value.integer.value[0])
92 bd->switch_spk = ucontrol->value.integer.value[0];
70 bd28623_get_switch_spk(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
82 bd28623_set_switch_spk(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
H A Drt712-sdca-dmic.c247 struct snd_ctl_elem_value *ucontrol)
257 if (strstr(ucontrol->id.name, "FU1E Capture Volume"))
273 ucontrol->value.integer.value[i] = ctl;
280 struct snd_ctl_elem_value *ucontrol)
292 if (strstr(ucontrol->id.name, "FU1E Capture Volume"))
299 gain_val[i] = ucontrol->value.integer.value[i];
345 struct snd_ctl_elem_value *ucontrol)
354 ucontrol->value.integer.value[i] = !rt712->fu1e_mixer_mute[i];
360 struct snd_ctl_elem_value *ucontrol)
369 if (rt712->fu1e_mixer_mute[i] != !ucontrol
246 rt712_sdca_dmic_set_gain_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
279 rt712_sdca_dmic_set_gain_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
344 rt712_sdca_dmic_fu1e_capture_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
359 rt712_sdca_dmic_fu1e_capture_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
434 rt712_sdca_dmic_mux_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
457 rt712_sdca_dmic_mux_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/core/
H A Dctljack.c16 struct snd_ctl_elem_value *ucontrol)
18 ucontrol->value.integer.value[0] = kcontrol->private_value;
15 jack_detect_kctl_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
/linux-master/sound/isa/ad1816a/
H A Dad1816a_lib.c679 static int snd_ad1816a_get_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
688 ucontrol->value.enumerated.item[0] = (val >> 12) & 7;
689 ucontrol->value.enumerated.item[1] = (val >> 4) & 7;
693 static int snd_ad1816a_put_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
700 if (ucontrol->value.enumerated.item[0] > 6 ||
701 ucontrol->value.enumerated.item[1] > 6)
703 val = (ucontrol->value.enumerated.item[0] << 12) |
704 (ucontrol->value.enumerated.item[1] << 4);
735 static int snd_ad1816a_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
745 ucontrol
752 snd_ad1816a_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
800 snd_ad1816a_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
823 snd_ad1816a_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/soc/tegra/
H A Dtegra186_asrc.c241 struct snd_ctl_elem_value *ucontrol)
249 ucontrol->value.enumerated.item[0] = asrc->lane[id].ratio_source;
255 struct snd_ctl_elem_value *ucontrol)
264 asrc->lane[id].ratio_source = ucontrol->value.enumerated.item[0];
275 struct snd_ctl_elem_value *ucontrol)
287 ucontrol->value.integer.value[0] = asrc->lane[id].int_part;
293 struct snd_ctl_elem_value *ucontrol)
309 asrc->lane[id].int_part = ucontrol->value.integer.value[0];
323 struct snd_ctl_elem_value *ucontrol)
335 ucontrol
240 tegra186_asrc_get_ratio_source(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
254 tegra186_asrc_put_ratio_source(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
274 tegra186_asrc_get_ratio_int(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
292 tegra186_asrc_put_ratio_int(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
322 tegra186_asrc_get_ratio_frac(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
340 tegra186_asrc_put_ratio_frac(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
370 tegra186_asrc_get_hwcomp_disable(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
384 tegra186_asrc_put_hwcomp_disable(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
402 tegra186_asrc_get_input_threshold(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
416 tegra186_asrc_put_input_threshold(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
435 tegra186_asrc_get_output_threshold(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
449 tegra186_asrc_put_output_threshold(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/soc/meson/
H A Dg12a-tohdmitx.c39 struct snd_ctl_elem_value *ucontrol)
48 if (ucontrol->value.enumerated.item[0] >= e->items)
51 mux = snd_soc_enum_item_to_val(e, ucontrol->value.enumerated.item[0]);
90 struct snd_ctl_elem_value *ucontrol)
99 if (ucontrol->value.enumerated.item[0] >= e->items)
102 mux = snd_soc_enum_item_to_val(e, ucontrol->value.enumerated.item[0]);
38 g12a_tohdmitx_i2s_mux_put_enum(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
89 g12a_tohdmitx_spdif_mux_put_enum(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
/linux-master/sound/pci/rme9652/
H A Dhdsp.c1565 static int snd_hdsp_control_spdif_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1569 snd_hdsp_convert_to_aes(&ucontrol->value.iec958, hdsp->creg_spdif);
1573 static int snd_hdsp_control_spdif_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1579 val = snd_hdsp_convert_from_aes(&ucontrol->value.iec958);
1594 static int snd_hdsp_control_spdif_stream_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1598 snd_hdsp_convert_to_aes(&ucontrol->value.iec958, hdsp->creg_spdif_stream);
1602 static int snd_hdsp_control_spdif_stream_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1608 val = snd_hdsp_convert_from_aes(&ucontrol->value.iec958);
1625 static int snd_hdsp_control_spdif_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1627 ucontrol
1663 snd_hdsp_get_spdif_in(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1671 snd_hdsp_put_spdif_in(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1715 snd_hdsp_get_toggle_setting(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1727 snd_hdsp_put_toggle_setting(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1767 snd_hdsp_get_spdif_sample_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1821 snd_hdsp_get_system_sample_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1850 snd_hdsp_get_autosync_sample_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1913 snd_hdsp_get_system_clock_mode(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2023 snd_hdsp_get_clock_source(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2031 snd_hdsp_put_clock_source(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2059 snd_hdsp_get_clock_source_lock(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2067 snd_hdsp_put_clock_source_lock(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2129 snd_hdsp_get_da_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2137 snd_hdsp_put_da_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2208 snd_hdsp_get_ad_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2216 snd_hdsp_put_ad_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2287 snd_hdsp_get_phone_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2295 snd_hdsp_put_phone_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2404 snd_hdsp_get_pref_sync_ref(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2412 snd_hdsp_put_pref_sync_ref(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2488 snd_hdsp_get_autosync_ref(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2516 snd_hdsp_get_precise_pointer(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2526 snd_hdsp_put_precise_pointer(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2562 snd_hdsp_get_use_midi_work(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2572 snd_hdsp_put_use_midi_work(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2610 snd_hdsp_get_mixer(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2631 snd_hdsp_put_mixer(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2690 snd_hdsp_get_wc_sync_check(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2721 snd_hdsp_get_spdif_sync_check(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2750 snd_hdsp_get_adatsync_sync_check(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2778 snd_hdsp_get_adat_sync_check(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2853 snd_hdsp_get_dds_offset(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2861 snd_hdsp_put_dds_offset(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2970 snd_hdsp_get_rpm_input12(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3006 snd_hdsp_put_rpm_input12(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3055 snd_hdsp_get_rpm_input34(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3091 snd_hdsp_put_rpm_input34(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3121 snd_hdsp_get_rpm_bypass(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3141 snd_hdsp_put_rpm_bypass(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3173 snd_hdsp_get_rpm_disconnect(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3193 snd_hdsp_put_rpm_disconnect(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3272 snd_hdsp_loopback_get(struct snd_kcontrol *const kcontrol, struct snd_ctl_elem_value *const ucontrol) argument
3286 snd_hdsp_loopback_put(struct snd_kcontrol *const kcontrol, struct snd_ctl_elem_value *const ucontrol) argument
[all...]
H A Dhdspm.c2254 ucontrol)
2258 ucontrol->value.integer.value[0] = hdspm_get_system_sample_rate(hdspm);
2264 ucontrol)
2267 int rate = ucontrol->value.integer.value[0];
2271 hdspm_set_dds_value(hdspm, ucontrol->value.integer.value[0]);
2414 ucontrol)
2422 ucontrol->value.enumerated.item[0] =
2426 ucontrol->value.enumerated.item[0] =
2430 ucontrol->value.enumerated.item[0] =
2434 ucontrol
2252 snd_hdspm_get_system_sample_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value * ucontrol) argument
2262 snd_hdspm_put_system_sample_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value * ucontrol) argument
2412 snd_hdspm_get_autosync_sample_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value * ucontrol) argument
2557 snd_hdspm_get_system_clock_mode(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2566 snd_hdspm_put_system_clock_mode(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2649 snd_hdspm_get_clock_source(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2658 snd_hdspm_put_clock_source(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2970 snd_hdspm_get_pref_sync_ref(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2984 snd_hdspm_put_pref_sync_ref(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3073 snd_hdspm_get_autosync_ref(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3101 snd_hdspm_get_tco_video_input_format(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3179 snd_hdspm_get_tco_ltc_frames(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3234 snd_hdspm_get_toggle_setting(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3246 snd_hdspm_put_toggle_setting(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3297 snd_hdspm_get_input_select(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3308 snd_hdspm_put_input_select(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3359 snd_hdspm_get_ds_wire(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3370 snd_hdspm_put_ds_wire(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3432 snd_hdspm_get_qs_wire(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3443 snd_hdspm_put_qs_wire(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3507 snd_hdspm_get_tristate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3519 snd_hdspm_put_tristate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3586 snd_hdspm_get_madi_speedmode(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3597 snd_hdspm_put_madi_speedmode(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3641 snd_hdspm_get_mixer(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3674 snd_hdspm_put_mixer(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3745 snd_hdspm_get_playback_mixer(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
3764 snd_hdspm_put_playback_mixer(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
4006 snd_hdspm_get_sync_check(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
4211 snd_hdspm_get_tco_sample_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
4221 snd_hdspm_put_tco_sample_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
4258 snd_hdspm_get_tco_pull(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
4268 snd_hdspm_put_tco_pull(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
4303 snd_hdspm_get_tco_wck_conversion(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
4313 snd_hdspm_put_tco_wck_conversion(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
4350 snd_hdspm_get_tco_frame_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
4360 snd_hdspm_put_tco_frame_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
4396 snd_hdspm_get_tco_sync_source(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
4406 snd_hdspm_put_tco_sync_source(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
4446 snd_hdspm_get_tco_word_term(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
4457 snd_hdspm_put_tco_word_term(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/i2c/other/
H A Dak4xxx-adda.c365 struct snd_ctl_elem_value *ucontrol)
371 ucontrol->value.integer.value[0] = snd_akm4xxx_get_vol(ak, chip, addr);
401 struct snd_ctl_elem_value *ucontrol)
404 unsigned int val = ucontrol->value.integer.value[0];
423 struct snd_ctl_elem_value *ucontrol)
429 ucontrol->value.integer.value[0] = snd_akm4xxx_get_vol(ak, chip, addr);
430 ucontrol->value.integer.value[1] = snd_akm4xxx_get_vol(ak, chip, addr+1);
435 struct snd_ctl_elem_value *ucontrol)
442 val[0] = ucontrol->value.integer.value[0];
443 val[1] = ucontrol
364 snd_akm4xxx_volume_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
400 snd_akm4xxx_volume_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
422 snd_akm4xxx_stereo_volume_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
434 snd_akm4xxx_stereo_volume_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
460 snd_akm4xxx_deemphasis_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
472 snd_akm4xxx_deemphasis_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
492 ak4xxx_switch_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
508 ak4xxx_switch_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
561 ak4xxx_capture_source_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
575 ak4xxx_capture_source_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/spi/
H A Dat73c213.c396 struct snd_ctl_elem_value *ucontrol)
406 ucontrol->value.integer.value[0] =
410 ucontrol->value.integer.value[0] =
411 mask - ucontrol->value.integer.value[0];
419 struct snd_ctl_elem_value *ucontrol)
429 val = (ucontrol->value.integer.value[0] & mask);
466 struct snd_ctl_elem_value *ucontrol)
478 ucontrol->value.integer.value[0] =
480 ucontrol->value.integer.value[1] =
484 ucontrol
395 snd_at73c213_mono_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
418 snd_at73c213_mono_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
465 snd_at73c213_stereo_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
495 snd_at73c213_stereo_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
544 snd_at73c213_mono_switch_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
566 snd_at73c213_mono_switch_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/pci/hda/
H A Dtas2781_hda_i2c.c182 struct snd_ctl_elem_value *ucontrol)
188 ucontrol->value.integer.value[0] = tas_priv->rcabin.profile_cfg_id;
199 struct snd_ctl_elem_value *ucontrol)
202 int nr_profile = ucontrol->value.integer.value[0];
253 struct snd_ctl_elem_value *ucontrol)
259 ucontrol->value.integer.value[0] = tas_priv->cur_prog;
270 struct snd_ctl_elem_value *ucontrol)
274 int nr_program = ucontrol->value.integer.value[0];
296 struct snd_ctl_elem_value *ucontrol)
302 ucontrol
181 tasdevice_get_profile_id(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
198 tasdevice_set_profile_id(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
252 tasdevice_program_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
269 tasdevice_program_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
295 tasdevice_config_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
312 tasdevice_config_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
338 tas2781_amp_getvol(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
358 tas2781_amp_putvol(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
379 tas2781_force_fwload_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
395 tas2781_force_fwload_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/pci/pcxhr/
H A Dpcxhr_mix22.c710 struct snd_ctl_elem_value *ucontrol)
714 ucontrol->value.integer.value[0] = chip->mic_volume;
720 struct snd_ctl_elem_value *ucontrol)
725 if (chip->mic_volume != ucontrol->value.integer.value[0]) {
727 chip->mic_volume = ucontrol->value.integer.value[0];
760 struct snd_ctl_elem_value *ucontrol)
764 ucontrol->value.integer.value[0] = chip->mic_boost;
770 struct snd_ctl_elem_value *ucontrol)
775 if (chip->mic_boost != ucontrol->value.integer.value[0]) {
777 chip->mic_boost = ucontrol
709 hr222_mic_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
719 hr222_mic_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
759 hr222_mic_boost_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
769 hr222_mic_boost_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
799 hr222_phantom_power_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
809 hr222_phantom_power_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/usb/
H A Dmixer_scarlett2.c3193 struct snd_ctl_elem_value *ucontrol)
3198 ucontrol->value.integer.value[0] = private->firmware_version;
3232 struct snd_ctl_elem_value *ucontrol)
3237 ucontrol->value.integer.value[0] = private->info->min_firmware_version;
3290 struct snd_ctl_elem_value *ucontrol)
3309 ucontrol->value.enumerated.item[0] = private->sync;
3577 struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol)
3595 ucontrol->value.enumerated.item[0] =
3604 struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol)
3622 ucontrol
3191 scarlett2_firmware_version_ctl_get( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
3230 scarlett2_min_firmware_version_ctl_get( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
3289 scarlett2_sync_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
3576 scarlett2_autogain_switch_ctl_get( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
3603 scarlett2_autogain_status_ctl_get( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
3630 scarlett2_autogain_switch_ctl_put( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
3738 scarlett2_ag_target_ctl_get( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
3766 scarlett2_ag_target_ctl_put( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
3857 scarlett2_input_select_ctl_get( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
3884 scarlett2_input_select_ctl_put( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
4023 scarlett2_input_link_ctl_get( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
4051 scarlett2_input_link_ctl_put( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
4155 scarlett2_input_gain_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
4183 scarlett2_input_gain_ctl_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
4251 scarlett2_safe_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
4279 scarlett2_safe_ctl_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
4345 scarlett2_pcm_input_switch_ctl_get( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
4367 scarlett2_pcm_input_switch_ctl_put( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
4481 scarlett2_master_volume_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
4508 scarlett2_headphone_volume_ctl_get( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
4549 scarlett2_volume_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
4577 scarlett2_volume_ctl_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
4679 scarlett2_mute_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
4707 scarlett2_mute_ctl_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
4774 scarlett2_sw_hw_enum_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
4850 scarlett2_sw_hw_enum_ctl_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
4937 scarlett2_level_enum_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
4968 scarlett2_level_enum_ctl_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
5038 scarlett2_pad_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
5066 scarlett2_pad_ctl_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
5127 scarlett2_air_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
5154 scarlett2_air_ctl_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
5257 scarlett2_dsp_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
5284 scarlett2_dsp_ctl_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
5367 scarlett2_compressor_ctl_get( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
5378 scarlett2_compressor_ctl_put( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
5461 scarlett2_precomp_flt_switch_ctl_get( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
5472 scarlett2_peq_flt_switch_ctl_get( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
5484 scarlett2_precomp_flt_switch_ctl_put( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
5519 scarlett2_peq_flt_switch_ctl_put( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
5632 scarlett2_precomp_flt_ctl_get( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
5648 scarlett2_peq_flt_ctl_get( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
5664 scarlett2_precomp_flt_ctl_put( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
5720 scarlett2_peq_flt_ctl_put( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
5827 scarlett2_input_mute_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
5855 scarlett2_input_mute_ctl_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
5996 scarlett2_phantom_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
6023 scarlett2_phantom_ctl_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
6081 scarlett2_phantom_persistence_ctl_get( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
6091 scarlett2_phantom_persistence_ctl_put( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
6209 scarlett2_speaker_switch_enum_ctl_get( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
6293 scarlett2_speaker_switch_enum_ctl_put( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
6379 scarlett2_talkback_enum_ctl_get( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
6406 scarlett2_talkback_enum_ctl_put( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
6457 scarlett2_talkback_map_ctl_get( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
6470 scarlett2_talkback_map_ctl_put( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
6548 scarlett2_dim_mute_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
6575 scarlett2_dim_mute_ctl_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
7026 scarlett2_mixer_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
7053 scarlett2_mixer_ctl_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
7165 scarlett2_direct_monitor_ctl_get( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
7192 scarlett2_direct_monitor_ctl_put( struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
7258 scarlett2_monitor_mix_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
7269 scarlett2_monitor_mix_ctl_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
7418 scarlett2_mux_src_enum_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
7446 scarlett2_mux_src_enum_ctl_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
7543 scarlett2_meter_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
7607 scarlett2_msd_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
7617 scarlett2_msd_ctl_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
7678 scarlett2_standalone_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
7688 scarlett2_standalone_ctl_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
7775 scarlett2_power_status_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
7850 scarlett2_bluetooth_volume_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
7877 scarlett2_bluetooth_volume_ctl_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
7987 scarlett2_spdif_mode_ctl_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
7997 scarlett2_spdif_mode_ctl_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/isa/es1688/
H A Des1688_lib.c728 static int snd_es1688_get_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
731 ucontrol->value.enumerated.item[0] = snd_es1688_mixer_read(chip, ES1688_REC_DEV) & 7;
735 static int snd_es1688_put_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
742 if (ucontrol->value.enumerated.item[0] > 8)
746 nval = (ucontrol->value.enumerated.item[0] & 7) | (oval & ~15);
771 static int snd_es1688_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
781 ucontrol->value.integer.value[0] = (snd_es1688_mixer_read(chip, reg) >> shift) & mask;
784 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0];
788 static int snd_es1688_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
830 snd_es1688_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
864 snd_es1688_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/usb/line6/
H A Dpcm.c31 struct snd_ctl_elem_value *ucontrol)
35 ucontrol->value.integer.value[0] = line6pcm->impulse_volume;
40 struct snd_ctl_elem_value *ucontrol)
43 int value = ucontrol->value.integer.value[0];
74 struct snd_ctl_elem_value *ucontrol)
78 ucontrol->value.integer.value[0] = line6pcm->impulse_period;
83 struct snd_ctl_elem_value *ucontrol)
86 int value = ucontrol->value.integer.value[0];
394 struct snd_ctl_elem_value *ucontrol)
400 ucontrol
30 snd_line6_impulse_volume_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
39 snd_line6_impulse_volume_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
73 snd_line6_impulse_period_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
82 snd_line6_impulse_period_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
393 snd_line6_control_playback_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
406 snd_line6_control_playback_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
H A Dtoneport.c155 struct snd_ctl_elem_value *ucontrol)
159 ucontrol->value.integer.value[0] = line6pcm->volume_monitor;
165 struct snd_ctl_elem_value *ucontrol)
170 if (ucontrol->value.integer.value[0] == line6pcm->volume_monitor)
173 line6pcm->volume_monitor = ucontrol->value.integer.value[0];
210 struct snd_ctl_elem_value *ucontrol)
215 ucontrol->value.enumerated.item[0] = toneport->source;
221 struct snd_ctl_elem_value *ucontrol)
227 source = ucontrol->value.enumerated.item[0];
154 snd_toneport_monitor_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
164 snd_toneport_monitor_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
209 snd_toneport_source_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
220 snd_toneport_source_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
/linux-master/drivers/staging/greybus/
H A Daudio_topology.c216 struct snd_ctl_elem_value *ucontrol)
251 /* update ucontrol */
255 ucontrol->value.integer.value[0] =
258 ucontrol->value.integer.value[1] =
262 ucontrol->value.enumerated.item[0] =
265 ucontrol->value.enumerated.item[1] =
278 struct snd_ctl_elem_value *ucontrol)
298 /* update ucontrol */
303 cpu_to_le32(ucontrol->value.integer.value[0]);
306 cpu_to_le32(ucontrol
215 gbcodec_mixer_ctl_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
277 gbcodec_mixer_ctl_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
380 gbcodec_mixer_dapm_ctl_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
427 gbcodec_mixer_dapm_ctl_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
548 gbcodec_enum_ctl_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
593 gbcodec_enum_ctl_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
713 gbcodec_enum_dapm_ctl_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
759 gbcodec_enum_dapm_ctl_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/pci/ymfpci/
H A Dymfpci_main.c1263 struct snd_ctl_elem_value *ucontrol)
1268 ucontrol->value.iec958.status[0] = (chip->spdif_bits >> 0) & 0xff;
1269 ucontrol->value.iec958.status[1] = (chip->spdif_bits >> 8) & 0xff;
1270 ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS_48000;
1276 struct snd_ctl_elem_value *ucontrol)
1282 val = ((ucontrol->value.iec958.status[0] & 0x3e) << 0) |
1283 (ucontrol->value.iec958.status[1] << 8);
1310 struct snd_ctl_elem_value *ucontrol)
1315 ucontrol->value.iec958.status[0] = 0x3e;
1316 ucontrol
1262 snd_ymfpci_spdif_default_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1275 snd_ymfpci_spdif_default_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1309 snd_ymfpci_spdif_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1337 snd_ymfpci_spdif_stream_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1350 snd_ymfpci_spdif_stream_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1437 snd_ymfpci_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1455 snd_ymfpci_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1504 snd_ymfpci_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1521 snd_ymfpci_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1544 snd_ymfpci_put_nativedacvol(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1569 snd_ymfpci_get_dup4ch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1576 snd_ymfpci_put_dup4ch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1668 snd_ymfpci_gpio_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1676 snd_ymfpci_gpio_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1712 snd_ymfpci_pcm_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1723 snd_ymfpci_pcm_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/pci/vx222/
H A Dvx222_ops.c867 static int vx_input_level_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
872 ucontrol->value.integer.value[0] = chip->input_level[0];
873 ucontrol->value.integer.value[1] = chip->input_level[1];
878 static int vx_input_level_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
882 if (ucontrol->value.integer.value[0] < 0 ||
883 ucontrol->value.integer.value[0] > MIC_LEVEL_MAX)
885 if (ucontrol->value.integer.value[1] < 0 ||
886 ucontrol->value.integer.value[1] > MIC_LEVEL_MAX)
889 if (chip->input_level[0] != ucontrol->value.integer.value[0] ||
890 chip->input_level[1] != ucontrol
911 vx_mic_level_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
919 vx_mic_level_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/pci/ice1712/
H A Dice1724.c651 /* force means the rate was switched by ucontrol, otherwise
1548 struct snd_ctl_elem_value *ucontrol)
1552 memcpy(ucontrol->value.bytes.data, &ice->eeprom, sizeof(ice->eeprom));
1645 struct snd_ctl_elem_value *ucontrol)
1650 decode_spdif_bits(&ucontrol->value.iec958, val);
1655 struct snd_ctl_elem_value *ucontrol)
1660 val = encode_spdif_bits(&ucontrol->value.iec958);
1679 struct snd_ctl_elem_value *ucontrol)
1681 ucontrol->value.iec958.status[0] = IEC958_AES0_NONAUDIO |
1685 ucontrol
1547 snd_vt1724_eeprom_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1644 snd_vt1724_spdif_default_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1654 snd_vt1724_spdif_default_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1678 snd_vt1724_spdif_maskc_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1691 snd_vt1724_spdif_maskp_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1721 snd_vt1724_spdif_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1730 snd_vt1724_spdif_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1833 snd_vt1724_pro_internal_clock_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1877 snd_vt1724_pro_internal_clock_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1932 snd_vt1724_pro_rate_locking_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1939 snd_vt1724_pro_rate_locking_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1963 snd_vt1724_pro_rate_reset_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1970 snd_vt1724_pro_rate_reset_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2060 snd_vt1724_pro_route_analog_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2070 snd_vt1724_pro_route_analog_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2080 snd_vt1724_pro_route_spdif_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2090 snd_vt1724_pro_route_spdif_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
2129 snd_vt1724_pro_peak_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/soc/sh/
H A Dsiu_dai.c353 struct snd_ctl_elem_value *ucontrol)
365 ucontrol->value.integer.value[0] = vol & 0xffff;
366 ucontrol->value.integer.value[1] = vol >> 16 & 0xffff;
371 ucontrol->value.integer.value[0] = vol & 0xffff;
372 ucontrol->value.integer.value[1] = vol >> 16 & 0xffff;
384 struct snd_ctl_elem_value *ucontrol)
395 if (ucontrol->value.integer.value[0] < 0 ||
396 ucontrol->value.integer.value[0] > SIU_MAX_VOLUME ||
397 ucontrol->value.integer.value[1] < 0 ||
398 ucontrol
352 siu_dai_get_volume(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *ucontrol) argument
383 siu_dai_put_volume(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/soc/mediatek/mt8195/
H A Dmt8195-dai-adda.c456 struct snd_ctl_elem_value *ucontrol)
462 unsigned int value = (unsigned int)(ucontrol->value.integer.value[0]);
469 struct snd_ctl_elem_value *ucontrol)
479 ucontrol->value.integer.value[0] = ((value & mask) >>
485 struct snd_ctl_elem_value *ucontrol)
492 ucontrol->value.integer.value[0] = param->mtkaif_adda6_only;
497 struct snd_ctl_elem_value *ucontrol)
505 mtkaif_adda6_only = ucontrol->value.integer.value[0];
516 struct snd_ctl_elem_value *ucontrol)
523 ucontrol
455 mt8195_adda_dl_gain_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
468 mt8195_adda_dl_gain_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
484 mt8195_adda6_only_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
496 mt8195_adda6_only_set(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
515 mt8195_adda_dmic_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
527 mt8195_adda_dmic_set(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]

Completed in 520 milliseconds

1234567891011>>