Lines Matching defs:kcontrol
74 static int pcxhr_analog_vol_info(struct snd_kcontrol *kcontrol,
77 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol);
81 if (kcontrol->private_value == 0) { /* playback */
109 static int pcxhr_analog_vol_get(struct snd_kcontrol *kcontrol,
112 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol);
114 if (kcontrol->private_value == 0) { /* playback */
125 static int pcxhr_analog_vol_put(struct snd_kcontrol *kcontrol,
128 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol);
133 is_capture = (kcontrol->private_value != 0);
190 static int pcxhr_audio_sw_get(struct snd_kcontrol *kcontrol,
193 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol);
202 static int pcxhr_audio_sw_put(struct snd_kcontrol *kcontrol,
205 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol);
336 static int pcxhr_digital_vol_info(struct snd_kcontrol *kcontrol,
347 static int pcxhr_pcm_vol_get(struct snd_kcontrol *kcontrol,
350 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol);
351 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */
353 int is_capture = kcontrol->private_value;
366 static int pcxhr_pcm_vol_put(struct snd_kcontrol *kcontrol,
369 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol);
370 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */
372 int is_capture = kcontrol->private_value;
413 static int pcxhr_pcm_sw_get(struct snd_kcontrol *kcontrol,
416 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol);
417 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */
426 static int pcxhr_pcm_sw_put(struct snd_kcontrol *kcontrol,
429 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol);
431 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */
464 static int pcxhr_monitor_vol_get(struct snd_kcontrol *kcontrol,
467 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol);
475 static int pcxhr_monitor_vol_put(struct snd_kcontrol *kcontrol,
478 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol);
514 static int pcxhr_monitor_sw_get(struct snd_kcontrol *kcontrol,
517 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol);
525 static int pcxhr_monitor_sw_put(struct snd_kcontrol *kcontrol,
528 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol);
635 static int pcxhr_audio_src_info(struct snd_kcontrol *kcontrol,
642 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol);
653 static int pcxhr_audio_src_get(struct snd_kcontrol *kcontrol,
656 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol);
661 static int pcxhr_audio_src_put(struct snd_kcontrol *kcontrol,
664 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol);
714 static int pcxhr_clock_type_info(struct snd_kcontrol *kcontrol,
725 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol);
742 static int pcxhr_clock_type_get(struct snd_kcontrol *kcontrol,
745 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol);
750 static int pcxhr_clock_type_put(struct snd_kcontrol *kcontrol,
753 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol);
800 static int pcxhr_clock_rate_info(struct snd_kcontrol *kcontrol,
803 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol);
811 static int pcxhr_clock_rate_get(struct snd_kcontrol *kcontrol,
814 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol);
843 static int pcxhr_iec958_info(struct snd_kcontrol *kcontrol,
914 static int pcxhr_iec958_get(struct snd_kcontrol *kcontrol,
917 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol);
923 if (kcontrol->private_value == 0) /* playback */
941 static int pcxhr_iec958_mask_get(struct snd_kcontrol *kcontrol,
984 static int pcxhr_iec958_put(struct snd_kcontrol *kcontrol,
987 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol);