Lines Matching refs:kcontrol
966 static int snd_es18xx_info_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_es18xx_info_mux() argument
975 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); in snd_es18xx_info_mux()
992 static int snd_es18xx_get_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_es18xx_get_mux() argument
995 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); in snd_es18xx_get_mux()
1009 static int snd_es18xx_put_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_es18xx_put_mux() argument
1012 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); in snd_es18xx_put_mux()
1048 static int snd_es18xx_get_spatializer_enable(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_val… in snd_es18xx_get_spatializer_enable() argument
1050 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); in snd_es18xx_get_spatializer_enable()
1056 static int snd_es18xx_put_spatializer_enable(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_val… in snd_es18xx_put_spatializer_enable() argument
1058 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); in snd_es18xx_put_spatializer_enable()
1071 static int snd_es18xx_info_hw_volume(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_es18xx_info_hw_volume() argument
1080 static int snd_es18xx_get_hw_volume(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucont… in snd_es18xx_get_hw_volume() argument
1082 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); in snd_es18xx_get_hw_volume()
1090 static int snd_es18xx_get_hw_switch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucont… in snd_es18xx_get_hw_switch() argument
1092 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); in snd_es18xx_get_hw_switch()
1098 static void snd_es18xx_hwv_free(struct snd_kcontrol *kcontrol) in snd_es18xx_hwv_free() argument
1100 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); in snd_es18xx_hwv_free()
1133 static int snd_es18xx_info_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_es18xx_info_single() argument
1135 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es18xx_info_single()
1144 static int snd_es18xx_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_es18xx_get_single() argument
1146 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); in snd_es18xx_get_single()
1147 int reg = kcontrol->private_value & 0xff; in snd_es18xx_get_single()
1148 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_es18xx_get_single()
1149 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es18xx_get_single()
1150 int invert = (kcontrol->private_value >> 24) & ES18XX_FL_INVERT; in snd_es18xx_get_single()
1151 int pm_port = (kcontrol->private_value >> 24) & ES18XX_FL_PMPORT; in snd_es18xx_get_single()
1164 static int snd_es18xx_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_es18xx_put_single() argument
1166 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); in snd_es18xx_put_single()
1167 int reg = kcontrol->private_value & 0xff; in snd_es18xx_put_single()
1168 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_es18xx_put_single()
1169 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_es18xx_put_single()
1170 int invert = (kcontrol->private_value >> 24) & ES18XX_FL_INVERT; in snd_es18xx_put_single()
1171 int pm_port = (kcontrol->private_value >> 24) & ES18XX_FL_PMPORT; in snd_es18xx_put_single()
1197 static int snd_es18xx_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_es18xx_info_double() argument
1199 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_es18xx_info_double()
1208 static int snd_es18xx_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_es18xx_get_double() argument
1210 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); in snd_es18xx_get_double()
1211 int left_reg = kcontrol->private_value & 0xff; in snd_es18xx_get_double()
1212 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_es18xx_get_double()
1213 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_es18xx_get_double()
1214 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_es18xx_get_double()
1215 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_es18xx_get_double()
1216 int invert = (kcontrol->private_value >> 22) & 1; in snd_es18xx_get_double()
1233 static int snd_es18xx_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_es18xx_put_double() argument
1235 struct snd_es18xx *chip = snd_kcontrol_chip(kcontrol); in snd_es18xx_put_double()
1236 int left_reg = kcontrol->private_value & 0xff; in snd_es18xx_put_double()
1237 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_es18xx_put_double()
1238 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_es18xx_put_double()
1239 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_es18xx_put_double()
1240 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_es18xx_put_double()
1241 int invert = (kcontrol->private_value >> 22) & 1; in snd_es18xx_put_double()