• Home
  • Raw
  • Download

Lines Matching refs:kcontrol

413 static int vx_output_level_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)  in vx_output_level_info()  argument
415 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_output_level_info()
423 static int vx_output_level_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_output_level_get() argument
425 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_output_level_get()
426 int codec = kcontrol->id.index; in vx_output_level_get()
434 static int vx_output_level_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_output_level_put() argument
436 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_output_level_put()
437 int codec = kcontrol->id.index; in vx_output_level_put()
472 static int vx_audio_src_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in vx_audio_src_info() argument
480 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_src_info()
488 static int vx_audio_src_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_src_get() argument
490 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_src_get()
495 static int vx_audio_src_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_src_put() argument
497 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_src_put()
528 static int vx_clock_mode_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in vx_clock_mode_info() argument
537 static int vx_clock_mode_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_clock_mode_get() argument
539 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_clock_mode_get()
544 static int vx_clock_mode_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_clock_mode_put() argument
546 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_clock_mode_put()
572 static int vx_audio_gain_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in vx_audio_gain_info() argument
581 static int vx_audio_gain_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_gain_get() argument
583 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_gain_get()
584 int audio = kcontrol->private_value & 0xff; in vx_audio_gain_get()
585 int capture = (kcontrol->private_value >> 8) & 1; in vx_audio_gain_get()
594 static int vx_audio_gain_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_gain_put() argument
596 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_gain_put()
597 int audio = kcontrol->private_value & 0xff; in vx_audio_gain_put()
598 int capture = (kcontrol->private_value >> 8) & 1; in vx_audio_gain_put()
617 static int vx_audio_monitor_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_monitor_get() argument
619 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_monitor_get()
620 int audio = kcontrol->private_value & 0xff; in vx_audio_monitor_get()
629 static int vx_audio_monitor_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_monitor_put() argument
631 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_monitor_put()
632 int audio = kcontrol->private_value & 0xff; in vx_audio_monitor_put()
656 static int vx_audio_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_sw_get() argument
658 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_sw_get()
659 int audio = kcontrol->private_value & 0xff; in vx_audio_sw_get()
668 static int vx_audio_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_sw_put() argument
670 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_sw_put()
671 int audio = kcontrol->private_value & 0xff; in vx_audio_sw_put()
687 static int vx_monitor_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_monitor_sw_get() argument
689 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_monitor_sw_get()
690 int audio = kcontrol->private_value & 0xff; in vx_monitor_sw_get()
699 static int vx_monitor_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_monitor_sw_put() argument
701 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_monitor_sw_put()
702 int audio = kcontrol->private_value & 0xff; in vx_monitor_sw_put()
759 static int vx_iec958_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in vx_iec958_info() argument
766 static int vx_iec958_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_iec958_get() argument
768 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_iec958_get()
779 static int vx_iec958_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_iec958_mask_get() argument
788 static int vx_iec958_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_iec958_put() argument
790 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_iec958_put()
832 static int vx_vu_meter_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in vx_vu_meter_info() argument
841 static int vx_vu_meter_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_vu_meter_get() argument
843 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_vu_meter_get()
845 int audio = kcontrol->private_value & 0xff; in vx_vu_meter_get()
846 int capture = (kcontrol->private_value >> 8) & 1; in vx_vu_meter_get()
854 static int vx_peak_meter_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_peak_meter_get() argument
856 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_peak_meter_get()
858 int audio = kcontrol->private_value & 0xff; in vx_peak_meter_get()
859 int capture = (kcontrol->private_value >> 8) & 1; in vx_peak_meter_get()
869 static int vx_saturation_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_saturation_get() argument
871 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_saturation_get()
873 int audio = kcontrol->private_value & 0xff; in vx_saturation_get()