Lines Matching defs:kcontrol

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