Lines Matching refs:ucontrol

1595 				 struct snd_ctl_elem_value *ucontrol)  in snd_vt1724_eeprom_get()  argument
1599 memcpy(ucontrol->value.bytes.data, &ice->eeprom, sizeof(ice->eeprom)); in snd_vt1724_eeprom_get()
1692 struct snd_ctl_elem_value *ucontrol) in snd_vt1724_spdif_default_get() argument
1697 decode_spdif_bits(&ucontrol->value.iec958, val); in snd_vt1724_spdif_default_get()
1702 struct snd_ctl_elem_value *ucontrol) in snd_vt1724_spdif_default_put() argument
1707 val = encode_spdif_bits(&ucontrol->value.iec958); in snd_vt1724_spdif_default_put()
1726 struct snd_ctl_elem_value *ucontrol) in snd_vt1724_spdif_maskc_get() argument
1728 ucontrol->value.iec958.status[0] = IEC958_AES0_NONAUDIO | in snd_vt1724_spdif_maskc_get()
1732 ucontrol->value.iec958.status[1] = IEC958_AES1_CON_ORIGINAL | in snd_vt1724_spdif_maskc_get()
1734 ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS; in snd_vt1724_spdif_maskc_get()
1739 struct snd_ctl_elem_value *ucontrol) in snd_vt1724_spdif_maskp_get() argument
1741 ucontrol->value.iec958.status[0] = IEC958_AES0_NONAUDIO | in snd_vt1724_spdif_maskp_get()
1769 struct snd_ctl_elem_value *ucontrol) in snd_vt1724_spdif_sw_get() argument
1772 ucontrol->value.integer.value[0] = inb(ICEREG1724(ice, SPDIF_CFG)) & in snd_vt1724_spdif_sw_get()
1778 struct snd_ctl_elem_value *ucontrol) in snd_vt1724_spdif_sw_put() argument
1786 if (ucontrol->value.integer.value[0]) in snd_vt1724_spdif_sw_put()
1814 struct snd_ctl_elem_value *ucontrol)
1821 ucontrol->value.integer.value[0] =
1828 struct snd_ctl_elem_value *ucontrol)
1837 nval = (ucontrol->value.integer.value[0] ? (1 << shift) : 0) ^ invert;
1881 struct snd_ctl_elem_value *ucontrol) in snd_vt1724_pro_internal_clock_get() argument
1888 ucontrol->value.enumerated.item[0] = ice->hw_rates->count + in snd_vt1724_pro_internal_clock_get()
1892 ucontrol->value.enumerated.item[0] = 0; in snd_vt1724_pro_internal_clock_get()
1895 ucontrol->value.enumerated.item[0] = i; in snd_vt1724_pro_internal_clock_get()
1925 struct snd_ctl_elem_value *ucontrol) in snd_vt1724_pro_internal_clock_put() argument
1929 unsigned int item = ucontrol->value.enumerated.item[0]; in snd_vt1724_pro_internal_clock_put()
1980 struct snd_ctl_elem_value *ucontrol) in snd_vt1724_pro_rate_locking_get() argument
1982 ucontrol->value.integer.value[0] = PRO_RATE_LOCKED; in snd_vt1724_pro_rate_locking_get()
1987 struct snd_ctl_elem_value *ucontrol) in snd_vt1724_pro_rate_locking_put() argument
1992 nval = ucontrol->value.integer.value[0] ? 1 : 0; in snd_vt1724_pro_rate_locking_put()
2011 struct snd_ctl_elem_value *ucontrol) in snd_vt1724_pro_rate_reset_get() argument
2013 ucontrol->value.integer.value[0] = PRO_RATE_RESET ? 1 : 0; in snd_vt1724_pro_rate_reset_get()
2018 struct snd_ctl_elem_value *ucontrol) in snd_vt1724_pro_rate_reset_put() argument
2023 nval = ucontrol->value.integer.value[0] ? 1 : 0; in snd_vt1724_pro_rate_reset_put()
2108 struct snd_ctl_elem_value *ucontrol) in snd_vt1724_pro_route_analog_get() argument
2111 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_vt1724_pro_route_analog_get()
2112 ucontrol->value.enumerated.item[0] = in snd_vt1724_pro_route_analog_get()
2118 struct snd_ctl_elem_value *ucontrol) in snd_vt1724_pro_route_analog_put() argument
2121 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_vt1724_pro_route_analog_put()
2123 ucontrol->value.enumerated.item[0], in snd_vt1724_pro_route_analog_put()
2128 struct snd_ctl_elem_value *ucontrol) in snd_vt1724_pro_route_spdif_get() argument
2131 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_vt1724_pro_route_spdif_get()
2132 ucontrol->value.enumerated.item[0] = in snd_vt1724_pro_route_spdif_get()
2138 struct snd_ctl_elem_value *ucontrol) in snd_vt1724_pro_route_spdif_put() argument
2141 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_vt1724_pro_route_spdif_put()
2143 ucontrol->value.enumerated.item[0], in snd_vt1724_pro_route_spdif_put()
2177 struct snd_ctl_elem_value *ucontrol) in snd_vt1724_pro_peak_get() argument
2185 ucontrol->value.integer.value[idx] = in snd_vt1724_pro_peak_get()