Lines Matching refs:kcontrol
400 static int vx_output_level_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in vx_output_level_info() argument
402 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_output_level_info()
410 static int vx_output_level_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_output_level_get() argument
412 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_output_level_get()
413 int codec = kcontrol->id.index; in vx_output_level_get()
421 static int vx_output_level_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_output_level_put() argument
423 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_output_level_put()
424 int codec = kcontrol->id.index; in vx_output_level_put()
459 static int vx_audio_src_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in vx_audio_src_info() argument
467 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_src_info()
475 static int vx_audio_src_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_src_get() argument
477 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_src_get()
482 static int vx_audio_src_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_src_put() argument
484 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_src_put()
515 static int vx_clock_mode_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in vx_clock_mode_info() argument
524 static int vx_clock_mode_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_clock_mode_get() argument
526 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_clock_mode_get()
531 static int vx_clock_mode_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_clock_mode_put() argument
533 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_clock_mode_put()
559 static int vx_audio_gain_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in vx_audio_gain_info() argument
568 static int vx_audio_gain_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_gain_get() argument
570 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_gain_get()
571 int audio = kcontrol->private_value & 0xff; in vx_audio_gain_get()
572 int capture = (kcontrol->private_value >> 8) & 1; in vx_audio_gain_get()
581 static int vx_audio_gain_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_gain_put() argument
583 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_gain_put()
584 int audio = kcontrol->private_value & 0xff; in vx_audio_gain_put()
585 int capture = (kcontrol->private_value >> 8) & 1; in vx_audio_gain_put()
604 static int vx_audio_monitor_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_monitor_get() argument
606 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_monitor_get()
607 int audio = kcontrol->private_value & 0xff; in vx_audio_monitor_get()
616 static int vx_audio_monitor_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_monitor_put() argument
618 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_monitor_put()
619 int audio = kcontrol->private_value & 0xff; in vx_audio_monitor_put()
643 static int vx_audio_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_sw_get() argument
645 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_sw_get()
646 int audio = kcontrol->private_value & 0xff; in vx_audio_sw_get()
655 static int vx_audio_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_audio_sw_put() argument
657 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_audio_sw_put()
658 int audio = kcontrol->private_value & 0xff; in vx_audio_sw_put()
674 static int vx_monitor_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_monitor_sw_get() argument
676 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_monitor_sw_get()
677 int audio = kcontrol->private_value & 0xff; in vx_monitor_sw_get()
686 static int vx_monitor_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_monitor_sw_put() argument
688 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_monitor_sw_put()
689 int audio = kcontrol->private_value & 0xff; in vx_monitor_sw_put()
746 static int vx_iec958_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in vx_iec958_info() argument
753 static int vx_iec958_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_iec958_get() argument
755 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_iec958_get()
766 static int vx_iec958_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_iec958_mask_get() argument
775 static int vx_iec958_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_iec958_put() argument
777 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_iec958_put()
819 static int vx_vu_meter_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in vx_vu_meter_info() argument
828 static int vx_vu_meter_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_vu_meter_get() argument
830 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_vu_meter_get()
832 int audio = kcontrol->private_value & 0xff; in vx_vu_meter_get()
833 int capture = (kcontrol->private_value >> 8) & 1; in vx_vu_meter_get()
841 static int vx_peak_meter_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_peak_meter_get() argument
843 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_peak_meter_get()
845 int audio = kcontrol->private_value & 0xff; in vx_peak_meter_get()
846 int capture = (kcontrol->private_value >> 8) & 1; in vx_peak_meter_get()
856 static int vx_saturation_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in vx_saturation_get() argument
858 struct vx_core *chip = snd_kcontrol_chip(kcontrol); in vx_saturation_get()
860 int audio = kcontrol->private_value & 0xff; in vx_saturation_get()