Lines Matching refs:ucontrol

1527 				 struct snd_ctl_elem_value *ucontrol)  in snd_asihpi_volume_get()  argument
1533 ucontrol->value.integer.value[0] = an_gain_mB[0] / VOL_STEP_mB; in snd_asihpi_volume_get()
1534 ucontrol->value.integer.value[1] = an_gain_mB[1] / VOL_STEP_mB; in snd_asihpi_volume_get()
1540 struct snd_ctl_elem_value *ucontrol) in snd_asihpi_volume_put() argument
1547 (ucontrol->value.integer.value[0]) * VOL_STEP_mB; in snd_asihpi_volume_put()
1549 (ucontrol->value.integer.value[1]) * VOL_STEP_mB; in snd_asihpi_volume_put()
1563 struct snd_ctl_elem_value *ucontrol) in snd_asihpi_volume_mute_get() argument
1569 ucontrol->value.integer.value[0] = mute ? 0 : 1; in snd_asihpi_volume_mute_get()
1575 struct snd_ctl_elem_value *ucontrol) in snd_asihpi_volume_mute_put() argument
1582 int mute = ucontrol->value.integer.value[0] ? 0 : HPI_BITMASK_ALL_CHANNELS; in snd_asihpi_volume_mute_put()
1648 struct snd_ctl_elem_value *ucontrol) in snd_asihpi_level_get() argument
1654 ucontrol->value.integer.value[0] = in snd_asihpi_level_get()
1656 ucontrol->value.integer.value[1] = in snd_asihpi_level_get()
1663 struct snd_ctl_elem_value *ucontrol) in snd_asihpi_level_put() argument
1670 (ucontrol->value.integer.value[0]) * HPI_UNITS_PER_dB; in snd_asihpi_level_put()
1672 (ucontrol->value.integer.value[1]) * HPI_UNITS_PER_dB; in snd_asihpi_level_put()
1716 struct snd_ctl_elem_value *ucontrol, in snd_asihpi_aesebu_format_get() argument
1725 ucontrol->value.enumerated.item[0] = 0; in snd_asihpi_aesebu_format_get()
1730 ucontrol->value.enumerated.item[0] = 1; in snd_asihpi_aesebu_format_get()
1732 ucontrol->value.enumerated.item[0] = 2; in snd_asihpi_aesebu_format_get()
1738 struct snd_ctl_elem_value *ucontrol, in snd_asihpi_aesebu_format_put() argument
1746 if (ucontrol->value.enumerated.item[0] == 1) in snd_asihpi_aesebu_format_put()
1748 if (ucontrol->value.enumerated.item[0] == 2) in snd_asihpi_aesebu_format_put()
1758 struct snd_ctl_elem_value *ucontrol) { in snd_asihpi_aesebu_rx_format_get() argument
1759 return snd_asihpi_aesebu_format_get(kcontrol, ucontrol, in snd_asihpi_aesebu_rx_format_get()
1764 struct snd_ctl_elem_value *ucontrol) { in snd_asihpi_aesebu_rx_format_put() argument
1765 return snd_asihpi_aesebu_format_put(kcontrol, ucontrol, in snd_asihpi_aesebu_rx_format_put()
1783 struct snd_ctl_elem_value *ucontrol) { in snd_asihpi_aesebu_rxstatus_get() argument
1790 ucontrol->value.integer.value[0] = status; in snd_asihpi_aesebu_rxstatus_get()
1820 struct snd_ctl_elem_value *ucontrol) { in snd_asihpi_aesebu_tx_format_get() argument
1821 return snd_asihpi_aesebu_format_get(kcontrol, ucontrol, in snd_asihpi_aesebu_tx_format_get()
1826 struct snd_ctl_elem_value *ucontrol) { in snd_asihpi_aesebu_tx_format_put() argument
1827 return snd_asihpi_aesebu_format_put(kcontrol, ucontrol, in snd_asihpi_aesebu_tx_format_put()
1877 struct snd_ctl_elem_value *ucontrol) in snd_asihpi_tuner_gain_get() argument
1886 ucontrol->value.integer.value[0] = gain / HPI_UNITS_PER_dB; in snd_asihpi_tuner_gain_get()
1892 struct snd_ctl_elem_value *ucontrol) in snd_asihpi_tuner_gain_put() argument
1900 gain = (ucontrol->value.integer.value[0]) * HPI_UNITS_PER_dB; in snd_asihpi_tuner_gain_put()
1943 struct snd_ctl_elem_value *ucontrol) in snd_asihpi_tuner_band_get() argument
1958 ucontrol->value.enumerated.item[0] = -1; in snd_asihpi_tuner_band_get()
1961 ucontrol->value.enumerated.item[0] = idx; in snd_asihpi_tuner_band_get()
1969 struct snd_ctl_elem_value *ucontrol) in snd_asihpi_tuner_band_put() argument
1983 idx = ucontrol->value.enumerated.item[0]; in snd_asihpi_tuner_band_put()
2040 struct snd_ctl_elem_value *ucontrol) in snd_asihpi_tuner_freq_get() argument
2046 ucontrol->value.integer.value[0] = freq; in snd_asihpi_tuner_freq_get()
2052 struct snd_ctl_elem_value *ucontrol) in snd_asihpi_tuner_freq_put() argument
2057 freq = ucontrol->value.integer.value[0]; in snd_asihpi_tuner_freq_put()
2143 struct snd_ctl_elem_value *ucontrol) in snd_asihpi_meter_get() argument
2153 ucontrol->value.integer.value[i] = 0; in snd_asihpi_meter_get()
2155 ucontrol->value.integer.value[i] = in snd_asihpi_meter_get()
2161 ucontrol->value.integer.value[i] = in snd_asihpi_meter_get()
2233 struct snd_ctl_elem_value *ucontrol) in snd_asihpi_mux_get() argument
2250 ucontrol->value.enumerated.item[0] = s; in snd_asihpi_mux_get()
2257 ucontrol->value.enumerated.item[0] = 0; in snd_asihpi_mux_get()
2262 struct snd_ctl_elem_value *ucontrol) in snd_asihpi_mux_put() argument
2272 ucontrol->value.enumerated.item[0], in snd_asihpi_mux_put()
2334 struct snd_ctl_elem_value *ucontrol) in snd_asihpi_cmode_get() argument
2342 ucontrol->value.enumerated.item[0] = mode - 1; in snd_asihpi_cmode_get()
2348 struct snd_ctl_elem_value *ucontrol) in snd_asihpi_cmode_put() argument
2356 ucontrol->value.enumerated.item[0] + 1)); in snd_asihpi_cmode_put()
2411 struct snd_ctl_elem_value *ucontrol) in snd_asihpi_clksrc_get() argument
2420 ucontrol->value.enumerated.item[0] = 0; in snd_asihpi_clksrc_get()
2433 ucontrol->value.enumerated.item[0] = i; in snd_asihpi_clksrc_get()
2439 struct snd_ctl_elem_value *ucontrol) in snd_asihpi_clksrc_put() argument
2449 item = ucontrol->value.enumerated.item[0]; in snd_asihpi_clksrc_put()
2479 struct snd_ctl_elem_value *ucontrol) in snd_asihpi_clklocal_get() argument
2487 ucontrol->value.integer.value[0] = rate; in snd_asihpi_clklocal_get()
2489 ucontrol->value.integer.value[0] = 0; in snd_asihpi_clklocal_get()
2494 struct snd_ctl_elem_value *ucontrol) in snd_asihpi_clklocal_put() argument
2504 ucontrol->value.integer.value[0])); in snd_asihpi_clklocal_put()
2521 struct snd_ctl_elem_value *ucontrol) in snd_asihpi_clkrate_get() argument
2529 ucontrol->value.integer.value[0] = rate; in snd_asihpi_clkrate_get()
2531 ucontrol->value.integer.value[0] = 0; in snd_asihpi_clkrate_get()