Lines Matching refs:kcontrol
86 static int pcxhr_analog_vol_info(struct snd_kcontrol *kcontrol, in pcxhr_analog_vol_info() argument
89 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_analog_vol_info()
93 if (kcontrol->private_value == 0) { /* playback */ in pcxhr_analog_vol_info()
121 static int pcxhr_analog_vol_get(struct snd_kcontrol *kcontrol, in pcxhr_analog_vol_get() argument
124 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_analog_vol_get()
126 if (kcontrol->private_value == 0) { /* playback */ in pcxhr_analog_vol_get()
137 static int pcxhr_analog_vol_put(struct snd_kcontrol *kcontrol, in pcxhr_analog_vol_put() argument
140 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_analog_vol_put()
145 is_capture = (kcontrol->private_value != 0); in pcxhr_analog_vol_put()
202 static int pcxhr_audio_sw_get(struct snd_kcontrol *kcontrol, in pcxhr_audio_sw_get() argument
205 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_audio_sw_get()
214 static int pcxhr_audio_sw_put(struct snd_kcontrol *kcontrol, in pcxhr_audio_sw_put() argument
217 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_audio_sw_put()
347 static int pcxhr_digital_vol_info(struct snd_kcontrol *kcontrol, in pcxhr_digital_vol_info() argument
358 static int pcxhr_pcm_vol_get(struct snd_kcontrol *kcontrol, in pcxhr_pcm_vol_get() argument
361 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_pcm_vol_get()
362 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */ in pcxhr_pcm_vol_get()
364 int is_capture = kcontrol->private_value; in pcxhr_pcm_vol_get()
377 static int pcxhr_pcm_vol_put(struct snd_kcontrol *kcontrol, in pcxhr_pcm_vol_put() argument
380 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_pcm_vol_put()
381 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */ in pcxhr_pcm_vol_put()
383 int is_capture = kcontrol->private_value; in pcxhr_pcm_vol_put()
424 static int pcxhr_pcm_sw_get(struct snd_kcontrol *kcontrol, in pcxhr_pcm_sw_get() argument
427 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_pcm_sw_get()
428 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */ in pcxhr_pcm_sw_get()
437 static int pcxhr_pcm_sw_put(struct snd_kcontrol *kcontrol, in pcxhr_pcm_sw_put() argument
440 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_pcm_sw_put()
442 int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */ in pcxhr_pcm_sw_put()
475 static int pcxhr_monitor_vol_get(struct snd_kcontrol *kcontrol, in pcxhr_monitor_vol_get() argument
478 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_monitor_vol_get()
486 static int pcxhr_monitor_vol_put(struct snd_kcontrol *kcontrol, in pcxhr_monitor_vol_put() argument
489 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_monitor_vol_put()
525 static int pcxhr_monitor_sw_get(struct snd_kcontrol *kcontrol, in pcxhr_monitor_sw_get() argument
528 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_monitor_sw_get()
536 static int pcxhr_monitor_sw_put(struct snd_kcontrol *kcontrol, in pcxhr_monitor_sw_put() argument
539 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_monitor_sw_put()
646 static int pcxhr_audio_src_info(struct snd_kcontrol *kcontrol, in pcxhr_audio_src_info() argument
653 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_audio_src_info()
671 static int pcxhr_audio_src_get(struct snd_kcontrol *kcontrol, in pcxhr_audio_src_get() argument
674 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_audio_src_get()
679 static int pcxhr_audio_src_put(struct snd_kcontrol *kcontrol, in pcxhr_audio_src_put() argument
682 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_audio_src_put()
732 static int pcxhr_clock_type_info(struct snd_kcontrol *kcontrol, in pcxhr_clock_type_info() argument
743 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); in pcxhr_clock_type_info()
767 static int pcxhr_clock_type_get(struct snd_kcontrol *kcontrol, in pcxhr_clock_type_get() argument
770 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); in pcxhr_clock_type_get()
775 static int pcxhr_clock_type_put(struct snd_kcontrol *kcontrol, in pcxhr_clock_type_put() argument
778 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); in pcxhr_clock_type_put()
825 static int pcxhr_clock_rate_info(struct snd_kcontrol *kcontrol, in pcxhr_clock_rate_info() argument
828 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); in pcxhr_clock_rate_info()
836 static int pcxhr_clock_rate_get(struct snd_kcontrol *kcontrol, in pcxhr_clock_rate_get() argument
839 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); in pcxhr_clock_rate_get()
868 static int pcxhr_iec958_info(struct snd_kcontrol *kcontrol, in pcxhr_iec958_info() argument
939 static int pcxhr_iec958_get(struct snd_kcontrol *kcontrol, in pcxhr_iec958_get() argument
942 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_iec958_get()
948 if (kcontrol->private_value == 0) /* playback */ in pcxhr_iec958_get()
966 static int pcxhr_iec958_mask_get(struct snd_kcontrol *kcontrol, in pcxhr_iec958_mask_get() argument
1008 static int pcxhr_iec958_put(struct snd_kcontrol *kcontrol, in pcxhr_iec958_put() argument
1011 struct snd_pcxhr *chip = snd_kcontrol_chip(kcontrol); in pcxhr_iec958_put()