Lines Matching refs:ucontrol

1056 			      struct snd_ctl_elem_value *ucontrol)  in snd_es1938_get_mux()  argument
1059 ucontrol->value.enumerated.item[0] = snd_es1938_mixer_read(chip, 0x1c) & 0x07; in snd_es1938_get_mux()
1064 struct snd_ctl_elem_value *ucontrol) in snd_es1938_put_mux() argument
1067 unsigned char val = ucontrol->value.enumerated.item[0]; in snd_es1938_put_mux()
1077 struct snd_ctl_elem_value *ucontrol) in snd_es1938_get_spatializer_enable() argument
1081 ucontrol->value.integer.value[0] = !!(val & 8); in snd_es1938_get_spatializer_enable()
1086 struct snd_ctl_elem_value *ucontrol) in snd_es1938_put_spatializer_enable() argument
1091 nval = ucontrol->value.integer.value[0] ? 0x0c : 0x04; in snd_es1938_put_spatializer_enable()
1112 struct snd_ctl_elem_value *ucontrol) in snd_es1938_get_hw_volume() argument
1115 ucontrol->value.integer.value[0] = snd_es1938_mixer_read(chip, 0x61) & 0x3f; in snd_es1938_get_hw_volume()
1116 ucontrol->value.integer.value[1] = snd_es1938_mixer_read(chip, 0x63) & 0x3f; in snd_es1938_get_hw_volume()
1123 struct snd_ctl_elem_value *ucontrol) in snd_es1938_get_hw_switch() argument
1126 ucontrol->value.integer.value[0] = !(snd_es1938_mixer_read(chip, 0x61) & 0x40); in snd_es1938_get_hw_switch()
1127 ucontrol->value.integer.value[1] = !(snd_es1938_mixer_read(chip, 0x63) & 0x40); in snd_es1938_get_hw_switch()
1184 struct snd_ctl_elem_value *ucontrol) in snd_es1938_get_single() argument
1194 ucontrol->value.integer.value[0] = (val >> shift) & mask; in snd_es1938_get_single()
1196 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_es1938_get_single()
1201 struct snd_ctl_elem_value *ucontrol) in snd_es1938_put_single() argument
1210 val = (ucontrol->value.integer.value[0] & mask); in snd_es1938_put_single()
1245 struct snd_ctl_elem_value *ucontrol) in snd_es1938_get_double() argument
1261 ucontrol->value.integer.value[0] = (left >> shift_left) & mask; in snd_es1938_get_double()
1262 ucontrol->value.integer.value[1] = (right >> shift_right) & mask; in snd_es1938_get_double()
1264 ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; in snd_es1938_get_double()
1265 ucontrol->value.integer.value[1] = mask - ucontrol->value.integer.value[1]; in snd_es1938_get_double()
1271 struct snd_ctl_elem_value *ucontrol) in snd_es1938_put_double() argument
1283 val1 = ucontrol->value.integer.value[0] & mask; in snd_es1938_put_double()
1284 val2 = ucontrol->value.integer.value[1] & mask; in snd_es1938_put_double()