Lines Matching refs:kcontrol
1044 static int snd_es1938_info_mux(struct snd_kcontrol *kcontrol, in snd_es1938_info_mux() argument
1055 static int snd_es1938_get_mux(struct snd_kcontrol *kcontrol, in snd_es1938_get_mux() argument
1058 struct es1938 *chip = snd_kcontrol_chip(kcontrol); in snd_es1938_get_mux()
1063 static int snd_es1938_put_mux(struct snd_kcontrol *kcontrol, in snd_es1938_put_mux() argument
1066 struct es1938 *chip = snd_kcontrol_chip(kcontrol); in snd_es1938_put_mux()
1076 static int snd_es1938_get_spatializer_enable(struct snd_kcontrol *kcontrol, in snd_es1938_get_spatializer_enable() argument
1079 struct es1938 *chip = snd_kcontrol_chip(kcontrol); in snd_es1938_get_spatializer_enable()
1085 static int snd_es1938_put_spatializer_enable(struct snd_kcontrol *kcontrol, in snd_es1938_put_spatializer_enable() argument
1088 struct es1938 *chip = snd_kcontrol_chip(kcontrol); in snd_es1938_put_spatializer_enable()
1101 static int snd_es1938_info_hw_volume(struct snd_kcontrol *kcontrol, in snd_es1938_info_hw_volume() argument
1111 static int snd_es1938_get_hw_volume(struct snd_kcontrol *kcontrol, in snd_es1938_get_hw_volume() argument
1114 struct es1938 *chip = snd_kcontrol_chip(kcontrol); in snd_es1938_get_hw_volume()
1122 static int snd_es1938_get_hw_switch(struct snd_kcontrol *kcontrol, in snd_es1938_get_hw_switch() argument
1125 struct es1938 *chip = snd_kcontrol_chip(kcontrol); in snd_es1938_get_hw_switch()
1131 static void snd_es1938_hwv_free(struct snd_kcontrol *kcontrol) in snd_es1938_hwv_free() argument
1133 struct es1938 *chip = snd_kcontrol_chip(kcontrol); in snd_es1938_hwv_free()
1171 static int snd_es1938_info_single(struct snd_kcontrol *kcontrol, in snd_es1938_info_single() argument
1174 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1938_info_single()
1183 static int snd_es1938_get_single(struct snd_kcontrol *kcontrol, in snd_es1938_get_single() argument
1186 struct es1938 *chip = snd_kcontrol_chip(kcontrol); in snd_es1938_get_single()
1187 int reg = kcontrol->private_value & 0xff; in snd_es1938_get_single()
1188 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_es1938_get_single()
1189 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1938_get_single()
1190 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_es1938_get_single()
1200 static int snd_es1938_put_single(struct snd_kcontrol *kcontrol, in snd_es1938_put_single() argument
1203 struct es1938 *chip = snd_kcontrol_chip(kcontrol); in snd_es1938_put_single()
1204 int reg = kcontrol->private_value & 0xff; in snd_es1938_put_single()
1205 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_es1938_put_single()
1206 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es1938_put_single()
1207 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_es1938_put_single()
1232 static int snd_es1938_info_double(struct snd_kcontrol *kcontrol, in snd_es1938_info_double() argument
1235 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_es1938_info_double()
1244 static int snd_es1938_get_double(struct snd_kcontrol *kcontrol, in snd_es1938_get_double() argument
1247 struct es1938 *chip = snd_kcontrol_chip(kcontrol); in snd_es1938_get_double()
1248 int left_reg = kcontrol->private_value & 0xff; in snd_es1938_get_double()
1249 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_es1938_get_double()
1250 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_es1938_get_double()
1251 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_es1938_get_double()
1252 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_es1938_get_double()
1253 int invert = (kcontrol->private_value >> 22) & 1; in snd_es1938_get_double()
1270 static int snd_es1938_put_double(struct snd_kcontrol *kcontrol, in snd_es1938_put_double() argument
1273 struct es1938 *chip = snd_kcontrol_chip(kcontrol); in snd_es1938_put_double()
1274 int left_reg = kcontrol->private_value & 0xff; in snd_es1938_put_double()
1275 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_es1938_put_double()
1276 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_es1938_put_double()
1277 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_es1938_put_double()
1278 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_es1938_put_double()
1279 int invert = (kcontrol->private_value >> 22) & 1; in snd_es1938_put_double()