Home
last modified time | relevance | path

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

/drivers/staging/vc04_services/bcm2835-audio/
A Dbcm2835-ctl.c33 if (kcontrol->private_value == PCM_PLAYBACK_VOLUME) { in snd_bcm2835_ctl_info()
38 } else if (kcontrol->private_value == PCM_PLAYBACK_MUTE) { in snd_bcm2835_ctl_info()
55 struct bcm2835_chip *chip = snd_kcontrol_chip(kcontrol); in snd_bcm2835_ctl_get()
59 if (kcontrol->private_value == PCM_PLAYBACK_VOLUME) in snd_bcm2835_ctl_get()
61 else if (kcontrol->private_value == PCM_PLAYBACK_MUTE) in snd_bcm2835_ctl_get()
63 else if (kcontrol->private_value == PCM_PLAYBACK_DEVICE) in snd_bcm2835_ctl_get()
73 struct bcm2835_chip *chip = snd_kcontrol_chip(kcontrol); in snd_bcm2835_ctl_put()
78 if (kcontrol->private_value == PCM_PLAYBACK_VOLUME) in snd_bcm2835_ctl_put()
80 else if (kcontrol->private_value == PCM_PLAYBACK_MUTE) in snd_bcm2835_ctl_put()
82 else if (kcontrol->private_value == PCM_PLAYBACK_DEVICE) in snd_bcm2835_ctl_put()
[all …]
/drivers/staging/greybus/
A Daudio_topology.c203 info->type, kcontrol->id.name); in gbcodec_mixer_ctl_info()
241 __func__, kcontrol->id.name); in gbcodec_mixer_ctl_get()
264 info->type, kcontrol->id.name); in gbcodec_mixer_ctl_get()
311 info->type, kcontrol->id.name); in gbcodec_mixer_ctl_put()
330 __func__, kcontrol->id.name); in gbcodec_mixer_ctl_put()
362 !strnstr(kcontrol->id.name, " Volume", sizeof(kcontrol->id.name))) in gbcodec_mixer_dapm_ctl_info()
398 kcontrol->id.name); in gbcodec_mixer_dapm_ctl_get()
411 __func__, kcontrol->id.name); in gbcodec_mixer_dapm_ctl_get()
448 kcontrol->id.name); in gbcodec_mixer_dapm_ctl_put()
483 __func__, kcontrol->id.name); in gbcodec_mixer_dapm_ctl_put()
[all …]
/drivers/media/usb/em28xx/
A Dem28xx-audio.c396 struct em28xx *dev = snd_kcontrol_chip(kcontrol); in em28xx_vol_info()
412 struct em28xx *dev = snd_kcontrol_chip(kcontrol); in em28xx_vol_put()
430 rc = em28xx_read_ac97(dev, kcontrol->private_value); in em28xx_vol_put()
443 val, (int)kcontrol->private_value); in em28xx_vol_put()
453 struct em28xx *dev = snd_kcontrol_chip(kcontrol); in em28xx_vol_get()
477 val, (int)kcontrol->private_value); in em28xx_vol_get()
488 struct em28xx *dev = snd_kcontrol_chip(kcontrol); in em28xx_vol_put_mute()
505 rc = em28xx_read_ac97(dev, kcontrol->private_value); in em28xx_vol_put_mute()
521 val, (int)kcontrol->private_value); in em28xx_vol_put_mute()
531 struct em28xx *dev = snd_kcontrol_chip(kcontrol); in em28xx_vol_get_mute()
[all …]
/drivers/media/pci/cx88/
A Dcx88-alsa.c632 struct cx88_audio_dev *chip = snd_kcontrol_chip(kcontrol); in snd_cx88_volume_get()
647 struct cx88_audio_dev *chip = snd_kcontrol_chip(kcontrol); in snd_cx88_wm8775_volume_put()
669 struct cx88_audio_dev *chip = snd_kcontrol_chip(kcontrol); in snd_cx88_volume_put()
676 snd_cx88_wm8775_volume_put(kcontrol, value); in snd_cx88_volume_put()
719 struct cx88_audio_dev *chip = snd_kcontrol_chip(kcontrol); in snd_cx88_switch_get()
721 u32 bit = kcontrol->private_value; in snd_cx88_switch_get()
730 struct cx88_audio_dev *chip = snd_kcontrol_chip(kcontrol); in snd_cx88_switch_put()
732 u32 bit = kcontrol->private_value; in snd_cx88_switch_put()
769 static int snd_cx88_alc_get(struct snd_kcontrol *kcontrol, in snd_cx88_alc_get() argument
772 struct cx88_audio_dev *chip = snd_kcontrol_chip(kcontrol); in snd_cx88_alc_get()
[all …]
/drivers/media/pci/saa7134/
A Dsaa7134-alsa.c381 snd_card_saa7134_t *chip = snd_kcontrol_chip(kcontrol); in snd_saa7134_capsrc_set()
382 int change = 0, addr = kcontrol->private_value; in snd_saa7134_capsrc_set()
918 snd_card_saa7134_t *chip = snd_kcontrol_chip(kcontrol); in snd_saa7134_volume_get()
919 int addr = kcontrol->private_value; in snd_saa7134_volume_get()
929 snd_card_saa7134_t *chip = snd_kcontrol_chip(kcontrol); in snd_saa7134_volume_put()
932 int change, addr = kcontrol->private_value; in snd_saa7134_volume_put()
1016 int addr = kcontrol->private_value; in snd_saa7134_capsrc_get()
1064 struct snd_kcontrol *kcontrol; in snd_card_saa7134_new_mixer() local
1073 err = snd_ctl_add(card, kcontrol); in snd_card_saa7134_new_mixer()
1082 chip->capture_ctl[addr] = kcontrol; in snd_card_saa7134_new_mixer()
[all …]
/drivers/usb/gadget/function/
A Du_audio.c894 struct uac_rtd_params *prm = snd_kcontrol_chip(kcontrol); in u_audio_pitch_info()
914 struct uac_rtd_params *prm = snd_kcontrol_chip(kcontrol); in u_audio_pitch_get()
924 struct uac_rtd_params *prm = snd_kcontrol_chip(kcontrol); in u_audio_pitch_put()
962 static int u_audio_mute_get(struct snd_kcontrol *kcontrol, in u_audio_mute_get() argument
965 struct uac_rtd_params *prm = snd_kcontrol_chip(kcontrol); in u_audio_mute_get()
975 static int u_audio_mute_put(struct snd_kcontrol *kcontrol, in u_audio_mute_put() argument
978 struct uac_rtd_params *prm = snd_kcontrol_chip(kcontrol); in u_audio_mute_put()
1006 struct uac_rtd_params *prm = snd_kcontrol_chip(kcontrol); in u_audio_volume_tlv()
1024 struct uac_rtd_params *prm = snd_kcontrol_chip(kcontrol); in u_audio_volume_info()
1040 struct uac_rtd_params *prm = snd_kcontrol_chip(kcontrol); in u_audio_volume_get()
[all …]
A Df_midi2.c1484 static int f_midi2_operation_mode_info(struct snd_kcontrol *kcontrol, in f_midi2_operation_mode_info() argument
1494 static int f_midi2_operation_mode_get(struct snd_kcontrol *kcontrol, in f_midi2_operation_mode_get() argument
1497 struct f_midi2 *midi2 = snd_kcontrol_chip(kcontrol); in f_midi2_operation_mode_get()
/drivers/media/pci/solo6x10/
A Dsolo6x10-g723.c243 static int snd_solo_capture_volume_info(struct snd_kcontrol *kcontrol, in snd_solo_capture_volume_info() argument
255 static int snd_solo_capture_volume_get(struct snd_kcontrol *kcontrol, in snd_solo_capture_volume_get() argument
258 struct solo_dev *solo_dev = snd_kcontrol_chip(kcontrol); in snd_solo_capture_volume_get()
266 static int snd_solo_capture_volume_put(struct snd_kcontrol *kcontrol, in snd_solo_capture_volume_put() argument
269 struct solo_dev *solo_dev = snd_kcontrol_chip(kcontrol); in snd_solo_capture_volume_put()
/drivers/platform/x86/lenovo/
A Dthinkpad_acpi.c7322 static int volume_alsa_vol_info(struct snd_kcontrol *kcontrol, in volume_alsa_vol_info() argument
7332 static int volume_alsa_vol_get(struct snd_kcontrol *kcontrol, in volume_alsa_vol_get() argument
7346 static int volume_alsa_vol_put(struct snd_kcontrol *kcontrol, in volume_alsa_vol_put() argument
7356 static int volume_alsa_mute_get(struct snd_kcontrol *kcontrol, in volume_alsa_mute_get() argument
7371 static int volume_alsa_mute_put(struct snd_kcontrol *kcontrol, in volume_alsa_mute_put() argument

Completed in 52 milliseconds