Searched refs:ucontrol (Results 1 - 25 of 375) sorted by relevance

1234567891011>>

/linux-master/sound/soc/intel/avs/
H A Dcontrol.h20 int avs_control_volume_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol);
21 int avs_control_volume_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol);
/linux-master/sound/pcmcia/vx/
H A Dvxp_mixer.c30 static int vx_mic_level_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
34 ucontrol->value.integer.value[0] = chip->mic_level;
38 static int vx_mic_level_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
42 unsigned int val = ucontrol->value.integer.value[0];
47 if (chip->mic_level != ucontrol->value.integer.value[0]) {
48 vx_set_mic_level(_chip, ucontrol->value.integer.value[0]);
49 chip->mic_level = ucontrol->value.integer.value[0];
75 static int vx_mic_boost_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
79 ucontrol->value.integer.value[0] = chip->mic_level;
83 static int vx_mic_boost_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/drivers/pcsp/
H A Dpcsp_mixer.c25 struct snd_ctl_elem_value *ucontrol)
28 ucontrol->value.integer.value[0] = chip->enable;
33 struct snd_ctl_elem_value *ucontrol)
37 int enab = ucontrol->value.integer.value[0];
60 struct snd_ctl_elem_value *ucontrol)
63 ucontrol->value.enumerated.item[0] = chip->treble;
68 struct snd_ctl_elem_value *ucontrol)
72 int treble = ucontrol->value.enumerated.item[0];
94 struct snd_ctl_elem_value *ucontrol)
97 ucontrol
24 pcsp_enable_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
32 pcsp_enable_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
59 pcsp_treble_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
67 pcsp_treble_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
93 pcsp_pcspkr_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
101 pcsp_pcspkr_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/drivers/opl4/
H A Dopl4_mixer.c19 static int snd_opl4_ctl_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
29 ucontrol->value.integer.value[0] = 7 - (value & 7);
30 ucontrol->value.integer.value[1] = 7 - ((value >> 3) & 7);
34 static int snd_opl4_ctl_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
41 value = (7 - (ucontrol->value.integer.value[0] & 7)) |
42 ((7 - (ucontrol->value.integer.value[1] & 7)) << 3);
/linux-master/sound/drivers/vx/
H A Dvx_mixer.c410 static int vx_output_level_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
415 ucontrol->value.integer.value[0] = chip->output_level[codec][0];
416 ucontrol->value.integer.value[1] = chip->output_level[codec][1];
421 static int vx_output_level_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
428 val[0] = ucontrol->value.integer.value[0];
429 val[1] = ucontrol->value.integer.value[1];
475 static int vx_audio_src_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
478 ucontrol->value.enumerated.item[0] = chip->audio_source_target;
482 static int vx_audio_src_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
487 if (ucontrol
524 vx_clock_mode_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
531 vx_clock_mode_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
568 vx_audio_gain_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
581 vx_audio_gain_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
604 vx_audio_monitor_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
616 vx_audio_monitor_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
643 vx_audio_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
655 vx_audio_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
674 vx_monitor_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
686 vx_monitor_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
753 vx_iec958_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
766 vx_iec958_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
775 vx_iec958_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
828 vx_vu_meter_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
841 vx_peak_meter_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
856 vx_saturation_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/ppc/
H A Ddaca.c83 struct snd_ctl_elem_value *ucontrol)
90 ucontrol->value.integer.value[0] = mix->deemphasis ? 1 : 0;
95 struct snd_ctl_elem_value *ucontrol)
104 change = mix->deemphasis != ucontrol->value.integer.value[0];
106 mix->deemphasis = !!ucontrol->value.integer.value[0];
124 struct snd_ctl_elem_value *ucontrol)
131 ucontrol->value.integer.value[0] = mix->left_vol;
132 ucontrol->value.integer.value[1] = mix->right_vol;
137 struct snd_ctl_elem_value *ucontrol)
147 vol[0] = ucontrol
82 daca_get_deemphasis(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
94 daca_put_deemphasis(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
123 daca_get_volume(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
136 daca_put_volume(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
164 daca_get_amp(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
176 daca_put_amp(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/soc/codecs/
H A Dsimple-mux.c24 struct snd_ctl_elem_value *ucontrol)
30 ucontrol->value.enumerated.item[0] = priv->mux;
36 struct snd_ctl_elem_value *ucontrol)
43 if (ucontrol->value.enumerated.item[0] > e->items)
46 if (priv->mux == ucontrol->value.enumerated.item[0])
49 priv->mux = ucontrol->value.enumerated.item[0];
54 ucontrol->value.enumerated.item[0],
23 simple_mux_control_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
35 simple_mux_control_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
H A Dmax9759.c43 struct snd_ctl_elem_value *ucontrol)
48 ucontrol->value.integer.value[0] = priv->gain;
62 struct snd_ctl_elem_value *ucontrol)
67 if (ucontrol->value.integer.value[0] < 0 ||
68 ucontrol->value.integer.value[0] > 3)
71 priv->gain = ucontrol->value.integer.value[0];
84 struct snd_ctl_elem_value *ucontrol)
89 ucontrol->value.integer.value[0] = !priv->is_mute;
95 struct snd_ctl_elem_value *ucontrol)
100 priv->is_mute = !ucontrol
42 speaker_gain_control_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
61 speaker_gain_control_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
83 speaker_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
94 speaker_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/soc/mediatek/mt8186/
H A Dmt8186-misc-control.c75 struct snd_ctl_elem_value *ucontrol)
81 ucontrol->value.integer.value[0] = afe_priv->sgen_mode;
87 struct snd_ctl_elem_value *ucontrol)
96 if (ucontrol->value.enumerated.item[0] >= e->items)
99 mode = ucontrol->value.integer.value[0];
129 struct snd_ctl_elem_value *ucontrol)
135 ucontrol->value.integer.value[0] = afe_priv->sgen_rate;
141 struct snd_ctl_elem_value *ucontrol)
149 if (ucontrol->value.enumerated.item[0] >= e->items)
152 rate = ucontrol
74 mt8186_sgen_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
86 mt8186_sgen_set(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
128 mt8186_sgen_rate_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
140 mt8186_sgen_rate_set(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
172 mt8186_sgen_amplitude_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
183 mt8186_sgen_amplitude_set(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/soc/ti/
H A Dn810.c121 struct snd_ctl_elem_value *ucontrol)
123 ucontrol->value.enumerated.item[0] = n810_spk_func;
129 struct snd_ctl_elem_value *ucontrol)
133 if (n810_spk_func == ucontrol->value.enumerated.item[0])
136 n810_spk_func = ucontrol->value.enumerated.item[0];
143 struct snd_ctl_elem_value *ucontrol)
145 ucontrol->value.enumerated.item[0] = n810_jack_func;
151 struct snd_ctl_elem_value *ucontrol)
155 if (n810_jack_func == ucontrol->value.enumerated.item[0])
158 n810_jack_func = ucontrol
120 n810_get_spk(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
128 n810_set_spk(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
142 n810_get_jack(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
150 n810_set_jack(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
164 n810_get_input(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
172 n810_set_input(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
H A Drx51.c117 struct snd_ctl_elem_value *ucontrol)
119 ucontrol->value.enumerated.item[0] = rx51_spk_func;
125 struct snd_ctl_elem_value *ucontrol)
129 if (rx51_spk_func == ucontrol->value.enumerated.item[0])
132 rx51_spk_func = ucontrol->value.enumerated.item[0];
152 struct snd_ctl_elem_value *ucontrol)
154 ucontrol->value.enumerated.item[0] = rx51_dmic_func;
160 struct snd_ctl_elem_value *ucontrol)
164 if (rx51_dmic_func == ucontrol->value.enumerated.item[0])
167 rx51_dmic_func = ucontrol
116 rx51_get_spk(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
124 rx51_set_spk(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
151 rx51_get_input(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
159 rx51_set_input(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
173 rx51_get_jack(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
181 rx51_set_jack(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/soc/
H A Dsoc-ops.c52 * @ucontrol: control element information
59 struct snd_ctl_elem_value *ucontrol)
69 ucontrol->value.enumerated.item[0] = item;
73 ucontrol->value.enumerated.item[1] = item;
83 * @ucontrol: control element information
90 struct snd_ctl_elem_value *ucontrol)
94 unsigned int *item = ucontrol->value.enumerated.item;
246 * @ucontrol: control element information
254 struct snd_ctl_elem_value *ucontrol)
278 ucontrol
58 snd_soc_get_enum_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
89 snd_soc_put_enum_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
253 snd_soc_get_volsw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
313 snd_soc_put_volsw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
395 snd_soc_get_volsw_sx(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
432 snd_soc_put_volsw_sx(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
530 snd_soc_put_volsw_range(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
603 snd_soc_get_volsw_range(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
686 snd_soc_bytes_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
723 snd_soc_bytes_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
806 snd_soc_bytes_info_ext(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *ucontrol) argument
877 snd_soc_get_xr_sx(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
922 snd_soc_put_xr_sx(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
968 snd_soc_get_strobe(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
1001 snd_soc_put_strobe(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/aoa/codecs/
H A Dtas.c234 struct snd_ctl_elem_value *ucontrol)
239 ucontrol->value.integer.value[0] = tas->cached_volume_l;
240 ucontrol->value.integer.value[1] = tas->cached_volume_r;
246 struct snd_ctl_elem_value *ucontrol)
250 if (ucontrol->value.integer.value[0] < 0 ||
251 ucontrol->value.integer.value[0] > 177)
253 if (ucontrol->value.integer.value[1] < 0 ||
254 ucontrol->value.integer.value[1] > 177)
258 if (tas->cached_volume_l == ucontrol->value.integer.value[0]
259 && tas->cached_volume_r == ucontrol
233 tas_snd_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
245 tas_snd_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
283 tas_snd_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
295 tas_snd_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
334 tas_snd_mixer_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
348 tas_snd_mixer_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
394 tas_snd_drc_range_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
405 tas_snd_drc_range_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
438 tas_snd_drc_switch_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
449 tas_snd_drc_switch_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
484 tas_snd_capture_source_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
495 tas_snd_capture_source_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
555 tas_snd_treble_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
566 tas_snd_treble_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
606 tas_snd_bass_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
617 tas_snd_bass_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
H A Donyx.c120 struct snd_ctl_elem_value *ucontrol)
130 ucontrol->value.integer.value[0] = l + VOLUME_RANGE_SHIFT;
131 ucontrol->value.integer.value[1] = r + VOLUME_RANGE_SHIFT;
137 struct snd_ctl_elem_value *ucontrol)
142 if (ucontrol->value.integer.value[0] < -128 + VOLUME_RANGE_SHIFT ||
143 ucontrol->value.integer.value[0] > -1 + VOLUME_RANGE_SHIFT)
145 if (ucontrol->value.integer.value[1] < -128 + VOLUME_RANGE_SHIFT ||
146 ucontrol->value.integer.value[1] > -1 + VOLUME_RANGE_SHIFT)
153 if (l + VOLUME_RANGE_SHIFT == ucontrol->value.integer.value[0] &&
154 r + VOLUME_RANGE_SHIFT == ucontrol
119 onyx_snd_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
136 onyx_snd_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
195 onyx_snd_inputgain_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
211 onyx_snd_inputgain_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
249 onyx_snd_capture_source_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
277 onyx_snd_capture_source_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
309 onyx_snd_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
325 onyx_snd_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
366 onyx_snd_single_bit_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
385 onyx_snd_single_bit_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
466 onyx_spdif_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
487 onyx_spdif_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
510 onyx_spdif_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/soc/atmel/
H A Dtse850-pcm5142.c60 struct snd_ctl_elem_value *ucontrol)
66 ucontrol->value.enumerated.item[0] = tse850->loop1_cache;
72 struct snd_ctl_elem_value *ucontrol)
78 unsigned int val = ucontrol->value.enumerated.item[0];
86 return snd_soc_dapm_put_enum_double(kctrl, ucontrol);
90 struct snd_ctl_elem_value *ucontrol)
96 ucontrol->value.enumerated.item[0] = tse850->loop2_cache;
102 struct snd_ctl_elem_value *ucontrol)
108 unsigned int val = ucontrol->value.enumerated.item[0];
116 return snd_soc_dapm_put_enum_double(kctrl, ucontrol);
59 tse850_get_mux1(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *ucontrol) argument
71 tse850_put_mux1(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *ucontrol) argument
89 tse850_get_mux2(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *ucontrol) argument
101 tse850_put_mux2(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *ucontrol) argument
119 tse850_get_mix(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *ucontrol) argument
131 tse850_put_mix(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *ucontrol) argument
153 tse850_get_ana(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *ucontrol) argument
186 tse850_put_ana(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/usb/6fire/
H A Dcontrol.c186 struct snd_ctl_elem_value *ucontrol)
198 if (rt->output_vol[ch] != ucontrol->value.integer.value[0]) {
199 rt->output_vol[ch] = ucontrol->value.integer.value[0];
203 if (rt->output_vol[ch + 1] != ucontrol->value.integer.value[1]) {
204 rt->output_vol[ch + 1] = ucontrol->value.integer.value[1];
216 struct snd_ctl_elem_value *ucontrol)
227 ucontrol->value.integer.value[0] = rt->output_vol[ch];
228 ucontrol->value.integer.value[1] = rt->output_vol[ch + 1];
233 struct snd_ctl_elem_value *ucontrol)
247 if (ucontrol
185 usb6fire_control_output_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
215 usb6fire_control_output_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
232 usb6fire_control_output_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
259 usb6fire_control_output_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
289 usb6fire_control_input_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
312 usb6fire_control_input_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
329 usb6fire_control_line_phono_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
342 usb6fire_control_line_phono_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
356 usb6fire_control_opt_coax_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
370 usb6fire_control_opt_coax_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
378 usb6fire_control_digital_thru_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
392 usb6fire_control_digital_thru_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/pci/ice1712/
H A Dwtm.c114 struct snd_ctl_elem_value *ucontrol)
127 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
134 ucontrol->value.integer.value[0] = (~val >> 7) & 0x1;
141 struct snd_ctl_elem_value *ucontrol)
151 new = (~ucontrol->value.integer.value[0] << 7 & 0x80) |
159 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
165 new = (~ucontrol->value.integer.value[0] << 7 & 0x80) |
192 struct snd_ctl_elem_value *ucontrol)
202 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
209 ucontrol
113 stac9460_dac_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
140 stac9460_dac_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
191 stac9460_dac_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
213 stac9460_dac_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
258 stac9460_adc_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
280 stac9460_adc_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
326 stac9460_adc_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
350 stac9460_adc_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
395 stac9460_mic_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
411 stac9460_mic_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/soc/tegra/
H A Dtegra210_dmic.c160 struct snd_ctl_elem_value *ucontrol)
165 ucontrol->value.integer.value[0] = dmic->boost_gain;
171 struct snd_ctl_elem_value *ucontrol)
175 int value = ucontrol->value.integer.value[0];
186 struct snd_ctl_elem_value *ucontrol)
191 ucontrol->value.enumerated.item[0] = dmic->ch_select;
197 struct snd_ctl_elem_value *ucontrol)
201 unsigned int value = ucontrol->value.enumerated.item[0];
212 struct snd_ctl_elem_value *ucontrol)
217 ucontrol
159 tegra210_dmic_get_boost_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
170 tegra210_dmic_put_boost_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
185 tegra210_dmic_get_ch_select(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
196 tegra210_dmic_put_ch_select(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
211 tegra210_dmic_get_mono_to_stereo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
222 tegra210_dmic_put_mono_to_stereo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
237 tegra210_dmic_get_stereo_to_mono(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
248 tegra210_dmic_put_stereo_to_mono(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
263 tegra210_dmic_get_osr_val(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
274 tegra210_dmic_put_osr_val(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
289 tegra210_dmic_get_pol_sel(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
300 tegra210_dmic_put_pol_sel(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
H A Dtegra186_dspk.c29 struct snd_ctl_elem_value *ucontrol) argument
34 ucontrol->value.integer.value[0] = dspk->rx_fifo_th;
40 struct snd_ctl_elem_value *ucontrol) argument
44 int value = ucontrol->value.integer.value[0];
55 struct snd_ctl_elem_value *ucontrol) argument
60 ucontrol->value.enumerated.item[0] = dspk->osr_val;
66 struct snd_ctl_elem_value *ucontrol) argument
70 unsigned int value = ucontrol->value.enumerated.item[0];
81 struct snd_ctl_elem_value *ucontrol) argument
86 ucontrol
92 tegra186_dspk_put_pol_sel(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
107 tegra186_dspk_get_ch_sel(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
118 tegra186_dspk_put_ch_sel(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
133 tegra186_dspk_get_mono_to_stereo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
144 tegra186_dspk_put_mono_to_stereo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
159 tegra186_dspk_get_stereo_to_mono(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
170 tegra186_dspk_put_stereo_to_mono(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
H A Dtegra210_mvc.c124 struct snd_ctl_elem_value *ucontrol)
137 ucontrol->value.integer.value[0] = mute_mask;
140 ucontrol->value.integer.value[0] =
143 ucontrol->value.integer.value[0] = 0;
150 struct snd_ctl_elem_value *ucontrol)
163 ucontrol->value.integer.value[0] =
167 ucontrol->value.integer.value[0] =
170 ucontrol->value.integer.value[0] = 0;
194 struct snd_ctl_elem_value *ucontrol,
199 u32 mute_val = ucontrol
123 tegra210_mvc_get_mute(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
149 tegra210_mvc_get_master_mute(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
193 tegra210_mvc_update_mute(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol, bool per_chan_ctrl) argument
246 tegra210_mvc_put_mute(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
252 tegra210_mvc_put_master_mute(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
258 tegra210_mvc_get_vol(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
280 tegra210_mvc_get_master_vol(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
286 tegra210_mvc_update_vol(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol, bool per_ch_enable) argument
342 tegra210_mvc_put_vol(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
348 tegra210_mvc_put_master_vol(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
394 tegra210_mvc_get_curve_type(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
405 tegra210_mvc_put_curve_type(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/pci/ca0106/
H A Dca0106_mixer.c147 struct snd_ctl_elem_value *ucontrol)
151 ucontrol->value.integer.value[0] = emu->spdif_enable;
156 struct snd_ctl_elem_value *ucontrol)
162 val = !!ucontrol->value.integer.value[0];
182 struct snd_ctl_elem_value *ucontrol)
186 ucontrol->value.enumerated.item[0] = emu->capture_source;
191 struct snd_ctl_elem_value *ucontrol)
197 val = ucontrol->value.enumerated.item[0] ;
219 struct snd_ctl_elem_value *ucontrol)
223 ucontrol
146 snd_ca0106_shared_spdif_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
155 snd_ca0106_shared_spdif_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
181 snd_ca0106_capture_source_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
190 snd_ca0106_capture_source_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
218 snd_ca0106_i2c_capture_source_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
227 snd_ca0106_i2c_capture_source_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
263 snd_ca0106_capture_mic_line_in_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
272 snd_ca0106_capture_mic_line_in_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
325 snd_ca0106_spdif_get_default(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
336 snd_ca0106_spdif_get_stream(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
347 snd_ca0106_spdif_get_mask(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
365 snd_ca0106_spdif_put_default(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
385 snd_ca0106_spdif_put_stream(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
411 snd_ca0106_volume_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
427 snd_ca0106_volume_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
458 snd_ca0106_i2c_volume_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
471 snd_ca0106_i2c_volume_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
507 spi_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
518 spi_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/soc/sof/
H A Dcontrol.c19 struct snd_ctl_elem_value *ucontrol)
28 return tplg_ops->control->volume_get(scontrol, ucontrol);
34 struct snd_ctl_elem_value *ucontrol)
43 return tplg_ops->control->volume_put(scontrol, ucontrol);
71 struct snd_ctl_elem_value *ucontrol)
80 return tplg_ops->control->switch_get(scontrol, ucontrol);
86 struct snd_ctl_elem_value *ucontrol)
95 return tplg_ops->control->switch_put(scontrol, ucontrol);
101 struct snd_ctl_elem_value *ucontrol)
110 return tplg_ops->control->enum_get(scontrol, ucontrol);
18 snd_sof_volume_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
33 snd_sof_volume_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
70 snd_sof_switch_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
85 snd_sof_switch_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
100 snd_sof_enum_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
115 snd_sof_enum_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
130 snd_sof_bytes_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
145 snd_sof_bytes_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835-ctl.c53 struct snd_ctl_elem_value *ucontrol)
60 ucontrol->value.integer.value[0] = chip->volume;
62 ucontrol->value.integer.value[0] = chip->mute;
64 ucontrol->value.integer.value[0] = chip->dest;
71 struct snd_ctl_elem_value *ucontrol)
86 val = ucontrol->value.integer.value[0];
131 struct snd_ctl_elem_value *ucontrol)
139 ucontrol->value.iec958.status[i] =
147 struct snd_ctl_elem_value *ucontrol)
156 val |= (unsigned int)ucontrol
52 snd_bcm2835_ctl_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
70 snd_bcm2835_ctl_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
130 snd_bcm2835_spdif_default_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
146 snd_bcm2835_spdif_default_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
173 snd_bcm2835_spdif_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/pci/pcxhr/
H A Dpcxhr_mixer.c110 struct snd_ctl_elem_value *ucontrol)
115 ucontrol->value.integer.value[0] = chip->analog_playback_volume[0];
116 ucontrol->value.integer.value[1] = chip->analog_playback_volume[1];
118 ucontrol->value.integer.value[0] = chip->analog_capture_volume[0];
119 ucontrol->value.integer.value[1] = chip->analog_capture_volume[1];
126 struct snd_ctl_elem_value *ucontrol)
135 int new_volume = ucontrol->value.integer.value[i];
191 struct snd_ctl_elem_value *ucontrol)
196 ucontrol->value.integer.value[0] = chip->analog_playback_active[0];
197 ucontrol
109 pcxhr_analog_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
125 pcxhr_analog_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
190 pcxhr_audio_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
202 pcxhr_audio_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
347 pcxhr_pcm_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
366 pcxhr_pcm_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
413 pcxhr_pcm_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
426 pcxhr_pcm_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
464 pcxhr_monitor_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
475 pcxhr_monitor_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
514 pcxhr_monitor_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
525 pcxhr_monitor_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
653 pcxhr_audio_src_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
661 pcxhr_audio_src_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
742 pcxhr_clock_type_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
750 pcxhr_clock_type_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
811 pcxhr_clock_rate_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
914 pcxhr_iec958_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
941 pcxhr_iec958_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
984 pcxhr_iec958_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]
/linux-master/sound/i2c/
H A Dtea6330t.c82 struct snd_ctl_elem_value *ucontrol)
87 ucontrol->value.integer.value[0] = tea->mleft - 0x14;
88 ucontrol->value.integer.value[1] = tea->mright - 0x14;
94 struct snd_ctl_elem_value *ucontrol)
101 val1 = (ucontrol->value.integer.value[0] % 44) + 0x14;
102 val2 = (ucontrol->value.integer.value[1] % 44) + 0x14;
134 struct snd_ctl_elem_value *ucontrol)
139 ucontrol->value.integer.value[0] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT] == 0 ? 0 : 1;
140 ucontrol->value.integer.value[1] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] == 0 ? 0 : 1;
146 struct snd_ctl_elem_value *ucontrol)
81 snd_tea6330t_get_master_volume(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
93 snd_tea6330t_put_master_volume(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
133 snd_tea6330t_get_master_switch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
145 snd_tea6330t_put_master_switch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
188 snd_tea6330t_get_bass(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
197 snd_tea6330t_put_bass(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
236 snd_tea6330t_get_treble(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
245 snd_tea6330t_put_treble(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
[all...]

Completed in 297 milliseconds

1234567891011>>