Lines Matching refs:vbox

23  * Parts based on xf86-video-vbox
69 struct vbox_private *vbox;
76 vbox = crtc->dev->dev_private;
92 VBoxHGSMIProcessDisplayInfo(&vbox->Ctx, vbox_crtc->crtc_id,
103 struct vbox_private *vbox = crtc->dev->dev_private;
115 p = VBoxHGSMIBufferAlloc(&vbox->Ctx, sizeof(VBVAINFOVIEW), HGSMI_CH_VBVA,
122 pInfo->u32ViewSize = vbox->vram_size - vbox_crtc->offFB
124 pInfo->u32MaxScreenSize = vbox->vram_size - vbox_crtc->offFB;
125 VBoxHGSMIBufferSubmit(&vbox->Ctx, p);
126 VBoxHGSMIBufferFree(&vbox->Ctx, p);
142 struct vbox_private *vbox = crtc->dev->dev_private;
158 spin_lock_irqsave(&vbox->dev_lock, flags);
160 spin_unlock_irqrestore(&vbox->dev_lock, flags);
175 struct vbox_private *vbox = crtc->dev->dev_private;
200 if (&vbox->fbdev->afb == vbox_fb)
230 struct vbox_private *vbox = crtc->dev->dev_private;
234 LogFunc(("vboxvideo: %d: vbox=%p\n", __LINE__, vbox));
236 spin_lock_irqsave(&vbox->dev_lock, flags);
240 spin_unlock_irqrestore(&vbox->dev_lock, flags);
555 struct vbox_private *vbox = dev->dev_private;
578 ret = ttm_bo_kmap(&bo->bo, 0, bo->bo.num_pages, &vbox->cache_kmap);
582 vbox->cursor_cache = obj;
583 vbox->cursor_cache_gpu_addr = gpu_addr;
584 DRM_DEBUG_KMS("pinned cursor cache at %llx\n", vbox->cursor_cache_gpu_addr);
592 struct vbox_private *vbox = dev->dev_private;
593 ttm_bo_kunmap(&vbox->cache_kmap);
594 drm_gem_object_unreference_unlocked(vbox->cursor_cache);
623 struct vbox_private *vbox = pDev->dev_private;
628 spin_lock_irqsave(&vbox->dev_lock, flags);
631 spin_unlock_irqrestore(&vbox->dev_lock, flags);
656 struct vbox_private *vbox = crtc->dev->dev_private;
669 VBoxHGSMIUpdatePointerShape(&vbox->Ctx, 0, 0, 0, 0, 0, NULL, 0);
700 rc = VBoxHGSMIUpdatePointerShape(&vbox->Ctx, fFlags,