Home
last modified time | relevance | path

Searched refs:vd (Results 1 – 25 of 25) sorted by relevance

/sound/core/
Dcontrol.c133 if (control->vd[idx].owner == ctl) in snd_ctl_release()
134 control->vd[idx].owner = NULL; in snd_ctl_release()
226 (*kctl)->vd[idx].access = access; in snd_ctl_new()
227 (*kctl)->vd[idx].owner = file; in snd_ctl_new()
557 if (!(kctl->vd[0].access & SNDRV_CTL_ELEM_ACCESS_USER)) { in snd_ctl_remove_user_ctl()
562 if (kctl->vd[idx].owner != NULL && kctl->vd[idx].owner != file) { in snd_ctl_remove_user_ctl()
591 struct snd_kcontrol_volatile *vd; in snd_ctl_activate_id() local
602 vd = &kctl->vd[index_offset]; in snd_ctl_activate_id()
605 if (!(vd->access & SNDRV_CTL_ELEM_ACCESS_INACTIVE)) in snd_ctl_activate_id()
607 vd->access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_ctl_activate_id()
[all …]
Dvmaster.c260 slave->count * sizeof(*slave->vd), GFP_KERNEL); in _snd_ctl_add_slave()
265 memcpy(srec->slave.vd, slave->vd, slave->count * sizeof(*slave->vd)); in _snd_ctl_add_slave()
273 if (slave->vd[0].access & SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK) in _snd_ctl_add_slave()
366 memcpy(sctl->vd, slave->slave.vd, in master_free()
367 sctl->count * sizeof(*sctl->vd)); in master_free()
425 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_TLV_READ; in snd_ctl_make_virtual_master()
/sound/soc/codecs/
Dsigmadsp.c141 if (!(kcontrol->vd[0].access & SNDRV_CTL_ELEM_ACCESS_INACTIVE)) in sigmadsp_ctrl_put()
662 struct snd_kcontrol_volatile *vd; in sigmadsp_activate_ctrl() local
676 vd = &ctrl->kcontrol->vd[0]; in sigmadsp_activate_ctrl()
677 if (active == (bool)(vd->access & SNDRV_CTL_ELEM_ACCESS_INACTIVE)) { in sigmadsp_activate_ctrl()
678 vd->access ^= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in sigmadsp_activate_ctrl()
/sound/pci/ice1712/
Dwm8776.c50 struct snd_kcontrol_volatile *vd; in snd_wm8776_activate_ctl() local
61 vd = &kctl->vd[index_offset]; in snd_wm8776_activate_ctl()
63 vd->access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_wm8776_activate_ctl()
65 vd->access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_wm8776_activate_ctl()
/sound/drivers/
Ddummy.c854 dummy->cd_volume_ctl->vd[0].access &= in snd_dummy_iobox_put()
856 dummy->cd_switch_ctl->vd[0].access &= in snd_dummy_iobox_put()
859 dummy->cd_volume_ctl->vd[0].access |= in snd_dummy_iobox_put()
861 dummy->cd_switch_ctl->vd[0].access |= in snd_dummy_iobox_put()
/sound/pci/au88x0/
Dau88x0_pcm.c130 kctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in vortex_notify_pcm_vol_change()
132 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in vortex_notify_pcm_vol_change()
/sound/usb/
Dmixer_quirks.c109 kctl->vd[0].access |= in snd_create_std_mono_ctl_offset()
1855 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_TLV_READ; in snd_dragonfly_quirk_db_scale()
1856 kctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK; in snd_dragonfly_quirk_db_scale()
1863 kctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK; in snd_dragonfly_quirk_db_scale()
Dmidi.c1109 ctl->vd[0].access |= in substream_open()
1126 ctl->vd[0].access &= in substream_open()
Dmixer.c1090 kcontrol->vd[0].access &= in mixer_ctl_feature_info()
1363 kctl->vd[0].access |= in build_feature_ctl()
/sound/pci/oxygen/
Doxygen_pcm.c190 chip->controls[CONTROL_SPDIF_PCM]->vd[0].access &= in oxygen_open()
239 chip->controls[CONTROL_SPDIF_PCM]->vd[0].access |= in oxygen_close()
Dxonar_wm87x6.c890 if ((ctl->vd[0].access & SNDRV_CTL_ELEM_ACCESS_INACTIVE) != access) { in activate_control()
891 ctl->vd[0].access ^= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in activate_control()
/sound/pci/ymfpci/
Dymfpci_main.c415 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_ymfpci_playback_trigger()
694 kctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_ymfpci_playback_prepare()
995 chip->spdif_pcm_ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_ymfpci_playback_spdif_open()
1094 chip->spdif_pcm_ctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_ymfpci_playback_spdif_close()
/sound/i2c/
Dcs8427.c574 chip->playback.pcm_ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_cs8427_iec958_active()
/sound/pci/
Drme32.c880 rme32->spdif_ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_rme32_playback_spdif_open()
1004 rme32->spdif_ctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_rme32_playback_close()
Drme96.c1210 rme96->spdif_ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_rme96_playback_spdif_open()
1330 rme96->spdif_ctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_rme96_playback_close()
Dvia82xx.c1269 chip->dxs_controls[stream]->vd[0].access &= in snd_via8233_playback_open()
1359 chip->dxs_controls[stream]->vd[0].access |= in snd_via8233_playback_close()
Dcmipci.c1158 ctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in save_mixer_state()
1187 ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in restore_mixer_state()
/sound/pci/trident/
Dtrident_main.c1928 trident->spdif_pcm_ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_trident_spdif_open()
1967 trident->spdif_pcm_ctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_trident_spdif_close()
2901 kctl->vd[num].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_trident_notify_pcm_change1()
2903 kctl->vd[num].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_trident_notify_pcm_change1()
/sound/hda/
Dhdmi_chmap.c841 kctl->vd[i].access |= SNDRV_CTL_ELEM_ACCESS_WRITE; in snd_hdac_add_chmap_ctls()
/sound/pci/emu10k1/
Demupcm.c1055 kctl->vd[idx].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_emu10k1_pcm_mixer_notify1()
1057 kctl->vd[idx].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_emu10k1_pcm_mixer_notify1()
/sound/pci/rme9652/
Drme9652.c2297 rme9652->spdif_ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_rme9652_playback_open()
2314 rme9652->spdif_ctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_rme9652_playback_release()
Dhdsp.c4469 hdsp->spdif_ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_hdsp_playback_open()
4488 hdsp->spdif_ctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_hdsp_playback_release()
Dhdspm.c4654 hdspm->playback_mixer_ctls[i]->vd[0].access = in hdspm_update_simple_mixer_controls()
4659 hdspm->playback_mixer_ctls[i]->vd[0].access = in hdspm_update_simple_mixer_controls()
/sound/pci/hda/
Dhda_codec.c1742 if (kctl->vd[0].access & SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK) { in get_kctl_0dB_offset()
1749 } else if (kctl->vd[0].access & SNDRV_CTL_ELEM_ACCESS_TLV_READ) in get_kctl_0dB_offset()
/sound/pci/ac97/
Dac97_codec.c1251 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_TLV_READ; in set_tlv_db_scale()