/sound/core/ |
D | control.c | 133 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 …]
|
D | vmaster.c | 260 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/ |
D | sigmadsp.c | 141 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/ |
D | wm8776.c | 50 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/ |
D | dummy.c | 854 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/ |
D | au88x0_pcm.c | 130 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/ |
D | mixer_quirks.c | 109 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()
|
D | midi.c | 1109 ctl->vd[0].access |= in substream_open() 1126 ctl->vd[0].access &= in substream_open()
|
D | mixer.c | 1090 kcontrol->vd[0].access &= in mixer_ctl_feature_info() 1363 kctl->vd[0].access |= in build_feature_ctl()
|
/sound/pci/oxygen/ |
D | oxygen_pcm.c | 190 chip->controls[CONTROL_SPDIF_PCM]->vd[0].access &= in oxygen_open() 239 chip->controls[CONTROL_SPDIF_PCM]->vd[0].access |= in oxygen_close()
|
D | xonar_wm87x6.c | 890 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/ |
D | ymfpci_main.c | 415 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/ |
D | cs8427.c | 574 chip->playback.pcm_ctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_cs8427_iec958_active()
|
/sound/pci/ |
D | rme32.c | 880 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()
|
D | rme96.c | 1210 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()
|
D | via82xx.c | 1269 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()
|
D | cmipci.c | 1158 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/ |
D | trident_main.c | 1928 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/ |
D | hdmi_chmap.c | 841 kctl->vd[i].access |= SNDRV_CTL_ELEM_ACCESS_WRITE; in snd_hdac_add_chmap_ctls()
|
/sound/pci/emu10k1/ |
D | emupcm.c | 1055 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/ |
D | rme9652.c | 2297 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()
|
D | hdsp.c | 4469 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()
|
D | hdspm.c | 4654 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/ |
D | hda_codec.c | 1742 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/ |
D | ac97_codec.c | 1251 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_TLV_READ; in set_tlv_db_scale()
|