Lines Matching refs:vd
129 if (control->vd[idx].owner == ctl)
130 control->vd[idx].owner = NULL;
210 kctl->vd[idx].access = access;
450 if (!(kctl->vd[0].access & SNDRV_CTL_ELEM_ACCESS_USER)) {
455 if (kctl->vd[idx].owner != NULL && kctl->vd[idx].owner != file) {
662 struct snd_kcontrol_volatile *vd;
679 vd = &kctl->vd[index_offset];
681 info->access = vd->access;
682 if (vd->owner) {
684 if (vd->owner == ctl)
686 info->owner = pid_vnr(vd->owner->pid);
718 struct snd_kcontrol_volatile *vd;
728 vd = &kctl->vd[index_offset];
729 if ((vd->access & SNDRV_CTL_ELEM_ACCESS_READ) &&
766 struct snd_kcontrol_volatile *vd;
776 vd = &kctl->vd[index_offset];
777 if (!(vd->access & SNDRV_CTL_ELEM_ACCESS_WRITE) ||
779 (file && vd->owner && vd->owner != file)) {
826 struct snd_kcontrol_volatile *vd;
836 vd = &kctl->vd[snd_ctl_get_ioff(kctl, &id)];
837 if (vd->owner != NULL)
840 vd->owner = file;
854 struct snd_kcontrol_volatile *vd;
864 vd = &kctl->vd[snd_ctl_get_ioff(kctl, &id)];
865 if (vd->owner == NULL)
867 else if (vd->owner != file)
870 vd->owner = NULL;
1047 _kctl->vd[idx].owner = file;
1106 struct snd_kcontrol_volatile *vd;
1124 vd = &kctl->vd[tlv.numid - kctl->id.numid];
1125 if ((op_flag == 0 && (vd->access & SNDRV_CTL_ELEM_ACCESS_TLV_READ) == 0) ||
1126 (op_flag > 0 && (vd->access & SNDRV_CTL_ELEM_ACCESS_TLV_WRITE) == 0) ||
1127 (op_flag < 0 && (vd->access & SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND) == 0)) {
1131 if (vd->access & SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK) {
1132 if (vd->owner != NULL && vd->owner != file) {