Home
last modified time | relevance | path

Searched refs:ucontrol (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/linux/sound/usb/usx2y/
H A Dus144mkii_controls.c53 struct snd_ctl_elem_value *ucontrol) in tascam_line_out_get() argument
58 ucontrol->value.enumerated.item[0] = tascam->line_out_source; in tascam_line_out_get()
75 struct snd_ctl_elem_value *ucontrol) in tascam_line_out_put() argument
80 if (ucontrol->value.enumerated.item[0] > 1) in tascam_line_out_put()
84 if (tascam->line_out_source != ucontrol->value.enumerated.item[0]) { in tascam_line_out_put()
85 tascam->line_out_source = ucontrol->value.enumerated.item[0]; in tascam_line_out_put()
122 struct snd_ctl_elem_value *ucontrol) in tascam_digital_out_get() argument
127 ucontrol->value.enumerated.item[0] = tascam->digital_out_source; in tascam_digital_out_get()
145 struct snd_ctl_elem_value *ucontrol) in tascam_digital_out_put() argument
150 if (ucontrol->value.enumerated.item[0] > 1) in tascam_digital_out_put()
[all …]
/linux/sound/aoa/codecs/
H A Dtas.c234 struct snd_ctl_elem_value *ucontrol) in tas_snd_vol_get() argument
239 ucontrol->value.integer.value[0] = tas->cached_volume_l; in tas_snd_vol_get()
240 ucontrol->value.integer.value[1] = tas->cached_volume_r; in tas_snd_vol_get()
245 struct snd_ctl_elem_value *ucontrol) in tas_snd_vol_put() argument
249 if (ucontrol->value.integer.value[0] < 0 || in tas_snd_vol_put()
250 ucontrol->value.integer.value[0] > 177) in tas_snd_vol_put()
252 if (ucontrol->value.integer.value[1] < 0 || in tas_snd_vol_put()
253 ucontrol->value.integer.value[1] > 177) in tas_snd_vol_put()
257 if (tas->cached_volume_l == ucontrol->value.integer.value[0] in tas_snd_vol_put()
258 && tas->cached_volume_r == ucontrol in tas_snd_vol_put()
280 tas_snd_mute_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) tas_snd_mute_get() argument
291 tas_snd_mute_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) tas_snd_mute_put() argument
327 tas_snd_mixer_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) tas_snd_mixer_get() argument
340 tas_snd_mixer_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) tas_snd_mixer_put() argument
383 tas_snd_drc_range_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) tas_snd_drc_range_get() argument
393 tas_snd_drc_range_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) tas_snd_drc_range_put() argument
423 tas_snd_drc_switch_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) tas_snd_drc_switch_get() argument
433 tas_snd_drc_switch_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) tas_snd_drc_switch_put() argument
465 tas_snd_capture_source_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) tas_snd_capture_source_get() argument
475 tas_snd_capture_source_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) tas_snd_capture_source_put() argument
532 tas_snd_treble_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) tas_snd_treble_get() argument
542 tas_snd_treble_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) tas_snd_treble_put() argument
579 tas_snd_bass_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) tas_snd_bass_get() argument
589 tas_snd_bass_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) tas_snd_bass_put() argument
[all...]
H A Donyx.c121 struct snd_ctl_elem_value *ucontrol) in onyx_snd_vol_get()
130 ucontrol->value.integer.value[0] = l + VOLUME_RANGE_SHIFT; in onyx_snd_vol_get()
131 ucontrol->value.integer.value[1] = r + VOLUME_RANGE_SHIFT; in onyx_snd_vol_get()
137 struct snd_ctl_elem_value *ucontrol) in onyx_snd_vol_put()
142 if (ucontrol->value.integer.value[0] < -128 + VOLUME_RANGE_SHIFT || in onyx_snd_vol_put()
143 ucontrol->value.integer.value[0] > -1 + VOLUME_RANGE_SHIFT) in onyx_snd_vol_put()
145 if (ucontrol->value.integer.value[1] < -128 + VOLUME_RANGE_SHIFT || in onyx_snd_vol_put()
146 ucontrol->value.integer.value[1] > -1 + VOLUME_RANGE_SHIFT) in onyx_snd_vol_put()
153 if (l + VOLUME_RANGE_SHIFT == ucontrol->value.integer.value[0] && in onyx_snd_vol_put()
154 r + VOLUME_RANGE_SHIFT == ucontrol in onyx_snd_vol_put()
120 onyx_snd_vol_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) onyx_snd_vol_get() argument
136 onyx_snd_vol_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) onyx_snd_vol_put() argument
192 onyx_snd_inputgain_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) onyx_snd_inputgain_get() argument
207 onyx_snd_inputgain_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) onyx_snd_inputgain_put() argument
244 onyx_snd_capture_source_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) onyx_snd_capture_source_get() argument
270 onyx_snd_capture_source_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) onyx_snd_capture_source_put() argument
302 onyx_snd_mute_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) onyx_snd_mute_get() argument
317 onyx_snd_mute_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) onyx_snd_mute_put() argument
355 onyx_snd_single_bit_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) onyx_snd_single_bit_get() argument
373 onyx_snd_single_bit_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) onyx_snd_single_bit_put() argument
450 onyx_spdif_mask_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) onyx_spdif_mask_get() argument
471 onyx_spdif_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) onyx_spdif_get() argument
493 onyx_spdif_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) onyx_spdif_put() argument
[all...]
/linux/sound/pci/ca0106/
H A Dca0106_mixer.c147 struct snd_ctl_elem_value *ucontrol) in snd_ca0106_shared_spdif_get() argument
151 ucontrol->value.integer.value[0] = emu->spdif_enable; in snd_ca0106_shared_spdif_get()
156 struct snd_ctl_elem_value *ucontrol) in snd_ca0106_shared_spdif_put() argument
162 val = !!ucontrol->value.integer.value[0]; in snd_ca0106_shared_spdif_put()
182 struct snd_ctl_elem_value *ucontrol) in snd_ca0106_capture_source_get() argument
186 ucontrol->value.enumerated.item[0] = emu->capture_source; in snd_ca0106_capture_source_get()
191 struct snd_ctl_elem_value *ucontrol) in snd_ca0106_capture_source_put() argument
197 val = ucontrol->value.enumerated.item[0] ; in snd_ca0106_capture_source_put()
219 struct snd_ctl_elem_value *ucontrol) in snd_ca0106_i2c_capture_source_get() argument
223 ucontrol->value.enumerated.item[0] = emu->i2c_capture_source; in snd_ca0106_i2c_capture_source_get()
[all …]
/linux/sound/pci/ice1712/
H A Dwtm.c114 struct snd_ctl_elem_value *ucontrol) in stac9460_dac_mute_get() argument
127 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_dac_mute_get()
134 ucontrol->value.integer.value[0] = (~val >> 7) & 0x1; in stac9460_dac_mute_get()
140 struct snd_ctl_elem_value *ucontrol) in stac9460_dac_mute_put() argument
150 new = (~ucontrol->value.integer.value[0] << 7 & 0x80) | in stac9460_dac_mute_put()
158 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_dac_mute_put()
164 new = (~ucontrol->value.integer.value[0] << 7 & 0x80) | in stac9460_dac_mute_put()
191 struct snd_ctl_elem_value *ucontrol) in stac9460_dac_vol_get() argument
201 id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in stac9460_dac_vol_get()
208 ucontrol->value.integer.value[0] = 0x7f - vol; in stac9460_dac_vol_get()
[all …]
H A Dpontis.c109 static int wm_dac_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_dac_vol_get() argument
119 ucontrol->value.integer.value[i] = val; in wm_dac_vol_get()
124 static int wm_dac_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_dac_vol_put() argument
132 nval = ucontrol->value.integer.value[i]; in wm_dac_vol_put()
162 static int wm_adc_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_adc_vol_get() argument
172 ucontrol->value.integer.value[i] = val; in wm_adc_vol_get()
177 static int wm_adc_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_adc_vol_put() argument
185 nvol = ucontrol->value.integer.value[i]; in wm_adc_vol_put()
202 static int wm_adc_mux_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in wm_adc_mux_get() argument
208 ucontrol->value.integer.value[0] = (wm_get(ice, WM_ADC_MUX) & (1 << bit)) ? 1 : 0; in wm_adc_mux_get()
[all …]
H A Daureon.c198 struct snd_ctl_elem_value *ucontrol) in aureon_universe_inmux_get() argument
202 ucontrol->value.enumerated.item[0] = spec->pca9554_out; in aureon_universe_inmux_get()
207 struct snd_ctl_elem_value *ucontrol) in aureon_universe_inmux_put() argument
214 nval = ucontrol->value.enumerated.item[0]; in aureon_universe_inmux_put()
356 static int aureon_ac97_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in aureon_ac97_vol_get() argument
364 ucontrol->value.integer.value[0] = 0x1F - (vol & 0x1F); in aureon_ac97_vol_get()
366 ucontrol->value.integer.value[1] = 0x1F - ((vol >> 8) & 0x1F); in aureon_ac97_vol_get()
371 static int aureon_ac97_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in aureon_ac97_vol_put() argument
380 nvol = (0x1F - ucontrol->value.integer.value[0]) & 0x001F; in aureon_ac97_vol_put()
382 nvol |= ((0x1F - ucontrol in aureon_ac97_vol_put()
399 aureon_ac97_mute_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aureon_ac97_mute_get() argument
411 aureon_ac97_mute_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aureon_ac97_mute_put() argument
436 aureon_ac97_micboost_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aureon_ac97_micboost_get() argument
447 aureon_ac97_micboost_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aureon_ac97_micboost_put() argument
638 aureon_ac97_mmute_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aureon_ac97_mmute_get() argument
649 aureon_ac97_mmute_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aureon_ac97_mmute_put() argument
699 wm_pcm_mute_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm_pcm_mute_get() argument
708 wm_pcm_mute_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm_pcm_mute_put() argument
737 wm_master_vol_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm_master_vol_get() argument
748 wm_master_vol_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm_master_vol_put() argument
787 wm_vol_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm_vol_get() argument
801 wm_vol_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm_vol_put() argument
840 wm_mute_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm_mute_get() argument
855 wm_mute_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm_mute_put() argument
886 wm_master_mute_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm_master_mute_get() argument
898 wm_master_mute_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm_master_mute_put() argument
937 wm_pcm_vol_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm_pcm_vol_get() argument
949 wm_pcm_vol_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm_pcm_vol_put() argument
975 wm_adc_mute_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm_adc_mute_get() argument
989 wm_adc_mute_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm_adc_mute_put() argument
1021 wm_adc_vol_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm_adc_vol_get() argument
1036 wm_adc_vol_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm_adc_vol_put() argument
1087 wm_adc_mux_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm_adc_mux_get() argument
1099 wm_adc_mux_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm_adc_mux_put() argument
1137 aureon_cs8415_mux_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aureon_cs8415_mux_get() argument
1149 aureon_cs8415_mux_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aureon_cs8415_mux_put() argument
1177 aureon_cs8415_rate_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aureon_cs8415_rate_get() argument
1191 aureon_cs8415_mute_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aureon_cs8415_mute_get() argument
1200 aureon_cs8415_mute_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aureon_cs8415_mute_put() argument
1228 aureon_cs8415_qsub_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aureon_cs8415_qsub_get() argument
1246 aureon_cs8415_mask_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aureon_cs8415_mask_get() argument
1252 aureon_cs8415_spdif_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aureon_cs8415_spdif_get() argument
1298 aureon_hpamp_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aureon_hpamp_get() argument
1307 aureon_hpamp_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aureon_hpamp_put() argument
1320 aureon_deemp_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aureon_deemp_get() argument
1327 aureon_deemp_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aureon_deemp_put() argument
1353 aureon_oversampling_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aureon_oversampling_get() argument
1360 aureon_oversampling_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aureon_oversampling_put() argument
[all...]
H A Dmaya44.c171 struct snd_ctl_elem_value *ucontrol) in maya_vol_get() argument
175 &chip->wm[snd_ctl_get_ioff(kcontrol, &ucontrol->id)]; in maya_vol_get()
179 ucontrol->value.integer.value[0] = wm->volumes[idx][0]; in maya_vol_get()
180 ucontrol->value.integer.value[1] = wm->volumes[idx][1]; in maya_vol_get()
185 struct snd_ctl_elem_value *ucontrol) in maya_vol_put() argument
189 &chip->wm[snd_ctl_get_ioff(kcontrol, &ucontrol->id)]; in maya_vol_put()
197 val = ucontrol->value.integer.value[ch]; in maya_vol_put()
230 struct snd_ctl_elem_value *ucontrol) in maya_sw_get() argument
234 &chip->wm[snd_ctl_get_ioff(kcontrol, &ucontrol->id)]; in maya_sw_get()
237 ucontrol->value.integer.value[0] = (wm->switch_bits >> idx) & 1; in maya_sw_get()
[all …]
H A Dprodigy192.c94 static int stac9460_dac_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in stac9460_dac_mute_get() argument
103 idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + STAC946X_LF_VOLUME; in stac9460_dac_mute_get()
105 ucontrol->value.integer.value[0] = (~val >> 7) & 0x1; in stac9460_dac_mute_get()
109 static int stac9460_dac_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in stac9460_dac_mute_put() argument
118 idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + STAC946X_LF_VOLUME; in stac9460_dac_mute_put()
125 return stac9460_dac_mute(ice, idx, ucontrol->value.integer.value[0]); in stac9460_dac_mute_put()
140 static int stac9460_dac_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in stac9460_dac_vol_get() argument
149 idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + STAC946X_LF_VOLUME; in stac9460_dac_vol_get()
151 ucontrol->value.integer.value[0] = 0x7f - vol; in stac9460_dac_vol_get()
156 static int stac9460_dac_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in stac9460_dac_vol_put() argument
[all …]
H A Dphase.c286 struct snd_ctl_elem_value *ucontrol) in wm_pcm_mute_get() argument
291 ucontrol->value.integer.value[0] = (wm_get(ice, WM_MUTE) & 0x10) ? in wm_pcm_mute_get()
297 struct snd_ctl_elem_value *ucontrol) in wm_pcm_mute_put() argument
305 nval = (oval & ~0x10) | (ucontrol->value.integer.value[0] ? 0 : 0x10); in wm_pcm_mute_put()
328 struct snd_ctl_elem_value *ucontrol) in wm_master_vol_get() argument
334 ucontrol->value.integer.value[i] = spec->master[i] & in wm_master_vol_get()
340 struct snd_ctl_elem_value *ucontrol) in wm_master_vol_put() argument
348 unsigned int vol = ucontrol->value.integer.value[ch]; in wm_master_vol_put()
475 struct snd_ctl_elem_value *ucontrol) in wm_vol_get() argument
484 ucontrol->value.integer.value[i] = in wm_vol_get()
[all …]
/linux/sound/usb/6fire/
H A Dcontrol.c186 struct snd_ctl_elem_value *ucontrol) in usb6fire_control_output_vol_put() argument
198 if (rt->output_vol[ch] != ucontrol->value.integer.value[0]) { in usb6fire_control_output_vol_put()
199 rt->output_vol[ch] = ucontrol->value.integer.value[0]; in usb6fire_control_output_vol_put()
203 if (rt->output_vol[ch + 1] != ucontrol->value.integer.value[1]) { in usb6fire_control_output_vol_put()
204 rt->output_vol[ch + 1] = ucontrol->value.integer.value[1]; in usb6fire_control_output_vol_put()
216 struct snd_ctl_elem_value *ucontrol) in usb6fire_control_output_vol_get() argument
227 ucontrol->value.integer.value[0] = rt->output_vol[ch]; in usb6fire_control_output_vol_get()
228 ucontrol->value.integer.value[1] = rt->output_vol[ch + 1]; in usb6fire_control_output_vol_get()
233 struct snd_ctl_elem_value *ucontrol) in usb6fire_control_output_mute_put() argument
247 if (ucontrol in usb6fire_control_output_mute_put()
260 usb6fire_control_output_mute_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) usb6fire_control_output_mute_get() argument
290 usb6fire_control_input_vol_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) usb6fire_control_input_vol_put() argument
315 usb6fire_control_input_vol_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) usb6fire_control_input_vol_get() argument
332 usb6fire_control_line_phono_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) usb6fire_control_line_phono_put() argument
345 usb6fire_control_line_phono_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) usb6fire_control_line_phono_get() argument
359 usb6fire_control_opt_coax_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) usb6fire_control_opt_coax_put() argument
373 usb6fire_control_opt_coax_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) usb6fire_control_opt_coax_get() argument
381 usb6fire_control_digital_thru_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) usb6fire_control_digital_thru_put() argument
395 usb6fire_control_digital_thru_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) usb6fire_control_digital_thru_get() argument
[all...]
/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-misc-control.c75 struct snd_ctl_elem_value *ucontrol) in mt8186_sgen_get() argument
81 ucontrol->value.integer.value[0] = afe_priv->sgen_mode; in mt8186_sgen_get()
87 struct snd_ctl_elem_value *ucontrol) in mt8186_sgen_set() argument
96 if (ucontrol->value.enumerated.item[0] >= e->items) in mt8186_sgen_set()
99 mode = ucontrol->value.integer.value[0]; in mt8186_sgen_set()
129 struct snd_ctl_elem_value *ucontrol) in mt8186_sgen_rate_get() argument
135 ucontrol->value.integer.value[0] = afe_priv->sgen_rate; in mt8186_sgen_rate_get()
141 struct snd_ctl_elem_value *ucontrol) in mt8186_sgen_rate_set() argument
149 if (ucontrol->value.enumerated.item[0] >= e->items) in mt8186_sgen_rate_set()
152 rate = ucontrol in mt8186_sgen_rate_set()
173 mt8186_sgen_amplitude_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) mt8186_sgen_amplitude_get() argument
184 mt8186_sgen_amplitude_set(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) mt8186_sgen_amplitude_set() argument
[all...]
/linux/sound/soc/
H A Dsoc-ops.c52 * @ucontrol: control element information
59 struct snd_ctl_elem_value *ucontrol) in snd_soc_get_enum_double() argument
69 ucontrol->value.enumerated.item[0] = item; in snd_soc_get_enum_double()
73 ucontrol->value.enumerated.item[1] = item; in snd_soc_get_enum_double()
83 * @ucontrol: control element information
90 struct snd_ctl_elem_value *ucontrol) in snd_soc_put_enum_double() argument
94 unsigned int *item = ucontrol->value.enumerated.item; in snd_soc_put_enum_double()
203 struct snd_ctl_elem_value *ucontrol, in soc_mixer_sx_mask()
212 ret = soc_mixer_valid_ctl(mc, ucontrol->value.integer.value[0], max); in soc_info_volsw()
216 val1 = soc_mixer_ctl_to_reg(mc, ucontrol in soc_info_volsw()
234 soc_put_volsw(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol,struct soc_mixer_control * mc,int mask,int max) soc_put_volsw() argument
289 soc_get_volsw(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol,struct soc_mixer_control * mc,int mask,int max,bool sx) soc_get_volsw() argument
376 snd_soc_get_volsw(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_soc_get_volsw() argument
397 snd_soc_put_volsw(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_soc_put_volsw() argument
418 snd_soc_get_volsw_sx(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_soc_get_volsw_sx() argument
438 snd_soc_put_volsw_sx(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_soc_put_volsw_sx() argument
526 snd_soc_bytes_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_soc_bytes_get() argument
563 snd_soc_bytes_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_soc_bytes_put() argument
635 snd_soc_bytes_info_ext(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_info * ucontrol) snd_soc_bytes_info_ext() argument
710 snd_soc_get_xr_sx(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_soc_get_xr_sx() argument
754 snd_soc_put_xr_sx(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_soc_put_xr_sx() argument
801 snd_soc_get_strobe(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_soc_get_strobe() argument
833 snd_soc_put_strobe(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_soc_put_strobe() argument
[all...]
/linux/sound/ppc/
H A Ddaca.c83 struct snd_ctl_elem_value *ucontrol) in daca_get_deemphasis() argument
90 ucontrol->value.integer.value[0] = mix->deemphasis ? 1 : 0; in daca_get_deemphasis()
95 struct snd_ctl_elem_value *ucontrol) in daca_put_deemphasis() argument
104 change = mix->deemphasis != ucontrol->value.integer.value[0]; in daca_put_deemphasis()
106 mix->deemphasis = !!ucontrol->value.integer.value[0]; in daca_put_deemphasis()
124 struct snd_ctl_elem_value *ucontrol) in daca_get_volume() argument
131 ucontrol->value.integer.value[0] = mix->left_vol; in daca_get_volume()
132 ucontrol->value.integer.value[1] = mix->right_vol; in daca_get_volume()
137 struct snd_ctl_elem_value *ucontrol) in daca_put_volume() argument
147 vol[0] = ucontrol->value.integer.value[0]; in daca_put_volume()
[all …]
/linux/sound/soc/tegra/
H A Dtegra186_dspk.c28 struct snd_ctl_elem_value *ucontrol) in tegra186_dspk_get_fifo_th() argument
33 ucontrol->value.integer.value[0] = dspk->rx_fifo_th; in tegra186_dspk_get_fifo_th()
39 struct snd_ctl_elem_value *ucontrol) in tegra186_dspk_put_fifo_th() argument
43 int value = ucontrol->value.integer.value[0]; in tegra186_dspk_put_fifo_th()
54 struct snd_ctl_elem_value *ucontrol) in tegra186_dspk_get_osr_val() argument
59 ucontrol->value.enumerated.item[0] = dspk->osr_val; in tegra186_dspk_get_osr_val()
65 struct snd_ctl_elem_value *ucontrol) in tegra186_dspk_put_osr_val() argument
69 unsigned int value = ucontrol->value.enumerated.item[0]; in tegra186_dspk_put_osr_val()
80 struct snd_ctl_elem_value *ucontrol) in tegra186_dspk_get_pol_sel() argument
85 ucontrol->value.enumerated.item[0] = dspk->lrsel; in tegra186_dspk_get_pol_sel()
[all …]
H A Dtegra210_dmic.c160 struct snd_ctl_elem_value *ucontrol) in tegra210_dmic_get_boost_gain() argument
165 ucontrol->value.integer.value[0] = dmic->boost_gain; in tegra210_dmic_get_boost_gain()
171 struct snd_ctl_elem_value *ucontrol) in tegra210_dmic_put_boost_gain() argument
175 int value = ucontrol->value.integer.value[0]; in tegra210_dmic_put_boost_gain()
186 struct snd_ctl_elem_value *ucontrol) in tegra210_dmic_get_ch_select() argument
191 ucontrol->value.enumerated.item[0] = dmic->ch_select; in tegra210_dmic_get_ch_select()
197 struct snd_ctl_elem_value *ucontrol) in tegra210_dmic_put_ch_select() argument
201 unsigned int value = ucontrol->value.enumerated.item[0]; in tegra210_dmic_put_ch_select()
212 struct snd_ctl_elem_value *ucontrol) in tegra210_dmic_get_mono_to_stereo() argument
217 ucontrol->value.enumerated.item[0] = dmic->mono_to_stereo; in tegra210_dmic_get_mono_to_stereo()
[all …]
H A Dtegra210_mvc.c123 struct snd_ctl_elem_value *ucontrol) in tegra210_mvc_get_mute() argument
136 ucontrol->value.integer.value[0] = mute_mask; in tegra210_mvc_get_mute()
139 ucontrol->value.integer.value[0] = in tegra210_mvc_get_mute()
142 ucontrol->value.integer.value[0] = 0; in tegra210_mvc_get_mute()
149 struct snd_ctl_elem_value *ucontrol) in tegra210_mvc_get_master_mute() argument
162 ucontrol->value.integer.value[0] = in tegra210_mvc_get_master_mute()
166 ucontrol->value.integer.value[0] = in tegra210_mvc_get_master_mute()
169 ucontrol->value.integer.value[0] = 0; in tegra210_mvc_get_master_mute()
193 struct snd_ctl_elem_value *ucontrol, in tegra210_mvc_update_mute() argument
198 u32 mute_val = ucontrol->value.integer.value[0]; in tegra210_mvc_update_mute()
[all …]
/linux/sound/drivers/pcsp/
H A Dpcsp_mixer.c25 struct snd_ctl_elem_value *ucontrol) in pcsp_enable_get() argument
28 ucontrol->value.integer.value[0] = chip->enable; in pcsp_enable_get()
33 struct snd_ctl_elem_value *ucontrol) in pcsp_enable_put() argument
37 int enab = ucontrol->value.integer.value[0]; in pcsp_enable_put()
60 struct snd_ctl_elem_value *ucontrol) in pcsp_treble_get() argument
63 ucontrol->value.enumerated.item[0] = chip->treble; in pcsp_treble_get()
68 struct snd_ctl_elem_value *ucontrol) in pcsp_treble_put() argument
72 int treble = ucontrol->value.enumerated.item[0]; in pcsp_treble_put()
94 struct snd_ctl_elem_value *ucontrol) in pcsp_pcspkr_get() argument
97 ucontrol->value.integer.value[0] = chip->pcspkr; in pcsp_pcspkr_get()
[all …]
/linux/sound/soc/codecs/
H A Drt715-sdca.c132 struct snd_ctl_elem_value *ucontrol) in rt715_sdca_set_amp_gain_put() argument
142 if (ucontrol->value.integer.value[i] != rt715->kctl_2ch_orig[i]) { in rt715_sdca_set_amp_gain_put()
149 rt715->kctl_2ch_orig[i] = ucontrol->value.integer.value[i]; in rt715_sdca_set_amp_gain_put()
151 rt715_sdca_vol_gain(ucontrol->value.integer.value[i], mc->max, in rt715_sdca_set_amp_gain_put()
165 struct snd_ctl_elem_value *ucontrol) in rt715_sdca_set_amp_gain_4ch_put() argument
177 if (ucontrol->value.integer.value[i] != rt715->kctl_4ch_orig[i]) { in rt715_sdca_set_amp_gain_4ch_put()
184 rt715->kctl_4ch_orig[i] = ucontrol->value.integer.value[i]; in rt715_sdca_set_amp_gain_4ch_put()
186 rt715_sdca_vol_gain(ucontrol->value.integer.value[i], p->max, in rt715_sdca_set_amp_gain_4ch_put()
201 struct snd_ctl_elem_value *ucontrol) in rt715_sdca_set_amp_gain_8ch_put() argument
213 if (ucontrol in rt715_sdca_set_amp_gain_8ch_put()
237 rt715_sdca_set_amp_gain_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) rt715_sdca_set_amp_gain_get() argument
260 rt715_sdca_set_amp_gain_4ch_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) rt715_sdca_set_amp_gain_4ch_get() argument
285 rt715_sdca_set_amp_gain_8ch_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) rt715_sdca_set_amp_gain_8ch_get() argument
323 rt715_sdca_get_volsw(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) rt715_sdca_get_volsw() argument
349 rt715_sdca_put_volsw(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) rt715_sdca_put_volsw() argument
503 rt715_sdca_mux_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) rt715_sdca_mux_get() argument
539 rt715_sdca_mux_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) rt715_sdca_mux_put() argument
[all...]
H A Dwm8958-dsp2.c455 struct snd_ctl_elem_value *ucontrol) in wm8958_put_mbc_enum()
460 int value = ucontrol->value.enumerated.item[0]; in wm8958_put_mbc_enum()
477 struct snd_ctl_elem_value *ucontrol) in wm8958_get_mbc_enum()
482 ucontrol->value.enumerated.item[0] = wm8994->mbc_cfg; in wm8958_get_mbc_enum()
498 struct snd_ctl_elem_value *ucontrol) in wm8958_mbc_get()
504 ucontrol->value.integer.value[0] = wm8994->mbc_ena[mbc]; in wm8958_mbc_get()
510 struct snd_ctl_elem_value *ucontrol) in wm8958_mbc_put()
516 if (wm8994->mbc_ena[mbc] == ucontrol->value.integer.value[0]) in wm8958_mbc_put()
519 if (ucontrol->value.integer.value[0] > 1) in wm8958_mbc_put()
530 wm8994->mbc_ena[mbc] = ucontrol in wm8958_mbc_put()
454 wm8958_put_mbc_enum(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm8958_put_mbc_enum() argument
476 wm8958_get_mbc_enum(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm8958_get_mbc_enum() argument
497 wm8958_mbc_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm8958_mbc_get() argument
509 wm8958_mbc_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm8958_mbc_put() argument
544 wm8958_put_vss_enum(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm8958_put_vss_enum() argument
566 wm8958_get_vss_enum(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm8958_get_vss_enum() argument
577 wm8958_put_vss_hpf_enum(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm8958_put_vss_hpf_enum() argument
599 wm8958_get_vss_hpf_enum(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm8958_get_vss_hpf_enum() argument
620 wm8958_vss_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm8958_vss_get() argument
632 wm8958_vss_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm8958_vss_put() argument
681 wm8958_hpf_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm8958_hpf_get() argument
696 wm8958_hpf_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm8958_hpf_put() argument
744 wm8958_put_enh_eq_enum(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm8958_put_enh_eq_enum() argument
766 wm8958_get_enh_eq_enum(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm8958_get_enh_eq_enum() argument
787 wm8958_enh_eq_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm8958_enh_eq_get() argument
799 wm8958_enh_eq_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) wm8958_enh_eq_put() argument
[all...]
/linux/sound/i2c/
H A Dtea6330t.c80 struct snd_ctl_elem_value *ucontrol) in snd_tea6330t_get_master_volume()
85 ucontrol->value.integer.value[0] = tea->mleft - 0x14; in snd_tea6330t_get_master_volume()
86 ucontrol->value.integer.value[1] = tea->mright - 0x14; in snd_tea6330t_get_master_volume()
92 struct snd_ctl_elem_value *ucontrol) in snd_tea6330t_put_master_volume()
99 val1 = (ucontrol->value.integer.value[0] % 44) + 0x14; in snd_tea6330t_put_master_volume()
100 val2 = (ucontrol->value.integer.value[1] % 44) + 0x14; in snd_tea6330t_put_master_volume()
132 struct snd_ctl_elem_value *ucontrol) in snd_tea6330t_get_master_switch()
137 ucontrol->value.integer.value[0] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT] == 0 ? 0 : 1; in snd_tea6330t_get_master_switch()
138 ucontrol->value.integer.value[1] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] == 0 ? 0 : 1; in snd_tea6330t_get_master_switch()
144 struct snd_ctl_elem_value *ucontrol) in snd_tea6330t_put_master_switch()
79 snd_tea6330t_get_master_volume(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_tea6330t_get_master_volume() argument
91 snd_tea6330t_put_master_volume(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_tea6330t_put_master_volume() argument
131 snd_tea6330t_get_master_switch(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_tea6330t_get_master_switch() argument
143 snd_tea6330t_put_master_switch(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_tea6330t_put_master_switch() argument
186 snd_tea6330t_get_bass(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_tea6330t_get_bass() argument
195 snd_tea6330t_put_bass(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_tea6330t_put_bass() argument
234 snd_tea6330t_get_treble(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_tea6330t_get_treble() argument
243 snd_tea6330t_put_treble(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_tea6330t_put_treble() argument
[all...]
/linux/sound/soc/sof/
H A Dcontrol.c19 struct snd_ctl_elem_value *ucontrol) in snd_sof_volume_get() argument
28 return tplg_ops->control->volume_get(scontrol, ucontrol); in snd_sof_volume_get()
34 struct snd_ctl_elem_value *ucontrol) in snd_sof_volume_put() argument
43 return tplg_ops->control->volume_put(scontrol, ucontrol); in snd_sof_volume_put()
71 struct snd_ctl_elem_value *ucontrol) in snd_sof_switch_get() argument
80 return tplg_ops->control->switch_get(scontrol, ucontrol); in snd_sof_switch_get()
86 struct snd_ctl_elem_value *ucontrol) in snd_sof_switch_put() argument
95 return tplg_ops->control->switch_put(scontrol, ucontrol); in snd_sof_switch_put()
101 struct snd_ctl_elem_value *ucontrol) in snd_sof_enum_get() argument
110 return tplg_ops->control->enum_get(scontrol, ucontrol); in snd_sof_enum_get()
116 snd_sof_enum_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_sof_enum_put() argument
131 snd_sof_bytes_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_sof_bytes_get() argument
146 snd_sof_bytes_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_sof_bytes_put() argument
[all...]
/linux/sound/usb/
H A Dmixer_us16x08.c180 struct snd_ctl_elem_value *ucontrol) in snd_us16x08_route_get() argument
183 int index = ucontrol->id.index; in snd_us16x08_route_get()
186 ucontrol->value.enumerated.item[0] = elem->cache_val[index]; in snd_us16x08_route_get()
192 struct snd_ctl_elem_value *ucontrol) in snd_us16x08_route_put() argument
196 int index = ucontrol->id.index; in snd_us16x08_route_put()
201 val = ucontrol->value.enumerated.item[0]; in snd_us16x08_route_put()
249 struct snd_ctl_elem_value *ucontrol) in snd_us16x08_master_get() argument
252 int index = ucontrol->id.index; in snd_us16x08_master_get()
254 ucontrol->value.integer.value[0] = elem->cache_val[index]; in snd_us16x08_master_get()
260 struct snd_ctl_elem_value *ucontrol) in snd_us16x08_master_put() argument
297 snd_us16x08_bus_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_us16x08_bus_put() argument
338 snd_us16x08_bus_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_us16x08_bus_get() argument
359 snd_us16x08_channel_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_us16x08_channel_get() argument
370 snd_us16x08_channel_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_us16x08_channel_put() argument
417 snd_us16x08_comp_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_us16x08_comp_get() argument
430 snd_us16x08_comp_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_us16x08_comp_put() argument
484 snd_us16x08_eqswitch_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_us16x08_eqswitch_get() argument
500 snd_us16x08_eqswitch_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_us16x08_eqswitch_put() argument
543 snd_us16x08_eq_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_us16x08_eq_get() argument
560 snd_us16x08_eq_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_us16x08_eq_put() argument
691 snd_us16x08_meter_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_us16x08_meter_get() argument
752 snd_us16x08_meter_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) snd_us16x08_meter_put() argument
[all...]
/linux/sound/soc/codecs/aw88395/
H A Daw88395.c105 struct snd_ctl_elem_value *ucontrol) in aw88395_get_fade_in_time() argument
111 ucontrol->value.integer.value[0] = aw_dev->fade_in_time; in aw88395_get_fade_in_time()
117 struct snd_ctl_elem_value *ucontrol) in aw88395_set_fade_in_time() argument
126 time = ucontrol->value.integer.value[0]; in aw88395_set_fade_in_time()
140 struct snd_ctl_elem_value *ucontrol) in aw88395_get_fade_out_time() argument
146 ucontrol->value.integer.value[0] = aw_dev->fade_out_time; in aw88395_get_fade_out_time()
152 struct snd_ctl_elem_value *ucontrol) in aw88395_set_fade_out_time() argument
161 time = ucontrol->value.integer.value[0]; in aw88395_set_fade_out_time()
209 struct snd_ctl_elem_value *ucontrol) in aw88395_profile_get() argument
214 ucontrol in aw88395_profile_get()
220 aw88395_profile_set(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aw88395_profile_set() argument
246 aw88395_volume_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aw88395_volume_get() argument
258 aw88395_volume_set(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aw88395_volume_set() argument
282 aw88395_get_fade_step(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aw88395_get_fade_step() argument
293 aw88395_set_fade_step(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aw88395_set_fade_step() argument
314 aw88395_re_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aw88395_re_get() argument
326 aw88395_re_set(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * ucontrol) aw88395_re_set() argument
[all...]
/linux/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835-ctl.c53 struct snd_ctl_elem_value *ucontrol) in snd_bcm2835_ctl_get() argument
60 ucontrol->value.integer.value[0] = chip->volume; in snd_bcm2835_ctl_get()
62 ucontrol->value.integer.value[0] = chip->mute; in snd_bcm2835_ctl_get()
64 ucontrol->value.integer.value[0] = chip->dest; in snd_bcm2835_ctl_get()
71 struct snd_ctl_elem_value *ucontrol) in snd_bcm2835_ctl_put() argument
87 val = ucontrol->value.integer.value[0]; in snd_bcm2835_ctl_put()
137 struct snd_ctl_elem_value *ucontrol) in snd_bcm2835_spdif_default_get() argument
145 ucontrol->value.iec958.status[i] = in snd_bcm2835_spdif_default_get()
153 struct snd_ctl_elem_value *ucontrol) in snd_bcm2835_spdif_default_put() argument
162 val |= (unsigned int)ucontrol->value.iec958.status[i] << (i * 8); in snd_bcm2835_spdif_default_put()
[all …]

12345678910>>...12