/linux-master/sound/pci/ice1712/ |
H A D | ews.c | 252 static void ews88_spdif_default_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) argument 254 snd_cs8404_decode_spdif_bits(&ucontrol->value.iec958, ice->spdif.cs8403_bits); 257 static int ews88_spdif_default_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) argument 262 val = snd_cs8404_encode_spdif_bits(&ucontrol->value.iec958); 275 static void ews88_spdif_stream_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) argument 277 snd_cs8404_decode_spdif_bits(&ucontrol->value.iec958, ice->spdif.cs8403_stream_bits); 280 static int ews88_spdif_stream_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) argument 285 val = snd_cs8404_encode_spdif_bits(&ucontrol->value.iec958); 576 static int snd_ice1712_ewx_io_sense_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 582 ucontrol 587 snd_ice1712_ewx_io_sense_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 628 snd_ice1712_ews88mt_output_sense_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 645 snd_ice1712_ews88mt_output_sense_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 667 snd_ice1712_ews88mt_input_sense_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 688 snd_ice1712_ews88mt_input_sense_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 736 snd_ice1712_ews88d_control_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 757 snd_ice1712_ews88d_control_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 853 snd_ice1712_6fire_control_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 870 snd_ice1712_6fire_control_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 900 snd_ice1712_6fire_select_input_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 912 snd_ice1712_6fire_select_input_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
H A D | prodigy_hifi.c | 252 struct snd_ctl_elem_value *ucontrol) 259 ucontrol->value.integer.value[i] = spec->vol[i]; 264 static int ak4396_dac_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 273 if (ucontrol->value.integer.value[i] != spec->vol[i]) { 274 spec->vol[i] = ucontrol->value.integer.value[i]; 361 struct snd_ctl_elem_value *ucontrol) 368 ucontrol->value.integer.value[i] = 373 static int wm_dac_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 381 if (ucontrol->value.integer.value[i] != spec->vol[2 + i]) { 384 spec->vol[2 + i] |= ucontrol 251 ak4396_dac_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 360 wm_dac_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 408 wm8766_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 422 wm8766_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 459 wm_master_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 470 wm_master_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 533 wm_adc_mux_enum_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 544 wm_adc_mux_enum_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 582 wm_adc_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 599 wm_adc_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 626 wm_adc_mux_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 639 wm_adc_mux_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 666 wm_bypass_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 678 wm_bypass_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 704 wm_chswap_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 716 wm_chswap_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
H A D | ice1712.c | 239 static int snd_ice1712_digmix_route_ac97_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 243 ucontrol->value.integer.value[0] = inb(ICEMT(ice, MONITOR_ROUTECTRL)) & ICE1712_ROUTE_AC97 ? 1 : 0; 247 static int snd_ice1712_digmix_route_ac97_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 255 if (ucontrol->value.integer.value[0]) 1255 static int snd_ice1712_pro_mixer_switch_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1258 int priv_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + 1262 ucontrol->value.integer.value[0] = 1264 ucontrol->value.integer.value[1] = 1270 static int snd_ice1712_pro_mixer_switch_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1273 int priv_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol 1297 snd_ice1712_pro_mixer_volume_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1312 snd_ice1712_pro_mixer_volume_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1573 snd_ice1712_eeprom_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1600 snd_ice1712_spdif_default_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1609 snd_ice1712_spdif_default_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1627 snd_ice1712_spdif_maskc_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1649 snd_ice1712_spdif_maskp_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1687 snd_ice1712_spdif_stream_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1696 snd_ice1712_spdif_stream_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1716 snd_ice1712_gpio_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1730 snd_ice1712_gpio_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1775 snd_ice1712_pro_internal_clock_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1799 snd_ice1712_pro_internal_clock_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1860 snd_ice1712_pro_internal_clock_default_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1878 snd_ice1712_pro_internal_clock_default_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1905 snd_ice1712_pro_rate_locking_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1912 snd_ice1712_pro_rate_locking_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1936 snd_ice1712_pro_rate_reset_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1943 snd_ice1712_pro_rate_reset_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1982 snd_ice1712_pro_route_analog_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2008 snd_ice1712_pro_route_analog_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2058 snd_ice1712_pro_route_spdif_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2078 snd_ice1712_pro_route_spdif_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2145 snd_ice1712_pro_volume_rate_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2154 snd_ice1712_pro_volume_rate_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2185 snd_ice1712_pro_peak_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
/linux-master/sound/ppc/ |
H A D | awacs.c | 134 struct snd_ctl_elem_value *ucontrol) 151 ucontrol->value.integer.value[0] = vol[0]; 152 ucontrol->value.integer.value[1] = vol[1]; 157 struct snd_ctl_elem_value *ucontrol) 167 vol[0] = ucontrol->value.integer.value[0]; 168 vol[1] = ucontrol->value.integer.value[1]; 200 struct snd_ctl_elem_value *ucontrol) 214 ucontrol->value.integer.value[0] = val; 219 struct snd_ctl_elem_value *ucontrol) 231 if (ucontrol 133 snd_pmac_awacs_get_volume(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 156 snd_pmac_awacs_put_volume(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 199 snd_pmac_awacs_get_switch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 218 snd_pmac_awacs_put_switch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 331 snd_pmac_awacs_get_volume_amp(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 343 snd_pmac_awacs_put_volume_amp(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 358 snd_pmac_awacs_get_switch_amp(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 372 snd_pmac_awacs_put_switch_amp(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 397 snd_pmac_awacs_get_tone_amp(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 408 snd_pmac_awacs_put_tone_amp(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 437 snd_pmac_awacs_get_master_amp(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 447 snd_pmac_awacs_put_master_amp(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 539 snd_pmac_screamer_mic_boost_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 556 snd_pmac_screamer_mic_boost_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
H A D | tumbler.c | 253 struct snd_ctl_elem_value *ucontrol) 258 ucontrol->value.integer.value[0] = mix->master_vol[0]; 259 ucontrol->value.integer.value[1] = mix->master_vol[1]; 264 struct snd_ctl_elem_value *ucontrol) 271 vol[0] = ucontrol->value.integer.value[0]; 272 vol[1] = ucontrol->value.integer.value[1]; 288 struct snd_ctl_elem_value *ucontrol) 293 ucontrol->value.integer.value[0] = mix->master_switch[0]; 294 ucontrol->value.integer.value[1] = mix->master_switch[1]; 299 struct snd_ctl_elem_value *ucontrol) 252 tumbler_get_master_volume(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 263 tumbler_put_master_volume(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 287 tumbler_get_master_switch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 298 tumbler_put_master_switch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 400 tumbler_get_drc_value(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 412 tumbler_put_drc_value(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 442 tumbler_get_drc_switch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 454 tumbler_put_drc_switch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 525 tumbler_get_mono(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 538 tumbler_put_mono(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 672 snapper_get_mix(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 686 snapper_put_mix(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 721 tumbler_get_mute_switch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 746 tumbler_put_mute_switch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 801 snapper_get_capture_source(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 811 snapper_put_capture_source(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
H A D | burgundy.c | 173 struct snd_ctl_elem_value *ucontrol) 179 ucontrol->value.integer.value, shift); 184 struct snd_ctl_elem_value *ucontrol) 192 ucontrol->value.integer.value, shift); 194 return (nvoices[0] != ucontrol->value.integer.value[0] || 195 nvoices[1] != ucontrol->value.integer.value[1]); 249 struct snd_ctl_elem_value *ucontrol) 255 ucontrol->value.integer.value, off); 260 struct snd_ctl_elem_value *ucontrol) 268 ucontrol 172 snd_pmac_burgundy_get_volume(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 183 snd_pmac_burgundy_put_volume(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 248 snd_pmac_burgundy_get_volume_2b(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 259 snd_pmac_burgundy_put_volume_2b(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 295 snd_pmac_burgundy_get_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 313 snd_pmac_burgundy_put_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 357 snd_pmac_burgundy_get_switch_w(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 372 snd_pmac_burgundy_put_switch_w(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 413 snd_pmac_burgundy_get_switch_b(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 428 snd_pmac_burgundy_put_switch_b(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
/linux-master/sound/i2c/other/ |
H A D | ak4113.c | 184 struct snd_ctl_elem_value *ucontrol) 189 ucontrol->value.integer.value[0] = 199 struct snd_ctl_elem_value *ucontrol) 206 ucontrol->value.integer.value[0] = 222 struct snd_ctl_elem_value *ucontrol) 226 ucontrol->value.integer.value[0] = 232 struct snd_ctl_elem_value *ucontrol) 240 change = ucontrol->value.integer.value[0] != AK4113_IPS(old_val); 244 (AK4113_IPS(ucontrol->value.integer.value[0]))); 260 struct snd_ctl_elem_value *ucontrol) 183 snd_ak4113_in_error_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 198 snd_ak4113_in_bit_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 221 snd_ak4113_rx_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 231 snd_ak4113_rx_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 259 snd_ak4113_rate_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 277 snd_ak4113_spdif_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 297 snd_ak4113_spdif_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 314 snd_ak4113_spdif_pget(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 339 snd_ak4113_spdif_qget(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
H A D | ak4117.c | 154 struct snd_ctl_elem_value *ucontrol) 159 ucontrol->value.integer.value[0] = 169 struct snd_ctl_elem_value *ucontrol) 176 ucontrol->value.integer.value[0] = ((reg_read(chip, reg) & (1 << bit)) ? 1 : 0) ^ inv; 191 struct snd_ctl_elem_value *ucontrol) 195 ucontrol->value.integer.value[0] = (chip->regmap[AK4117_REG_IO] & AK4117_IPS) ? 1 : 0; 200 struct snd_ctl_elem_value *ucontrol) 208 change = !!ucontrol->value.integer.value[0] != ((old_val & AK4117_IPS) ? 1 : 0); 210 reg_write(chip, AK4117_REG_IO, (old_val & ~AK4117_IPS) | (ucontrol->value.integer.value[0] ? AK4117_IPS : 0)); 226 struct snd_ctl_elem_value *ucontrol) 153 snd_ak4117_in_error_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 168 snd_ak4117_in_bit_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 190 snd_ak4117_rx_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 199 snd_ak4117_rx_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 225 snd_ak4117_rate_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 241 snd_ak4117_spdif_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 259 snd_ak4117_spdif_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 275 snd_ak4117_spdif_pget(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 297 snd_ak4117_spdif_qget(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
H A D | ak4114.c | 180 struct snd_ctl_elem_value *ucontrol) 185 ucontrol->value.integer.value[0] = 195 struct snd_ctl_elem_value *ucontrol) 202 ucontrol->value.integer.value[0] = ((reg_read(chip, reg) & (1 << bit)) ? 1 : 0) ^ inv; 217 struct snd_ctl_elem_value *ucontrol) 221 ucontrol->value.integer.value[0] = external_rate(reg_read(chip, AK4114_REG_RCS1)); 233 struct snd_ctl_elem_value *ucontrol) 239 ucontrol->value.iec958.status[i] = reg_read(chip, AK4114_REG_RXCSB0 + i); 244 struct snd_ctl_elem_value *ucontrol) 250 ucontrol 179 snd_ak4114_in_error_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 194 snd_ak4114_in_bit_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 216 snd_ak4114_rate_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 232 snd_ak4114_spdif_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 243 snd_ak4114_spdif_playback_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 254 snd_ak4114_spdif_playback_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 272 snd_ak4114_spdif_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 288 snd_ak4114_spdif_pget(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 310 snd_ak4114_spdif_qget(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
/linux-master/sound/soc/uniphier/ |
H A D | evea.c | 229 struct snd_ctl_elem_value *ucontrol) 234 ucontrol->value.integer.value[0] = evea->switch_lin; 240 struct snd_ctl_elem_value *ucontrol) 245 if (evea->switch_lin == ucontrol->value.integer.value[0]) 248 evea->switch_lin = ucontrol->value.integer.value[0]; 254 struct snd_ctl_elem_value *ucontrol) 259 ucontrol->value.integer.value[0] = evea->switch_lo; 265 struct snd_ctl_elem_value *ucontrol) 270 if (evea->switch_lo == ucontrol->value.integer.value[0]) 273 evea->switch_lo = ucontrol 228 evea_get_switch_lin(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 239 evea_set_switch_lin(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 253 evea_get_switch_lo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 264 evea_set_switch_lo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 278 evea_get_switch_hp(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 289 evea_set_switch_hp(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
/linux-master/sound/soc/tegra/ |
H A D | tegra210_i2s.c | 306 struct snd_ctl_elem_value *ucontrol) 311 ucontrol->value.integer.value[0] = i2s->loopback; 317 struct snd_ctl_elem_value *ucontrol) 321 int value = ucontrol->value.integer.value[0]; 335 struct snd_ctl_elem_value *ucontrol) 340 ucontrol->value.integer.value[0] = i2s->fsync_width; 346 struct snd_ctl_elem_value *ucontrol) 350 int value = ucontrol->value.integer.value[0]; 373 struct snd_ctl_elem_value *ucontrol) 378 ucontrol 305 tegra210_i2s_get_loopback(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 316 tegra210_i2s_put_loopback(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 334 tegra210_i2s_get_fsync_width(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 345 tegra210_i2s_put_fsync_width(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 372 tegra210_i2s_cget_stereo_to_mono(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 383 tegra210_i2s_cput_stereo_to_mono(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 398 tegra210_i2s_cget_mono_to_stereo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 409 tegra210_i2s_cput_mono_to_stereo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 424 tegra210_i2s_pget_stereo_to_mono(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 435 tegra210_i2s_pput_stereo_to_mono(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 450 tegra210_i2s_pget_mono_to_stereo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 461 tegra210_i2s_pput_mono_to_stereo(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 476 tegra210_i2s_pget_fifo_th(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 487 tegra210_i2s_pput_fifo_th(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 502 tegra210_i2s_get_bclk_ratio(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 513 tegra210_i2s_put_bclk_ratio(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
H A D | tegra210_peq.c | 99 struct snd_ctl_elem_value *ucontrol) 110 ucontrol->value.integer.value[0] = (val >> mc->shift) & mask; 115 ucontrol->value.integer.value[0] = 116 mc->max - ucontrol->value.integer.value[0]; 122 struct snd_ctl_elem_value *ucontrol) 132 val = (ucontrol->value.integer.value[0] & mask); 146 struct snd_ctl_elem_value *ucontrol) 163 ucontrol->value.integer.value[i] = (long)data[i]; 169 struct snd_ctl_elem_value *ucontrol) 179 data[i] = (s32)ucontrol 98 tegra210_peq_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 121 tegra210_peq_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 145 tegra210_peq_ram_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 168 tegra210_peq_ram_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
H A D | tegra210_mbdrc.c | 234 struct snd_ctl_elem_value *ucontrol) 244 ucontrol->value.integer.value[0] = (val >> mc->shift) & mc->max; 250 struct snd_ctl_elem_value *ucontrol) 256 unsigned int val = ucontrol->value.integer.value[0]; 268 struct snd_ctl_elem_value *ucontrol) 277 ucontrol->value.enumerated.item[0] = (val >> e->shift_l) & e->mask; 283 struct snd_ctl_elem_value *ucontrol) 292 if (ucontrol->value.enumerated.item[0] > e->items - 1) 295 val = ucontrol->value.enumerated.item[0] << e->shift_l; 305 struct snd_ctl_elem_value *ucontrol) 233 tegra210_mbdrc_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 249 tegra210_mbdrc_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 267 tegra210_mbdrc_get_enum(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 282 tegra210_mbdrc_put_enum(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 304 tegra210_mbdrc_band_params_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 325 tegra210_mbdrc_band_params_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 350 tegra210_mbdrc_threshold_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 378 tegra210_mbdrc_threshold_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 411 tegra210_mbdrc_biquad_coeffs_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 423 tegra210_mbdrc_biquad_coeffs_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 450 tegra210_mbdrc_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 467 tegra210_mbdrc_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
/linux-master/sound/soc/codecs/ |
H A D | wl1273.c | 159 struct snd_ctl_elem_value *ucontrol) 164 ucontrol->value.enumerated.item[0] = wl1273->mode; 177 struct snd_ctl_elem_value *ucontrol) 182 if (wl1273->mode == ucontrol->value.enumerated.item[0]) 189 if (ucontrol->value.enumerated.item[0] >= ARRAY_SIZE(wl1273_audio_route)) 192 wl1273->mode = ucontrol->value.enumerated.item[0]; 200 struct snd_ctl_elem_value *ucontrol) 207 ucontrol->value.enumerated.item[0] = wl1273->core->audio_mode; 213 struct snd_ctl_elem_value *ucontrol) 221 val = ucontrol 158 snd_wl1273_get_audio_route(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 176 snd_wl1273_set_audio_route(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 199 snd_wl1273_fm_audio_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 212 snd_wl1273_fm_audio_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 236 snd_wl1273_fm_volume_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 249 snd_wl1273_fm_volume_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
H A D | rt715.c | 125 struct snd_ctl_elem_value *ucontrol) 138 if (ucontrol->value.integer.value[i] != rt715->kctl_2ch_vol_ori[i]) { 160 rt715->kctl_2ch_vol_ori[0] = ucontrol->value.integer.value[0]; 162 val_ll = ((ucontrol->value.integer.value[0]) & 0x7f); 169 rt715->kctl_2ch_vol_ori[1] = ucontrol->value.integer.value[1]; 171 val_lr = ((ucontrol->value.integer.value[1]) & 0x7f); 216 struct snd_ctl_elem_value *ucontrol) 243 ucontrol->value.integer.value[0] = read_ll; 244 ucontrol->value.integer.value[1] = read_rl; 250 struct snd_ctl_elem_value *ucontrol) 124 rt715_set_amp_gain_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 215 rt715_set_amp_gain_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 249 rt715_set_main_switch_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 331 rt715_set_main_switch_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 357 rt715_set_main_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 440 rt715_set_main_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 554 rt715_mux_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 585 rt715_mux_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
H A D | rt711-sdca.c | 536 struct snd_ctl_elem_value *ucontrol) 546 if (strstr(ucontrol->id.name, "FU1E Capture Volume") || 547 strstr(ucontrol->id.name, "FU0F Capture Volume")) 555 gain_l_val = ucontrol->value.integer.value[0]; 577 gain_r_val = ucontrol->value.integer.value[1]; 620 struct snd_ctl_elem_value *ucontrol) 629 if (strstr(ucontrol->id.name, "FU1E Capture Volume") || 630 strstr(ucontrol->id.name, "FU0F Capture Volume")) 679 ucontrol->value.integer.value[0] = ctl_l; 680 ucontrol 535 rt711_sdca_set_gain_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 619 rt711_sdca_set_gain_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 731 rt711_sdca_fu1e_capture_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 742 rt711_sdca_fu1e_capture_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 762 rt711_sdca_fu0f_capture_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 773 rt711_sdca_fu0f_capture_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 829 rt711_sdca_mux_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 852 rt711_sdca_mux_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
/linux-master/sound/pci/ |
H A D | ak4531_codec.c | 71 static int snd_ak4531_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 86 ucontrol->value.integer.value[0] = val; 90 static int snd_ak4531_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 100 val = ucontrol->value.integer.value[0] & mask; 138 static int snd_ak4531_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 157 ucontrol->value.integer.value[0] = left; 158 ucontrol->value.integer.value[1] = right; 162 static int snd_ak4531_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 174 left = ucontrol->value.integer.value[0] & mask; 175 right = ucontrol 213 snd_ak4531_get_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 230 snd_ak4531_put_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
/linux-master/sound/pci/au88x0/ |
H A D | au88x0_pcm.c | 460 static int snd_vortex_spdif_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 462 ucontrol->value.iec958.status[0] = 0xff; 463 ucontrol->value.iec958.status[1] = 0xff; 464 ucontrol->value.iec958.status[2] = 0xff; 465 ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS; 469 static int snd_vortex_spdif_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 472 ucontrol->value.iec958.status[0] = 0x00; 473 ucontrol->value.iec958.status[1] = IEC958_AES1_CON_ORIGINAL|IEC958_AES1_CON_DIGDIGCONV_ID; 474 ucontrol->value.iec958.status[2] = 0x00; 476 case 32000: ucontrol 483 snd_vortex_spdif_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 530 snd_vortex_pcm_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 543 snd_vortex_pcm_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
/linux-master/sound/pci/ac97/ |
H A D | ac97_patch.c | 76 static int ac97_surround_jack_mode_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 80 ucontrol->value.enumerated.item[0] = ac97->indep_surround; 84 static int ac97_surround_jack_mode_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 87 unsigned char indep = !!ucontrol->value.enumerated.item[0]; 105 static int ac97_channel_mode_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 109 ucontrol->value.enumerated.item[0] = ac97->channel_mode; 113 static int ac97_channel_mode_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 116 unsigned char mode = ucontrol->value.enumerated.item[0]; 225 struct snd_ctl_elem_value *ucontrol) 234 ucontrol 224 snd_ac97_ymf7x3_get_speaker(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 238 snd_ac97_ymf7x3_put_speaker(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 269 snd_ac97_ymf7x3_spdif_source_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 280 snd_ac97_ymf7x3_spdif_source_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 371 snd_ac97_ymf753_spdif_output_pin_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 381 snd_ac97_ymf753_spdif_output_pin_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 974 snd_ac97_stac9708_put_bias(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1089 snd_ac97_stac9758_output_jack_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1103 snd_ac97_stac9758_output_jack_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1128 snd_ac97_stac9758_input_jack_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1139 snd_ac97_stac9758_input_jack_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1157 snd_ac97_stac9758_phonesel_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1165 snd_ac97_stac9758_phonesel_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1780 snd_ac97_ad198x_spdif_source_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1790 snd_ac97_ad198x_spdif_source_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1932 snd_ac97_ad1888_lohpsel_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1945 snd_ac97_ad1888_lohpsel_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1965 snd_ac97_ad1888_downmix_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1978 snd_ac97_ad1888_downmix_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2121 snd_ac97_ad1985_vrefout_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2133 snd_ac97_ad1985_vrefout_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2242 snd_ac97_ad1986_lososel_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2253 snd_ac97_ad1986_lososel_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2278 snd_ac97_ad1986_spread_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2289 snd_ac97_ad1986_spread_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2314 snd_ac97_ad1986_miclisel_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2323 snd_ac97_ad1986_miclisel_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2338 snd_ac97_ad1986_vrefout_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2357 snd_ac97_ad1986_vrefout_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2553 alc650_swap_surround_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2730 alc655_iec958_route_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2743 alc655_iec958_route_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 3022 snd_ac97_cmedia_spdif_playback_source_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 3032 snd_ac97_cmedia_spdif_playback_source_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 3196 cm9761_spdif_out_source_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 3209 cm9761_spdif_out_source_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 3527 snd_ac97_vt1617a_smart51_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 3547 snd_ac97_vt1617a_smart51_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 3696 snd_ac97_vt1618_UAJ_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 3719 snd_ac97_vt1618_UAJ_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 3739 snd_ac97_vt1618_aux_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 3747 snd_ac97_vt1618_aux_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
/linux-master/sound/pci/asihpi/ |
H A D | asihpi.c | 1456 struct snd_ctl_elem_value *ucontrol) 1462 ucontrol->value.integer.value[0] = an_gain_mB[0] / VOL_STEP_mB; 1463 ucontrol->value.integer.value[1] = an_gain_mB[1] / VOL_STEP_mB; 1469 struct snd_ctl_elem_value *ucontrol) 1475 (ucontrol->value.integer.value[0]) * VOL_STEP_mB; 1477 (ucontrol->value.integer.value[1]) * VOL_STEP_mB; 1490 struct snd_ctl_elem_value *ucontrol) 1496 ucontrol->value.integer.value[0] = mute ? 0 : 1; 1502 struct snd_ctl_elem_value *ucontrol) 1508 int mute = ucontrol 1455 snd_asihpi_volume_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1468 snd_asihpi_volume_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1489 snd_asihpi_volume_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1501 snd_asihpi_volume_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1573 snd_asihpi_level_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1588 snd_asihpi_level_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1641 snd_asihpi_aesebu_format_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol, u16 (*func)(u32, u16 *)) argument 1663 snd_asihpi_aesebu_format_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol, u16 (*func)(u32, u16)) argument 1683 snd_asihpi_aesebu_rx_format_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1689 snd_asihpi_aesebu_rx_format_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1708 snd_asihpi_aesebu_rxstatus_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1745 snd_asihpi_aesebu_tx_format_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1751 snd_asihpi_aesebu_tx_format_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1802 snd_asihpi_tuner_gain_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1817 snd_asihpi_tuner_gain_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1868 snd_asihpi_tuner_band_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1894 snd_asihpi_tuner_band_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1965 snd_asihpi_tuner_freq_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 1977 snd_asihpi_tuner_freq_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2068 snd_asihpi_meter_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2156 snd_asihpi_mux_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2185 snd_asihpi_mux_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2257 snd_asihpi_cmode_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2271 snd_asihpi_cmode_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2334 snd_asihpi_clksrc_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2362 snd_asihpi_clksrc_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2402 snd_asihpi_clklocal_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2417 snd_asihpi_clklocal_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 2444 snd_asihpi_clkrate_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
/linux-master/sound/pci/emu10k1/ |
H A D | p16v.c | 612 struct snd_ctl_elem_value *ucontrol) 621 ucontrol->value.integer.value[0] = 0xff - ((value >> 24) & 0xff); /* Left */ 622 ucontrol->value.integer.value[1] = 0xff - ((value >> 16) & 0xff); /* Right */ 624 ucontrol->value.integer.value[0] = 0xff - ((value >> 8) & 0xff); /* Left */ 625 ucontrol->value.integer.value[1] = 0xff - ((value >> 0) & 0xff); /* Right */ 631 struct snd_ctl_elem_value *ucontrol) 641 value |= ((0xff - ucontrol->value.integer.value[0]) << 24) | 642 ((0xff - ucontrol->value.integer.value[1]) << 16); 645 value |= ((0xff - ucontrol->value.integer.value[0]) << 8) | 646 ((0xff - ucontrol 611 snd_p16v_volume_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 630 snd_p16v_volume_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 666 snd_p16v_capture_source_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 675 snd_p16v_capture_source_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 705 snd_p16v_capture_channel_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 714 snd_p16v_capture_channel_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
/linux-master/sound/soc/sof/ |
H A D | ipc3-control.c | 155 struct snd_ctl_elem_value *ucontrol) 165 ucontrol->value.integer.value[i] = ipc_to_mixer(cdata->chanv[i].value, 173 struct snd_ctl_elem_value *ucontrol) 183 u32 value = mixer_to_ipc(ucontrol->value.integer.value[i], 206 struct snd_ctl_elem_value *ucontrol) 216 ucontrol->value.integer.value[i] = cdata->chanv[i].value; 222 struct snd_ctl_elem_value *ucontrol) 233 value = ucontrol->value.integer.value[i]; 254 struct snd_ctl_elem_value *ucontrol) 264 ucontrol 154 sof_ipc3_volume_get(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol) argument 172 sof_ipc3_volume_put(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol) argument 205 sof_ipc3_switch_get(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol) argument 221 sof_ipc3_switch_put(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol) argument 253 sof_ipc3_enum_get(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol) argument 269 sof_ipc3_enum_put(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol) argument 301 sof_ipc3_bytes_get(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol) argument 333 sof_ipc3_bytes_put(struct snd_sof_control *scontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
/linux-master/sound/pci/hda/ |
H A D | hda_beep.c | 296 * @ucontrol: pointer to get/store the data 299 struct snd_ctl_elem_value *ucontrol) 307 ucontrol->value.integer.value[0] = beep->enabled; 309 ucontrol->value.integer.value[1] = beep->enabled; 312 return snd_hda_mixer_amp_switch_get(kcontrol, ucontrol); 319 * @ucontrol: pointer to get/store the data 322 struct snd_ctl_elem_value *ucontrol) 329 long *valp = ucontrol->value.integer.value; 340 return snd_hda_mixer_amp_switch_put(kcontrol, ucontrol); 298 snd_hda_mixer_amp_switch_get_beep(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 321 snd_hda_mixer_amp_switch_put_beep(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument
|
/linux-master/sound/pci/ctxfi/ |
H A D | ctmixer.c | 342 struct snd_ctl_elem_value *ucontrol) 357 ucontrol->value.integer.value[i] = val; 364 struct snd_ctl_elem_value *ucontrol) 373 val = ucontrol->value.integer.value[i]; 421 struct snd_ctl_elem_value *ucontrol) 424 ucontrol->value.enumerated.item[0] = atc->output_switch_get(atc); 429 struct snd_ctl_elem_value *ucontrol) 432 if (ucontrol->value.enumerated.item[0] > 2) 434 return atc->output_switch_put(atc, ucontrol->value.enumerated.item[0]); 456 struct snd_ctl_elem_value *ucontrol) 341 ct_alsa_mix_volume_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 363 ct_alsa_mix_volume_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 420 output_switch_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 428 output_switch_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 455 mic_source_switch_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 463 mic_source_switch_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 578 ct_alsa_mix_switch_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 589 ct_alsa_mix_switch_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 623 ct_spdif_get_mask(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 633 ct_spdif_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument 652 ct_spdif_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) argument [all...] |
/linux-master/include/sound/ |
H A D | tas2781.h | 165 struct snd_ctl_elem_value *ucontrol, struct soc_mixer_control *mc); 167 struct snd_ctl_elem_value *ucontrol, struct soc_mixer_control *mc); 169 struct snd_ctl_elem_value *ucontrol, struct soc_mixer_control *mc); 171 struct snd_ctl_elem_value *ucontrol, struct soc_mixer_control *mc);
|