Lines Matching refs:ucontrol

1004 				    struct snd_ctl_elem_value *ucontrol)  in snd_echo_output_gain_get()  argument
1011 ucontrol->value.integer.value[c] = chip->output_gain[c]; in snd_echo_output_gain_get()
1016 struct snd_ctl_elem_value *ucontrol) in snd_echo_output_gain_put() argument
1025 gain = ucontrol->value.integer.value[c]; in snd_echo_output_gain_put()
1085 struct snd_ctl_elem_value *ucontrol) in snd_echo_input_gain_get() argument
1092 ucontrol->value.integer.value[c] = chip->input_gain[c]; in snd_echo_input_gain_get()
1097 struct snd_ctl_elem_value *ucontrol) in snd_echo_input_gain_put() argument
1106 gain = ucontrol->value.integer.value[c]; in snd_echo_input_gain_put()
1154 struct snd_ctl_elem_value *ucontrol) in snd_echo_output_nominal_get() argument
1161 ucontrol->value.integer.value[c] = chip->nominal_level[c]; in snd_echo_output_nominal_get()
1166 struct snd_ctl_elem_value *ucontrol) in snd_echo_output_nominal_put() argument
1175 if (chip->nominal_level[c] != ucontrol->value.integer.value[c]) { in snd_echo_output_nominal_put()
1177 ucontrol->value.integer.value[c]); in snd_echo_output_nominal_put()
1216 struct snd_ctl_elem_value *ucontrol) in snd_echo_input_nominal_get() argument
1223 ucontrol->value.integer.value[c] = in snd_echo_input_nominal_get()
1229 struct snd_ctl_elem_value *ucontrol) in snd_echo_input_nominal_put() argument
1239 ucontrol->value.integer.value[c]) { in snd_echo_input_nominal_put()
1241 ucontrol->value.integer.value[c]); in snd_echo_input_nominal_put()
1284 struct snd_ctl_elem_value *ucontrol) in snd_echo_mixer_get() argument
1287 unsigned int out = ucontrol->id.index / num_busses_in(chip); in snd_echo_mixer_get()
1288 unsigned int in = ucontrol->id.index % num_busses_in(chip); in snd_echo_mixer_get()
1293 ucontrol->value.integer.value[0] = chip->monitor_gain[out][in]; in snd_echo_mixer_get()
1298 struct snd_ctl_elem_value *ucontrol) in snd_echo_mixer_put() argument
1306 out = ucontrol->id.index / num_busses_in(chip); in snd_echo_mixer_put()
1307 in = ucontrol->id.index % num_busses_in(chip); in snd_echo_mixer_put()
1310 gain = ucontrol->value.integer.value[0]; in snd_echo_mixer_put()
1356 struct snd_ctl_elem_value *ucontrol) in snd_echo_vmixer_get() argument
1361 ucontrol->value.integer.value[0] = in snd_echo_vmixer_get()
1362 chip->vmixer_gain[ucontrol->id.index / num_pipes_out(chip)] in snd_echo_vmixer_get()
1363 [ucontrol->id.index % num_pipes_out(chip)]; in snd_echo_vmixer_get()
1368 struct snd_ctl_elem_value *ucontrol) in snd_echo_vmixer_put() argument
1376 out = ucontrol->id.index / num_pipes_out(chip); in snd_echo_vmixer_put()
1377 vch = ucontrol->id.index % num_pipes_out(chip); in snd_echo_vmixer_put()
1378 gain = ucontrol->value.integer.value[0]; in snd_echo_vmixer_put()
1381 if (chip->vmixer_gain[out][vch] != ucontrol->value.integer.value[0]) { in snd_echo_vmixer_put()
1383 set_vmixer_gain(chip, out, vch, ucontrol->value.integer.value[0]); in snd_echo_vmixer_put()
1422 struct snd_ctl_elem_value *ucontrol) in snd_echo_digital_mode_get() argument
1431 ucontrol->value.enumerated.item[0] = i; in snd_echo_digital_mode_get()
1438 struct snd_ctl_elem_value *ucontrol) in snd_echo_digital_mode_put() argument
1447 emode = ucontrol->value.enumerated.item[0]; in snd_echo_digital_mode_put()
1504 struct snd_ctl_elem_value *ucontrol) in snd_echo_spdif_mode_get() argument
1509 ucontrol->value.enumerated.item[0] = !!chip->professional_spdif; in snd_echo_spdif_mode_get()
1514 struct snd_ctl_elem_value *ucontrol) in snd_echo_spdif_mode_put() argument
1520 mode = !!ucontrol->value.enumerated.item[0]; in snd_echo_spdif_mode_put()
1559 struct snd_ctl_elem_value *ucontrol) in snd_echo_clock_source_get() argument
1569 ucontrol->value.enumerated.item[0] = i; in snd_echo_clock_source_get()
1575 struct snd_ctl_elem_value *ucontrol) in snd_echo_clock_source_put() argument
1583 eclock = ucontrol->value.enumerated.item[0]; in snd_echo_clock_source_put()
1621 struct snd_ctl_elem_value *ucontrol) in snd_echo_phantom_power_get() argument
1625 ucontrol->value.integer.value[0] = chip->phantom_power; in snd_echo_phantom_power_get()
1630 struct snd_ctl_elem_value *ucontrol) in snd_echo_phantom_power_put() argument
1635 power = !!ucontrol->value.integer.value[0]; in snd_echo_phantom_power_put()
1664 struct snd_ctl_elem_value *ucontrol) in snd_echo_automute_get() argument
1668 ucontrol->value.integer.value[0] = chip->digital_in_automute; in snd_echo_automute_get()
1673 struct snd_ctl_elem_value *ucontrol) in snd_echo_automute_put() argument
1678 automute = !!ucontrol->value.integer.value[0]; in snd_echo_automute_put()
1705 struct snd_ctl_elem_value *ucontrol) in snd_echo_vumeters_switch_put() argument
1711 set_meters_on(chip, ucontrol->value.integer.value[0]); in snd_echo_vumeters_switch_put()
1745 struct snd_ctl_elem_value *ucontrol) in snd_echo_vumeters_get() argument
1750 get_audio_meters(chip, ucontrol->value.integer.value); in snd_echo_vumeters_get()
1779 struct snd_ctl_elem_value *ucontrol) in snd_echo_channels_info_get() argument
1785 ucontrol->value.integer.value[0] = num_busses_in(chip); in snd_echo_channels_info_get()
1786 ucontrol->value.integer.value[1] = num_analog_busses_in(chip); in snd_echo_channels_info_get()
1787 ucontrol->value.integer.value[2] = num_busses_out(chip); in snd_echo_channels_info_get()
1788 ucontrol->value.integer.value[3] = num_analog_busses_out(chip); in snd_echo_channels_info_get()
1789 ucontrol->value.integer.value[4] = num_pipes_out(chip); in snd_echo_channels_info_get()
1802 ucontrol->value.integer.value[5] = clocks; in snd_echo_channels_info_get()