Lines Matching refs:kcontrol
417 static int vx_output_level_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in vx_output_level_info() argument
419 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_output_level_info()
427 static int vx_output_level_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_output_level_get() argument
429 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_output_level_get()
430 int codec = kcontrol->id.index; in vx_output_level_get()
438 static int vx_output_level_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_output_level_put() argument
440 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_output_level_put()
441 int codec = kcontrol->id.index; in vx_output_level_put()
476 static int vx_audio_src_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in vx_audio_src_info() argument
484 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_src_info()
504 static int vx_audio_src_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_src_get() argument
506 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_src_get()
511 static int vx_audio_src_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_src_put() argument
513 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_src_put()
544 static int vx_clock_mode_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in vx_clock_mode_info() argument
560 static int vx_clock_mode_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_clock_mode_get() argument
562 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_clock_mode_get()
567 static int vx_clock_mode_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_clock_mode_put() argument
569 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_clock_mode_put()
595 static int vx_audio_gain_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in vx_audio_gain_info() argument
604 static int vx_audio_gain_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_gain_get() argument
606 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_gain_get()
607 int audio = kcontrol->private_value & 0xff; in vx_audio_gain_get()
608 int capture = (kcontrol->private_value >> 8) & 1; in vx_audio_gain_get()
617 static int vx_audio_gain_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_gain_put() argument
619 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_gain_put()
620 int audio = kcontrol->private_value & 0xff; in vx_audio_gain_put()
621 int capture = (kcontrol->private_value >> 8) & 1; in vx_audio_gain_put()
640 static int vx_audio_monitor_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_monitor_get() argument
642 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_monitor_get()
643 int audio = kcontrol->private_value & 0xff; in vx_audio_monitor_get()
652 static int vx_audio_monitor_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_monitor_put() argument
654 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_monitor_put()
655 int audio = kcontrol->private_value & 0xff; in vx_audio_monitor_put()
679 static int vx_audio_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_sw_get() argument
681 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_sw_get()
682 int audio = kcontrol->private_value & 0xff; in vx_audio_sw_get()
691 static int vx_audio_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_sw_put() argument
693 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_sw_put()
694 int audio = kcontrol->private_value & 0xff; in vx_audio_sw_put()
710 static int vx_monitor_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_monitor_sw_get() argument
712 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_monitor_sw_get()
713 int audio = kcontrol->private_value & 0xff; in vx_monitor_sw_get()
722 static int vx_monitor_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_monitor_sw_put() argument
724 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_monitor_sw_put()
725 int audio = kcontrol->private_value & 0xff; in vx_monitor_sw_put()
782 static int vx_iec958_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in vx_iec958_info() argument
789 static int vx_iec958_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_iec958_get() argument
791 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_iec958_get()
802 static int vx_iec958_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_iec958_mask_get() argument
811 static int vx_iec958_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_iec958_put() argument
813 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_iec958_put()
855 static int vx_vu_meter_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in vx_vu_meter_info() argument
864 static int vx_vu_meter_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_vu_meter_get() argument
866 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_vu_meter_get()
868 int audio = kcontrol->private_value & 0xff; in vx_vu_meter_get()
869 int capture = (kcontrol->private_value >> 8) & 1; in vx_vu_meter_get()
877 static int vx_peak_meter_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_peak_meter_get() argument
879 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_peak_meter_get()
881 int audio = kcontrol->private_value & 0xff; in vx_peak_meter_get()
882 int capture = (kcontrol->private_value >> 8) & 1; in vx_peak_meter_get()
892 static int vx_saturation_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_saturation_get() argument
894 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_saturation_get()
896 int audio = kcontrol->private_value & 0xff; in vx_saturation_get()