Lines Matching refs:kcontrol
87 static int pcxhr_analog_vol_info(struct snd_kcontrol *kcontrol, in pcxhr_analog_vol_info() argument
90 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_analog_vol_info()
94 if (kcontrol->private_value == 0) { /* playback */ in pcxhr_analog_vol_info()
122 static int pcxhr_analog_vol_get(struct snd_kcontrol *kcontrol, in pcxhr_analog_vol_get() argument
125 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_analog_vol_get()
127 if (kcontrol->private_value == 0) { /* playback */ in pcxhr_analog_vol_get()
138 static int pcxhr_analog_vol_put(struct snd_kcontrol *kcontrol, in pcxhr_analog_vol_put() argument
141 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_analog_vol_put()
146 is_capture = (kcontrol->private_value != 0); in pcxhr_analog_vol_put()
203 static int pcxhr_audio_sw_get(struct snd_kcontrol *kcontrol, in pcxhr_audio_sw_get() argument
206 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_audio_sw_get()
215 static int pcxhr_audio_sw_put(struct snd_kcontrol *kcontrol, in pcxhr_audio_sw_put() argument
218 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_audio_sw_put()
349 static int pcxhr_digital_vol_info(struct snd_kcontrol *kcontrol, in pcxhr_digital_vol_info() argument
360 static int pcxhr_pcm_vol_get(struct snd_kcontrol *kcontrol, in pcxhr_pcm_vol_get() argument
363 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_pcm_vol_get()
364 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */ in pcxhr_pcm_vol_get()
366 int is_capture = kcontrol->private_value; in pcxhr_pcm_vol_get()
379 static int pcxhr_pcm_vol_put(struct snd_kcontrol *kcontrol, in pcxhr_pcm_vol_put() argument
382 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_pcm_vol_put()
383 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */ in pcxhr_pcm_vol_put()
385 int is_capture = kcontrol->private_value; in pcxhr_pcm_vol_put()
426 static int pcxhr_pcm_sw_get(struct snd_kcontrol *kcontrol, in pcxhr_pcm_sw_get() argument
429 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_pcm_sw_get()
430 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */ in pcxhr_pcm_sw_get()
439 static int pcxhr_pcm_sw_put(struct snd_kcontrol *kcontrol, in pcxhr_pcm_sw_put() argument
442 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_pcm_sw_put()
444 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */ in pcxhr_pcm_sw_put()
477 static int pcxhr_monitor_vol_get(struct snd_kcontrol *kcontrol, in pcxhr_monitor_vol_get() argument
480 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_monitor_vol_get()
488 static int pcxhr_monitor_vol_put(struct snd_kcontrol *kcontrol, in pcxhr_monitor_vol_put() argument
491 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_monitor_vol_put()
527 static int pcxhr_monitor_sw_get(struct snd_kcontrol *kcontrol, in pcxhr_monitor_sw_get() argument
530 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_monitor_sw_get()
538 static int pcxhr_monitor_sw_put(struct snd_kcontrol *kcontrol, in pcxhr_monitor_sw_put() argument
541 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_monitor_sw_put()
648 static int pcxhr_audio_src_info(struct snd_kcontrol *kcontrol, in pcxhr_audio_src_info() argument
655 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_audio_src_info()
666 static int pcxhr_audio_src_get(struct snd_kcontrol *kcontrol, in pcxhr_audio_src_get() argument
669 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_audio_src_get()
674 static int pcxhr_audio_src_put(struct snd_kcontrol *kcontrol, in pcxhr_audio_src_put() argument
677 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_audio_src_put()
727 static int pcxhr_clock_type_info(struct snd_kcontrol *kcontrol, in pcxhr_clock_type_info() argument
738 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); in pcxhr_clock_type_info()
755 static int pcxhr_clock_type_get(struct snd_kcontrol *kcontrol, in pcxhr_clock_type_get() argument
758 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); in pcxhr_clock_type_get()
763 static int pcxhr_clock_type_put(struct snd_kcontrol *kcontrol, in pcxhr_clock_type_put() argument
766 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); in pcxhr_clock_type_put()
813 static int pcxhr_clock_rate_info(struct snd_kcontrol *kcontrol, in pcxhr_clock_rate_info() argument
816 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); in pcxhr_clock_rate_info()
824 static int pcxhr_clock_rate_get(struct snd_kcontrol *kcontrol, in pcxhr_clock_rate_get() argument
827 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); in pcxhr_clock_rate_get()
856 static int pcxhr_iec958_info(struct snd_kcontrol *kcontrol, in pcxhr_iec958_info() argument
927 static int pcxhr_iec958_get(struct snd_kcontrol *kcontrol, in pcxhr_iec958_get() argument
930 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_iec958_get()
936 if (kcontrol->private_value == 0) /* playback */ in pcxhr_iec958_get()
954 static int pcxhr_iec958_mask_get(struct snd_kcontrol *kcontrol, in pcxhr_iec958_mask_get() argument
997 static int pcxhr_iec958_put(struct snd_kcontrol *kcontrol, in pcxhr_iec958_put() argument
1000 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_iec958_put()