Lines Matching refs:kcontrol

355 static int snd_opl3sa2_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro…  in snd_opl3sa2_get_single()  argument
357 struct snd_opl3sa2 *chip = snd_kcontrol_chip(kcontrol); in snd_opl3sa2_get_single()
359 int reg = kcontrol->private_value & 0xff; in snd_opl3sa2_get_single()
360 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_opl3sa2_get_single()
361 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_opl3sa2_get_single()
362 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_opl3sa2_get_single()
372 static int snd_opl3sa2_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in snd_opl3sa2_put_single() argument
374 struct snd_opl3sa2 *chip = snd_kcontrol_chip(kcontrol); in snd_opl3sa2_put_single()
376 int reg = kcontrol->private_value & 0xff; in snd_opl3sa2_put_single()
377 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_opl3sa2_put_single()
378 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_opl3sa2_put_single()
379 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_opl3sa2_put_single()
410 static int snd_opl3sa2_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in snd_opl3sa2_get_double() argument
412 struct snd_opl3sa2 *chip = snd_kcontrol_chip(kcontrol); in snd_opl3sa2_get_double()
414 int left_reg = kcontrol->private_value & 0xff; in snd_opl3sa2_get_double()
415 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_opl3sa2_get_double()
416 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_opl3sa2_get_double()
417 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_opl3sa2_get_double()
418 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_opl3sa2_get_double()
419 int invert = (kcontrol->private_value >> 22) & 1; in snd_opl3sa2_get_double()
432 static int snd_opl3sa2_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in snd_opl3sa2_put_double() argument
434 struct snd_opl3sa2 *chip = snd_kcontrol_chip(kcontrol); in snd_opl3sa2_put_double()
436 int left_reg = kcontrol->private_value & 0xff; in snd_opl3sa2_put_double()
437 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_opl3sa2_put_double()
438 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_opl3sa2_put_double()
439 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_opl3sa2_put_double()
440 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_opl3sa2_put_double()
441 int invert = (kcontrol->private_value >> 22) & 1; in snd_opl3sa2_put_double()
491 static void snd_opl3sa2_master_free(struct snd_kcontrol *kcontrol) in snd_opl3sa2_master_free() argument
493 struct snd_opl3sa2 *chip = snd_kcontrol_chip(kcontrol); in snd_opl3sa2_master_free()