Lines Matching defs:pEnable
1585 VBVAENABLE *pEnable = (VBVAENABLE *)pCmd->u.cmd.pu8Cmd;
1587 uint32_t u32Offset = pEnable->u32Offset;
2989 static int vdmaVBVACtlEnableSubmitInternal(PVBOXVDMAHOST pVdma, VBVAENABLE *pEnable, bool fPaused, PFNVBVAEXHOSTCTL_COMPLETE pfnComplete, void *pvComplete)
2995 pHCtl->u.cmd.pu8Cmd = (uint8_t*)pEnable;
2996 pHCtl->u.cmd.cbCmd = sizeof (*pEnable);
3053 static int vdmaVBVACtlDisableSubmitInternal(PVBOXVDMAHOST pVdma, VBVAENABLE *pEnable, PFNVBVAEXHOSTCTL_COMPLETE pfnComplete, void *pvComplete)
3070 pHCtl->u.cmd.pu8Cmd = (uint8_t*)pEnable;
3071 pHCtl->u.cmd.cbCmd = sizeof (*pEnable);
3081 static int vdmaVBVACtlEnableDisableSubmitInternal(PVBOXVDMAHOST pVdma, VBVAENABLE *pEnable, PFNVBVAEXHOSTCTL_COMPLETE pfnComplete, void *pvComplete)
3083 bool fEnable = ((pEnable->u32Flags & (VBVA_F_ENABLE | VBVA_F_DISABLE)) == VBVA_F_ENABLE);
3085 return vdmaVBVACtlEnableSubmitInternal(pVdma, pEnable, false, pfnComplete, pvComplete);
3086 return vdmaVBVACtlDisableSubmitInternal(pVdma, pEnable, pfnComplete, pvComplete);
3089 static int vdmaVBVACtlEnableDisableSubmit(PVBOXVDMAHOST pVdma, VBOXCMDVBVA_CTL_ENABLE *pEnable)
3091 VBoxSHGSMICommandMarkAsynchCompletion(&pEnable->Hdr);
3092 int rc = vdmaVBVACtlEnableDisableSubmitInternal(pVdma, &pEnable->Enable, vboxCmdVBVACmdCtlGuestCompletion, pVdma);
3097 pEnable->Hdr.i32Result = rc;
3098 rc = VBoxSHGSMICommandComplete(pVdma->pHgsmi, &pEnable->Hdr);