| /drivers/staging/vc04_services/bcm2835-audio/ |
| A D | bcm2835-ctl.c | 33 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 D | audio_topology.c | 203 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 D | em28xx-audio.c | 396 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 D | cx88-alsa.c | 632 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 D | saa7134-alsa.c | 381 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 D | u_audio.c | 894 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 D | f_midi2.c | 1484 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 D | solo6x10-g723.c | 243 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 D | thinkpad_acpi.c | 7322 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
|