Lines Matching defs:pUrb
893 static DECLCALLBACK(int) usbProxyUsbIpUrbQueue(PUSBPROXYDEV pProxyDev, PVUSBURB pUrb)
895 LogFlowFunc(("pUrb=%p\n", pUrb));
910 ReqSubmit.Hdr.u32Endpoint = pUrb->EndPt;
911 ReqSubmit.Hdr.u32Direction = pUrb->enmDir == VUSBDIRECTION_IN ? USBIP_DIR_IN : USBIP_DIR_OUT;
913 if (pUrb->enmDir == VUSBDIRECTION_IN && pUrb->fShortNotOk)
916 ReqSubmit.u32TransferBufferLength = pUrb->cbData;
921 switch (pUrb->enmType)
924 memcpy(&ReqSubmit.Setup, &pUrb->abData, sizeof(ReqSubmit.Setup));
929 ReqSubmit.u32NumIsocPkts = pUrb->cIsocPkts;
931 for (unsigned i = 0; i < pUrb->cIsocPkts; i++)
933 pUrbLnx->KUrb.iso_frame_desc[i].length = pUrb->aIsocPkts[i].cb;
956 aSegReq[1].pvSeg = &pUrb->abData[0];
957 aSegReq[1].cbSeg = pUrb->cbData;
964 pUrb->Dev.pvPrivate = pUrbUsbIp;
965 pUrbUsbIp->pVUsbUrb = pUrb;
980 PVUSBURB pUrb = NULL;
1012 return pUrb;
1015 static DECLCALLBACK(int) usbProxyUsbIpUrbCancel(PUSBPROXYDEV pProxyDev, PVUSBURB pUrb)
1017 LogFlowFunc(("pUrb=%p\n", pUrb));
1020 PUSBPROXYURBUSBIP pUrbUsbIp = (PUSBPROXYURBUSBIP)pUrb->Dev.pvPrivate;
1028 ReqUnlink.Hdr.u32Endpoint = pUrb->EndPt;