/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835-ctl.c | 41 static int snd_bcm2835_ctl_info(struct snd_kcontrol *kcontrol, in snd_bcm2835_ctl_info() argument 44 if (kcontrol->private_value == PCM_PLAYBACK_VOLUME) { in snd_bcm2835_ctl_info() 49 } else if (kcontrol->private_value == PCM_PLAYBACK_MUTE) { in snd_bcm2835_ctl_info() 54 } else if (kcontrol->private_value == PCM_PLAYBACK_DEVICE) { in snd_bcm2835_ctl_info() 86 static int snd_bcm2835_ctl_get(struct snd_kcontrol *kcontrol, in snd_bcm2835_ctl_get() argument 89 struct bcm2835_chip *chip = snd_kcontrol_chip(kcontrol); in snd_bcm2835_ctl_get() 96 if (kcontrol->private_value == PCM_PLAYBACK_VOLUME) in snd_bcm2835_ctl_get() 98 else if (kcontrol->private_value == PCM_PLAYBACK_MUTE) in snd_bcm2835_ctl_get() 100 else if (kcontrol->private_value == PCM_PLAYBACK_DEVICE) in snd_bcm2835_ctl_get() 107 static int snd_bcm2835_ctl_put(struct snd_kcontrol *kcontrol, in snd_bcm2835_ctl_put() argument [all …]
|
/drivers/staging/greybus/ |
D | audio_topology.c | 161 static int gbcodec_mixer_ctl_info(struct snd_kcontrol *kcontrol, in gbcodec_mixer_ctl_info() argument 169 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); in gbcodec_mixer_ctl_info() 172 dev_dbg(codec->dev, "Entered %s:%s\n", __func__, kcontrol->id.name); in gbcodec_mixer_ctl_info() 173 data = (struct gbaudio_ctl_pvt *)kcontrol->private_value; in gbcodec_mixer_ctl_info() 197 module = find_gb_module(gbcodec, kcontrol->id.name); in gbcodec_mixer_ctl_info() 206 info->type, kcontrol->id.name); in gbcodec_mixer_ctl_info() 212 static int gbcodec_mixer_ctl_get(struct snd_kcontrol *kcontrol, in gbcodec_mixer_ctl_get() argument 220 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); in gbcodec_mixer_ctl_get() 224 dev_dbg(codec->dev, "Entered %s:%s\n", __func__, kcontrol->id.name); in gbcodec_mixer_ctl_get() 225 module = find_gb_module(gb, kcontrol->id.name); in gbcodec_mixer_ctl_get() [all …]
|
/drivers/media/pci/cx88/ |
D | cx88-alsa.c | 628 static int snd_cx88_volume_info(struct snd_kcontrol *kcontrol, in snd_cx88_volume_info() argument 639 static int snd_cx88_volume_get(struct snd_kcontrol *kcontrol, in snd_cx88_volume_get() argument 642 struct cx88_audio_dev *chip = snd_kcontrol_chip(kcontrol); in snd_cx88_volume_get() 654 static void snd_cx88_wm8775_volume_put(struct snd_kcontrol *kcontrol, in snd_cx88_wm8775_volume_put() argument 657 struct cx88_audio_dev *chip = snd_kcontrol_chip(kcontrol); in snd_cx88_wm8775_volume_put() 676 static int snd_cx88_volume_put(struct snd_kcontrol *kcontrol, in snd_cx88_volume_put() argument 679 struct cx88_audio_dev *chip = snd_kcontrol_chip(kcontrol); in snd_cx88_volume_put() 686 snd_cx88_wm8775_volume_put(kcontrol, value); in snd_cx88_volume_put() 726 static int snd_cx88_switch_get(struct snd_kcontrol *kcontrol, in snd_cx88_switch_get() argument 729 struct cx88_audio_dev *chip = snd_kcontrol_chip(kcontrol); in snd_cx88_switch_get() [all …]
|
/drivers/media/pci/saa7134/ |
D | saa7134-alsa.c | 387 static int snd_saa7134_capsrc_set(struct snd_kcontrol *kcontrol, in snd_saa7134_capsrc_set() argument 390 snd_card_saa7134_t *chip = snd_kcontrol_chip(kcontrol); in snd_saa7134_capsrc_set() 391 int change = 0, addr = kcontrol->private_value; in snd_saa7134_capsrc_set() 915 static int snd_saa7134_volume_info(struct snd_kcontrol * kcontrol, in snd_saa7134_volume_info() argument 925 static int snd_saa7134_volume_get(struct snd_kcontrol * kcontrol, in snd_saa7134_volume_get() argument 928 snd_card_saa7134_t *chip = snd_kcontrol_chip(kcontrol); in snd_saa7134_volume_get() 929 int addr = kcontrol->private_value; in snd_saa7134_volume_get() 936 static int snd_saa7134_volume_put(struct snd_kcontrol * kcontrol, in snd_saa7134_volume_put() argument 939 snd_card_saa7134_t *chip = snd_kcontrol_chip(kcontrol); in snd_saa7134_volume_put() 942 int change, addr = kcontrol->private_value; in snd_saa7134_volume_put() [all …]
|
/drivers/media/usb/em28xx/ |
D | em28xx-audio.c | 482 static int em28xx_vol_info(struct snd_kcontrol *kcontrol, in em28xx_vol_info() argument 485 struct em28xx *dev = snd_kcontrol_chip(kcontrol); in em28xx_vol_info() 498 static int em28xx_vol_put(struct snd_kcontrol *kcontrol, in em28xx_vol_put() argument 501 struct em28xx *dev = snd_kcontrol_chip(kcontrol); in em28xx_vol_put() 518 rc = em28xx_read_ac97(dev, kcontrol->private_value); in em28xx_vol_put() 524 rc = em28xx_write_ac97(dev, kcontrol->private_value, val); in em28xx_vol_put() 531 val, (int)kcontrol->private_value); in em28xx_vol_put() 538 static int em28xx_vol_get(struct snd_kcontrol *kcontrol, in em28xx_vol_get() argument 541 struct em28xx *dev = snd_kcontrol_chip(kcontrol); in em28xx_vol_get() 556 val = em28xx_read_ac97(dev, kcontrol->private_value); in em28xx_vol_get() [all …]
|
/drivers/media/pci/solo6x10/ |
D | solo6x10-g723.c | 283 static int snd_solo_capture_volume_info(struct snd_kcontrol *kcontrol, in snd_solo_capture_volume_info() argument 295 static int snd_solo_capture_volume_get(struct snd_kcontrol *kcontrol, in snd_solo_capture_volume_get() argument 298 struct solo_dev *solo_dev = snd_kcontrol_chip(kcontrol); in snd_solo_capture_volume_get() 306 static int snd_solo_capture_volume_put(struct snd_kcontrol *kcontrol, in snd_solo_capture_volume_put() argument 309 struct solo_dev *solo_dev = snd_kcontrol_chip(kcontrol); in snd_solo_capture_volume_put()
|
/drivers/media/pci/cx18/ |
D | cx18-alsa-mixer.c | 67 static int snd_cx18_mixer_tv_vol_info(struct snd_kcontrol *kcontrol, in snd_cx18_mixer_tv_vol_info() argument
|
/drivers/media/pci/ivtv/ |
D | ivtv-alsa-mixer.c | 62 static int snd_ivtv_mixer_tv_vol_info(struct snd_kcontrol *kcontrol, in snd_ivtv_mixer_tv_vol_info() argument
|
/drivers/gpu/drm/vc4/ |
D | vc4_hdmi.c | 950 static int vc4_hdmi_audio_eld_ctl_info(struct snd_kcontrol *kcontrol, in vc4_hdmi_audio_eld_ctl_info() argument 953 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in vc4_hdmi_audio_eld_ctl_info() 962 static int vc4_hdmi_audio_eld_ctl_get(struct snd_kcontrol *kcontrol, in vc4_hdmi_audio_eld_ctl_get() argument 965 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in vc4_hdmi_audio_eld_ctl_get()
|
/drivers/platform/x86/ |
D | thinkpad_acpi.c | 7386 static int volume_alsa_vol_info(struct snd_kcontrol *kcontrol, in volume_alsa_vol_info() argument 7396 static int volume_alsa_vol_get(struct snd_kcontrol *kcontrol, in volume_alsa_vol_get() argument 7410 static int volume_alsa_vol_put(struct snd_kcontrol *kcontrol, in volume_alsa_vol_put() argument 7420 static int volume_alsa_mute_get(struct snd_kcontrol *kcontrol, in volume_alsa_mute_get() argument 7435 static int volume_alsa_mute_put(struct snd_kcontrol *kcontrol, in volume_alsa_mute_put() argument
|