Lines Matching refs:kcontrol
401 static int snd_at73c213_mono_get(struct snd_kcontrol *kcontrol, in snd_at73c213_mono_get() argument
404 struct snd_at73c213 *chip = snd_kcontrol_chip(kcontrol); in snd_at73c213_mono_get()
405 int reg = kcontrol->private_value & 0xff; in snd_at73c213_mono_get()
406 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_at73c213_mono_get()
407 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_at73c213_mono_get()
408 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_at73c213_mono_get()
424 static int snd_at73c213_mono_put(struct snd_kcontrol *kcontrol, in snd_at73c213_mono_put() argument
427 struct snd_at73c213 *chip = snd_kcontrol_chip(kcontrol); in snd_at73c213_mono_put()
428 int reg = kcontrol->private_value & 0xff; in snd_at73c213_mono_put()
429 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_at73c213_mono_put()
430 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_at73c213_mono_put()
431 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_at73c213_mono_put()
454 static int snd_at73c213_stereo_info(struct snd_kcontrol *kcontrol, in snd_at73c213_stereo_info() argument
457 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_at73c213_stereo_info()
471 static int snd_at73c213_stereo_get(struct snd_kcontrol *kcontrol, in snd_at73c213_stereo_get() argument
474 struct snd_at73c213 *chip = snd_kcontrol_chip(kcontrol); in snd_at73c213_stereo_get()
475 int left_reg = kcontrol->private_value & 0xff; in snd_at73c213_stereo_get()
476 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_at73c213_stereo_get()
477 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_at73c213_stereo_get()
478 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_at73c213_stereo_get()
479 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_at73c213_stereo_get()
480 int invert = (kcontrol->private_value >> 22) & 1; in snd_at73c213_stereo_get()
501 static int snd_at73c213_stereo_put(struct snd_kcontrol *kcontrol, in snd_at73c213_stereo_put() argument
504 struct snd_at73c213 *chip = snd_kcontrol_chip(kcontrol); in snd_at73c213_stereo_put()
505 int left_reg = kcontrol->private_value & 0xff; in snd_at73c213_stereo_put()
506 int right_reg = (kcontrol->private_value >> 8) & 0xff; in snd_at73c213_stereo_put()
507 int shift_left = (kcontrol->private_value >> 16) & 0x07; in snd_at73c213_stereo_put()
508 int shift_right = (kcontrol->private_value >> 19) & 0x07; in snd_at73c213_stereo_put()
509 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_at73c213_stereo_put()
510 int invert = (kcontrol->private_value >> 22) & 1; in snd_at73c213_stereo_put()
550 static int snd_at73c213_mono_switch_get(struct snd_kcontrol *kcontrol, in snd_at73c213_mono_switch_get() argument
553 struct snd_at73c213 *chip = snd_kcontrol_chip(kcontrol); in snd_at73c213_mono_switch_get()
554 int reg = kcontrol->private_value & 0xff; in snd_at73c213_mono_switch_get()
555 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_at73c213_mono_switch_get()
556 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_at73c213_mono_switch_get()
572 static int snd_at73c213_mono_switch_put(struct snd_kcontrol *kcontrol, in snd_at73c213_mono_switch_put() argument
575 struct snd_at73c213 *chip = snd_kcontrol_chip(kcontrol); in snd_at73c213_mono_switch_put()
576 int reg = kcontrol->private_value & 0xff; in snd_at73c213_mono_switch_put()
577 int shift = (kcontrol->private_value >> 8) & 0xff; in snd_at73c213_mono_switch_put()
578 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_at73c213_mono_switch_put()
579 int invert = (kcontrol->private_value >> 24) & 0xff; in snd_at73c213_mono_switch_put()
607 static int snd_at73c213_pa_volume_info(struct snd_kcontrol *kcontrol, in snd_at73c213_pa_volume_info() argument
613 uinfo->value.integer.max = ((kcontrol->private_value >> 16) & 0xff) - 1; in snd_at73c213_pa_volume_info()
619 struct snd_kcontrol *kcontrol, in snd_at73c213_line_capture_volume_info() argument
632 struct snd_kcontrol *kcontrol, in snd_at73c213_aux_capture_volume_info() argument