Lines Matching refs:kcontrol
1285 static int snd_cs4231_info_mux(struct snd_kcontrol *kcontrol, in snd_cs4231_info_mux() argument
1295 static int snd_cs4231_get_mux(struct snd_kcontrol *kcontrol, in snd_cs4231_get_mux() argument
1298 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); in snd_cs4231_get_mux()
1311 static int snd_cs4231_put_mux(struct snd_kcontrol *kcontrol, in snd_cs4231_put_mux() argument
1314 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); in snd_cs4231_put_mux()
1339 static int snd_cs4231_info_single(struct snd_kcontrol *kcontrol, in snd_cs4231_info_single() argument
1342 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4231_info_single()
1353 static int snd_cs4231_get_single(struct snd_kcontrol *kcontrol, in snd_cs4231_get_single() argument
1356 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); in snd_cs4231_get_single()
1358 int reg = kcontrol->private_value & 0xff; in snd_cs4231_get_single()
1359 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_cs4231_get_single()
1360 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4231_get_single()
1361 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_cs4231_get_single()
1376 static int snd_cs4231_put_single(struct snd_kcontrol *kcontrol, in snd_cs4231_put_single() argument
1379 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); in snd_cs4231_put_single()
1381 int reg = kcontrol->private_value & 0xff; in snd_cs4231_put_single()
1382 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_cs4231_put_single()
1383 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4231_put_single()
1384 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_cs4231_put_single()
1404 static int snd_cs4231_info_double(struct snd_kcontrol *kcontrol, in snd_cs4231_info_double() argument
1407 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_cs4231_info_double()
1418 static int snd_cs4231_get_double(struct snd_kcontrol *kcontrol, in snd_cs4231_get_double() argument
1421 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); in snd_cs4231_get_double()
1423 int left_reg = kcontrol->private_value & 0xff; in snd_cs4231_get_double()
1424 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_cs4231_get_double()
1425 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_cs4231_get_double()
1426 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_cs4231_get_double()
1427 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_cs4231_get_double()
1428 int invert = (kcontrol->private_value >> 22) & 1; in snd_cs4231_get_double()
1449 static int snd_cs4231_put_double(struct snd_kcontrol *kcontrol, in snd_cs4231_put_double() argument
1452 struct snd_cs4231 *chip = snd_kcontrol_chip(kcontrol); in snd_cs4231_put_double()
1454 int left_reg = kcontrol->private_value & 0xff; in snd_cs4231_put_double()
1455 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_cs4231_put_double()
1456 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_cs4231_put_double()
1457 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_cs4231_put_double()
1458 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_cs4231_put_double()
1459 int invert = (kcontrol->private_value >> 22) & 1; in snd_cs4231_put_double()