Home
last modified time | relevance | path

Searched refs:kcontrol (Results 1 – 10 of 10) sorted by relevance

/drivers/media/usb/em28xx/
Dem28xx-audio.c455 static int em28xx_vol_info(struct snd_kcontrol *kcontrol, in em28xx_vol_info() argument
466 static int em28xx_vol_put(struct snd_kcontrol *kcontrol, in em28xx_vol_put() argument
469 struct em28xx *dev = snd_kcontrol_chip(kcontrol); in em28xx_vol_put()
475 rc = em28xx_read_ac97(dev, kcontrol->private_value); in em28xx_vol_put()
481 rc = em28xx_write_ac97(dev, kcontrol->private_value, val); in em28xx_vol_put()
488 val, (int)kcontrol->private_value); in em28xx_vol_put()
495 static int em28xx_vol_get(struct snd_kcontrol *kcontrol, in em28xx_vol_get() argument
498 struct em28xx *dev = snd_kcontrol_chip(kcontrol); in em28xx_vol_get()
502 val = em28xx_read_ac97(dev, kcontrol->private_value); in em28xx_vol_get()
510 val, (int)kcontrol->private_value); in em28xx_vol_get()
[all …]
/drivers/staging/line6/
Dtoneport.c173 static int snd_toneport_monitor_info(struct snd_kcontrol *kcontrol, in snd_toneport_monitor_info() argument
184 static int snd_toneport_monitor_get(struct snd_kcontrol *kcontrol, in snd_toneport_monitor_get() argument
187 struct snd_line6_pcm *line6pcm = snd_kcontrol_chip(kcontrol); in snd_toneport_monitor_get()
193 static int snd_toneport_monitor_put(struct snd_kcontrol *kcontrol, in snd_toneport_monitor_put() argument
196 struct snd_line6_pcm *line6pcm = snd_kcontrol_chip(kcontrol); in snd_toneport_monitor_put()
212 static int snd_toneport_source_info(struct snd_kcontrol *kcontrol, in snd_toneport_source_info() argument
230 static int snd_toneport_source_get(struct snd_kcontrol *kcontrol, in snd_toneport_source_get() argument
233 struct snd_line6_pcm *line6pcm = snd_kcontrol_chip(kcontrol); in snd_toneport_source_get()
241 static int snd_toneport_source_put(struct snd_kcontrol *kcontrol, in snd_toneport_source_put() argument
244 struct snd_line6_pcm *line6pcm = snd_kcontrol_chip(kcontrol); in snd_toneport_source_put()
Dpod.c284 static int snd_pod_control_monitor_info(struct snd_kcontrol *kcontrol, in snd_pod_control_monitor_info() argument
295 static int snd_pod_control_monitor_get(struct snd_kcontrol *kcontrol, in snd_pod_control_monitor_get() argument
298 struct snd_line6_pcm *line6pcm = snd_kcontrol_chip(kcontrol); in snd_pod_control_monitor_get()
305 static int snd_pod_control_monitor_put(struct snd_kcontrol *kcontrol, in snd_pod_control_monitor_put() argument
308 struct snd_line6_pcm *line6pcm = snd_kcontrol_chip(kcontrol); in snd_pod_control_monitor_put()
Dpcm.c269 static int snd_line6_control_playback_info(struct snd_kcontrol *kcontrol, in snd_line6_control_playback_info() argument
280 static int snd_line6_control_playback_get(struct snd_kcontrol *kcontrol, in snd_line6_control_playback_get() argument
284 struct snd_line6_pcm *line6pcm = snd_kcontrol_chip(kcontrol); in snd_line6_control_playback_get()
293 static int snd_line6_control_playback_put(struct snd_kcontrol *kcontrol, in snd_line6_control_playback_put() argument
297 struct snd_line6_pcm *line6pcm = snd_kcontrol_chip(kcontrol); in snd_line6_control_playback_put()
/drivers/media/pci/saa7134/
Dsaa7134-alsa.c323 static int snd_saa7134_capsrc_set(struct snd_kcontrol *kcontrol, in snd_saa7134_capsrc_set() argument
326 snd_card_saa7134_t *chip = snd_kcontrol_chip(kcontrol); in snd_saa7134_capsrc_set()
327 int change = 0, addr = kcontrol->private_value; in snd_saa7134_capsrc_set()
851 static int snd_saa7134_volume_info(struct snd_kcontrol * kcontrol, in snd_saa7134_volume_info() argument
861 static int snd_saa7134_volume_get(struct snd_kcontrol * kcontrol, in snd_saa7134_volume_get() argument
864 snd_card_saa7134_t *chip = snd_kcontrol_chip(kcontrol); in snd_saa7134_volume_get()
865 int addr = kcontrol->private_value; in snd_saa7134_volume_get()
872 static int snd_saa7134_volume_put(struct snd_kcontrol * kcontrol, in snd_saa7134_volume_put() argument
875 snd_card_saa7134_t *chip = snd_kcontrol_chip(kcontrol); in snd_saa7134_volume_put()
878 int change, addr = kcontrol->private_value; in snd_saa7134_volume_put()
[all …]
/drivers/media/pci/cx88/
Dcx88-alsa.c561 static int snd_cx88_volume_info(struct snd_kcontrol *kcontrol, in snd_cx88_volume_info() argument
572 static int snd_cx88_volume_get(struct snd_kcontrol *kcontrol, in snd_cx88_volume_get() argument
575 snd_cx88_card_t *chip = snd_kcontrol_chip(kcontrol); in snd_cx88_volume_get()
587 static void snd_cx88_wm8775_volume_put(struct snd_kcontrol *kcontrol, in snd_cx88_wm8775_volume_put() argument
590 snd_cx88_card_t *chip = snd_kcontrol_chip(kcontrol); in snd_cx88_wm8775_volume_put()
609 static int snd_cx88_volume_put(struct snd_kcontrol *kcontrol, in snd_cx88_volume_put() argument
612 snd_cx88_card_t *chip = snd_kcontrol_chip(kcontrol); in snd_cx88_volume_put()
619 snd_cx88_wm8775_volume_put(kcontrol, value); in snd_cx88_volume_put()
659 static int snd_cx88_switch_get(struct snd_kcontrol *kcontrol, in snd_cx88_switch_get() argument
662 snd_cx88_card_t *chip = snd_kcontrol_chip(kcontrol); in snd_cx88_switch_get()
[all …]
/drivers/staging/media/solo6x10/
Dsolo6x10-g723.c273 static int snd_solo_capture_volume_info(struct snd_kcontrol *kcontrol, in snd_solo_capture_volume_info() argument
285 static int snd_solo_capture_volume_get(struct snd_kcontrol *kcontrol, in snd_solo_capture_volume_get() argument
288 struct solo_dev *solo_dev = snd_kcontrol_chip(kcontrol); in snd_solo_capture_volume_get()
296 static int snd_solo_capture_volume_put(struct snd_kcontrol *kcontrol, in snd_solo_capture_volume_put() argument
299 struct solo_dev *solo_dev = snd_kcontrol_chip(kcontrol); in snd_solo_capture_volume_put()
/drivers/media/pci/ivtv/
Divtv-alsa-mixer.c72 static int snd_ivtv_mixer_tv_vol_info(struct snd_kcontrol *kcontrol, in snd_ivtv_mixer_tv_vol_info() argument
/drivers/media/pci/cx18/
Dcx18-alsa-mixer.c72 static int snd_cx18_mixer_tv_vol_info(struct snd_kcontrol *kcontrol, in snd_cx18_mixer_tv_vol_info() argument
/drivers/platform/x86/
Dthinkpad_acpi.c6671 static int volume_alsa_vol_info(struct snd_kcontrol *kcontrol, in volume_alsa_vol_info() argument
6681 static int volume_alsa_vol_get(struct snd_kcontrol *kcontrol, in volume_alsa_vol_get() argument
6695 static int volume_alsa_vol_put(struct snd_kcontrol *kcontrol, in volume_alsa_vol_put() argument
6705 static int volume_alsa_mute_get(struct snd_kcontrol *kcontrol, in volume_alsa_mute_get() argument
6720 static int volume_alsa_mute_put(struct snd_kcontrol *kcontrol, in volume_alsa_mute_put() argument