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