/vbox/src/VBox/HostDrivers/VBoxUSB/win/cmn/ |
H A D | VBoxUsbTool.h | 47 VBOXUSBTOOL_DECL(PURB) VBoxUsbToolUrbReinit(PURB pUrb, USHORT cbSize, USHORT u16Function); 48 VBOXUSBTOOL_DECL(VOID) VBoxUsbToolUrbFree(PURB pUrb); variable 49 VBOXUSBTOOL_DECL(NTSTATUS) VBoxUsbToolUrbPost(PDEVICE_OBJECT pDevObj, PURB pUrb, ULONG dwTimeoutMs);
|
H A D | VBoxUsbTool.cpp | 52 PURB pUrb = (PURB)vboxUsbToolMemAlloc(cbSize); local 53 Assert(pUrb); 54 if (!pUrb) 57 pUrb->UrbHeader.Length = cbSize; 58 pUrb->UrbHeader.Function = u16Function; 59 return pUrb; 64 PURB pUrb = (PURB)vboxUsbToolMemAllocZ(cbSize); local 65 Assert(pUrb); 66 if (!pUrb) 69 pUrb 74 VBoxUsbToolUrbReinit(PURB pUrb, USHORT cbSize, USHORT u16Function) argument 84 VBoxUsbToolUrbFree(PURB pUrb) argument 89 VBoxUsbToolUrbPost(PDEVICE_OBJECT pDevObj, PURB pUrb, ULONG dwTimeoutMs) argument 100 PURB pUrb = VBoxUsbToolUrbAllocZ(URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE, cbUrb); local 259 PURB pUrb = VBoxUsbToolUrbAlloc(u16Function, sizeof (struct _URB_PIPE_REQUEST)); local 308 PURB pUrb = VBoxUsbToolUrbAlloc(URB_FUNCTION_SELECT_CONFIGURATION, cbUrb); local [all...] |
/vbox/src/VBox/Devices/Input/testcase/ |
H A D | tstUsbMouse.cpp | 179 PVUSBURB pUrb = g_UsbHidMou.pfnUrbReap(pThis, 0); local 180 if (pUrb) 182 if (pUrb == &Urb) 228 PVUSBURB pUrb = g_UsbHidMou.pfnUrbReap(pThis, 0); local 229 if (pUrb) 231 if (pUrb == &Urb) 279 PVUSBURB pUrb = g_UsbHidMou.pfnUrbReap(pThis, 0); 280 if (pUrb) 282 if (pUrb == &Urb)
|
/vbox/src/VBox/Devices/USB/vrdp/ |
H A D | USBProxyDevice-vrdp.cpp | 191 static DECLCALLBACK(int) usbProxyVrdpUrbQueue(PUSBPROXYDEV pProxyDev, PVUSBURB pUrb) argument 193 LogFlow(("usbProxyVrdpUrbQueue: pUrb=%p\n", pUrb)); 196 if (pUrb->enmType == VUSBXFERTYPE_ISOC) 203 int rc = pDevVrdp->pCallback->pfnQueueURB (pDevVrdp->pDevice, pUrb->enmType, pUrb->EndPt, pUrb->enmDir, pUrb->cbData, 204 pUrb->abData, pUrb, (PREMOTEUSBQUR 221 PVUSBURB pUrb = NULL; local 245 usbProxyVrdpUrbCancel(PUSBPROXYDEV pProxyDev, PVUSBURB pUrb) argument [all...] |
/vbox/src/VBox/Devices/USB/ |
H A D | VUSBReadAhead.cpp | 78 PVUSBURB pUrb; local 112 pUrb = vusbRhNewUrb(pRh, pDev->u8Address, cbTotal, 1); 113 if (!pUrb) 117 pUrb->enmType = VUSBXFERTYPE_ISOC; 118 pUrb->EndPt = uEndPt; 119 pUrb->enmDir = VUSBDIRECTION_IN; 120 pUrb->fShortNotOk = false; 121 pUrb->enmStatus = VUSBSTATUS_OK; 122 pUrb->Hci.EdAddr = 0; 123 pUrb 176 PVUSBURB pUrb; local 280 vusbUrbCompletionReadAhead(PVUSBURB pUrb) argument 318 vusbUrbSubmitBufferedRead(PVUSBURB pUrb, VUSBREADAHEAD hReadAhead) argument [all...] |
H A D | DrvVUSBRootHub.cpp | 331 * @param pUrb The URB to free. 333 static DECLCALLBACK(void) vusbRhFreeUrb(PVUSBURB pUrb) argument 338 vusbUrbAssert(pUrb); 339 PVUSBROOTHUB pRh = (PVUSBROOTHUB)pUrb->VUsb.pvFreeCtx; 345 if (pUrb->pszDesc) 347 RTStrFree(pUrb->pszDesc); 348 pUrb->pszDesc = NULL; 356 pUrb->enmState = VUSBURBSTATE_FREE; 357 pUrb->VUsb.ppPrev = NULL; 358 pUrb 380 PVUSBURB pUrb = pRh->pFreeUrbs; local 465 vusbRhSubmitUrb(PVUSBIROOTHUBCONNECTOR pInterface, PVUSBURB pUrb, PPDMLED pLed) argument 590 vusbRhCancelUrbsEp(PVUSBIROOTHUBCONNECTOR pInterface, PVUSBURB pUrb) argument 624 PVUSBURB pUrb = pDev->pAsyncUrbHead; local 666 PVUSBURB pUrb = pDev->pAsyncUrbHead; local 936 PVUSBURB pUrb = pRh->pFreeUrbs; local [all...] |
H A D | USBProxyDevice.cpp | 660 static DECLCALLBACK(int) usbProxyDevUrbQueue(PPDMUSBINS pUsbIns, PVUSBURB pUrb) argument 664 rc = pProxyDev->pOps->pfnUrbQueue(pProxyDev, pUrb); 678 static DECLCALLBACK(int) usbProxyDevUrbCancel(PPDMUSBINS pUsbIns, PVUSBURB pUrb) argument 681 return pProxyDev->pOps->pfnUrbCancel(pProxyDev, pUrb); 693 PVUSBURB pUrb = pProxyDev->pOps->pfnUrbReap(pProxyDev, cMillies); local 694 if ( pUrb 695 && pUrb->enmState == VUSBURBSTATE_CANCELLED 696 && pUrb->enmStatus == VUSBSTATUS_OK) 697 pUrb->enmStatus = VUSBSTATUS_DNR; 698 return pUrb; [all...] |
H A D | VUSBDevice.cpp | 1050 PVUSBURB pUrb = pDev->pAsyncUrbHead; local 1051 while (pUrb) 1053 PVUSBURB pNext = pUrb->VUsb.pNext; 1055 Assert(pUrb->VUsb.pDev == pDev); 1057 LogFlow(("%s: vusbDevCancelAllUrbs: CANCELING URB\n", pUrb->pszDesc)); 1058 int rc = vusbUrbCancelWorker(pUrb, CANCELMODE_FAIL); 1060 pUrb = pNext; 1070 pUrb = pDev->pAsyncUrbHead; 1071 while (pUrb) 1073 PVUSBURB pNext = pUrb [all...] |
H A D | VUSBInternal.h | 445 int vusbUrbSubmit(PVUSBURB pUrb); 446 void vusbUrbTrace(PVUSBURB pUrb, const char *pszMsg, bool fComplete); 449 void vusbUrbCancel(PVUSBURB pUrb, CANCELMODE mode); 450 void vusbUrbCancelAsync(PVUSBURB pUrb, CANCELMODE mode); 451 void vusbUrbRipe(PVUSBURB pUrb); 452 void vusbUrbCompletionRh(PVUSBURB pUrb); 453 int vusbUrbSubmitHardError(PVUSBURB pUrb); 454 int vusbUrbErrorRh(PVUSBURB pUrb); 461 DECLHIDDEN(int) vusbUrbCancelWorker(PVUSBURB pUrb, CANCELMODE enmMode); 463 void vusbUrbCompletionReadAhead(PVUSBURB pUrb); 471 vusbUrbUnlink(PVUSBURB pUrb) argument [all...] |
H A D | VUSBSniffer.cpp | 585 * @param pUrb The URB triggering the event. 588 DECLHIDDEN(int) VUSBSnifferRecordEvent(VUSBSNIFFER hSniffer, PVUSBURB pUrb, VUSBSNIFFEREVENT enmEvent) argument 613 UsbHdr.u64Id = (uint64_t)pUrb; /** @todo: check whether the pointer is a good ID. */ 618 cbUrbLength = pUrb->cbData; 622 cbUrbLength = pUrb->cbData; 632 pbData = &pUrb->abData[0]; 634 switch (pUrb->enmType) 641 cIsocPkts = pUrb->cIsocPkts; 643 if ( pUrb->aIsocPkts[i].enmStatus != VUSBSTATUS_OK 644 && pUrb [all...] |
H A D | VUSBUrb.cpp | 54 static PVUSBCTRLEXTRA vusbMsgAllocExtraData(PVUSBURB pUrb); 163 * Note that pUrb->pUsbIns, pUrb->VUsb.pDev and pUrb->VUsb.pDev->pUsbIns can all be NULL. 165 void vusbUrbTrace(PVUSBURB pUrb, const char *pszMsg, bool fComplete) argument 167 PVUSBDEV pDev = pUrb->VUsb.pDev; /* Can be NULL when called from usbProxyConstruct and friends. */ 168 PVUSBPIPE pPipe = &pDev->aPipes[pUrb->EndPt]; 169 const uint8_t *pbData = pUrb->abData; 170 uint32_t cbData = pUrb->cbData; 179 pUrb 839 vusbMsgSetupCompletion(PVUSBURB pUrb) argument 858 vusbMsgDataCompletion(PVUSBURB pUrb) argument 877 vusbMsgStatusCompletion(PVUSBURB pUrb) argument 918 vusbCtrlCompletion(PVUSBURB pUrb) argument 945 vusbMsgCompletion(PVUSBURB pUrb) argument 993 vusbUrbErrorRh(PVUSBURB pUrb) argument 1007 vusbUrbCompletionRh(PVUSBURB pUrb) argument 1158 vusbUrbIsRequestSafe(PCVUSBSETUP pSetup, PVUSBURB pUrb) argument 1209 vusbUrbQueueAsyncRh(PVUSBURB pUrb) argument 1252 vusbMsgSubmitSynchronously(PVUSBURB pUrb, bool fSafeRequest) argument 1333 vusbMsgFreeUrb(PVUSBURB pUrb) argument 1378 vusbMsgAllocExtraData(PVUSBURB pUrb) argument 1510 vusbMsgDoTransfer(PVUSBURB pUrb, PVUSBSETUP pSetup, PVUSBCTRLEXTRA pExtra, PVUSBPIPE pPipe, PVUSBDEV pDev) argument 1562 vusbMsgStall(PVUSBURB pUrb) argument 1590 vusbUrbSubmitCtrl(PVUSBURB pUrb) argument 1795 vusbUrbSubmitInterrupt(PVUSBURB pUrb) argument 1808 vusbUrbSubmitBulk(PVUSBURB pUrb) argument 1821 vusbUrbSubmitIsochronous(PVUSBURB pUrb) argument 1834 vusbUrbSubmitHardError(PVUSBURB pUrb) argument 1847 vusbUrbSubmit(PVUSBURB pUrb) argument 1993 PVUSBURB pUrb = pHead; local 2067 vusbUrbCompletion(PVUSBURB pUrb) argument 2090 vusbUrbCancelWorker(PVUSBURB pUrb, CANCELMODE enmMode) argument 2170 vusbUrbCancel(PVUSBURB pUrb, CANCELMODE mode) argument 2180 vusbUrbCancelAsync(PVUSBURB pUrb, CANCELMODE mode) argument 2196 vusbUrbRipe(PVUSBURB pUrb) argument [all...] |
H A D | DevOHCI.cpp | 320 R3PTRTYPE(PVUSBURB) pUrb; member in struct:OHCI::ohci_td_in_flight 806 static DECLCALLBACK(void) ohciRhXferCompletion(PVUSBIROOTHUBPORT pInterface, PVUSBURB pUrb); 807 static DECLCALLBACK(bool) ohciRhXferError(PVUSBIROOTHUBPORT pInterface, PVUSBURB pUrb); 1582 * @param pUrb The URB. 1584 static void ohci_in_flight_add(POHCI pThis, uint32_t GCPhysTD, PVUSBURB pUrb) argument 1590 pUrb->Hci.u32FrameNo = pThis->HcFmNumber; 1593 pThis->aInFlight[i].pUrb = pUrb; 1605 * @param pUrb The URB. 1607 static void ohci_in_flight_add_urb(POHCI pThis, PVUSBURB pUrb) argument 1718 ohci_in_flight_remove_urb(POHCI pThis, PVUSBURB pUrb) argument 1950 ohciUnlinkTds(POHCI pThis, PVUSBURB pUrb, POHCIED pEd) argument 2066 ohciHasUrbBeenCanceled(POHCI pThis, PVUSBURB pUrb, PCOHCIED pEd) argument 2249 ohciRhXferCompleteIsochronousURB(POHCI pThis, PVUSBURB pUrb, POHCIED pEd, int cFmAge) argument 2402 ohciRhXferCompleteGeneralURB(POHCI pThis, PVUSBURB pUrb, POHCIED pEd, int cFmAge) argument 2540 ohciRhXferCompletion(PVUSBIROOTHUBPORT pInterface, PVUSBURB pUrb) argument 2624 ohciRhXferError(PVUSBIROOTHUBPORT pInterface, PVUSBURB pUrb) argument 2725 PVUSBURB pUrb = VUSBIRhNewUrb(pThis->RootHub.pIRhConn, pEd->hwinfo & ED_HWINFO_FUNCTION, Buf.cbTotal, 1); local 2880 PVUSBURB pUrb = VUSBIRhNewUrb(pThis->RootHub.pIRhConn, pEd->hwinfo & ED_HWINFO_FUNCTION, cbTotal, cTds); local 2965 ohciServiceIsochronousTdUnlink(POHCI pThis, POHCIITD pITd, uint32_t ITdAddr, uint32_t ITdAddrPrev, PVUSBURB pUrb, POHCIED pEd, uint32_t EdAddr) argument 3091 PVUSBURB pUrb = VUSBIRhNewUrb(pThis->RootHub.pIRhConn, pEd->hwinfo & ED_HWINFO_FUNCTION, cbTotal, 1); local 3393 PVUSBURB pUrb = ohciTdInFlightUrb(pThis, TdAddr); local 3442 PVUSBURB pUrb = ohciTdInFlightUrb(pThis, TdAddr); local 3586 PVUSBURB pUrb = ohciTdInFlightUrb(pThis, TdAddr); local 3664 PVUSBURB pUrb; local [all...] |
/vbox/src/VBox/Devices/USB/win/ |
H A D | USBProxyDevice-win.cpp | 397 static DECLCALLBACK(int) usbProxyWinUrbQueue(PUSBPROXYDEV pProxyDev, PVUSBURB pUrb) argument 410 switch (pUrb->enmType) 414 pQUrbWin->urbwin.numIsoPkts = pUrb->cIsocPkts; 415 for (unsigned i = 0; i < pUrb->cIsocPkts; ++i) 417 pQUrbWin->urbwin.aIsoPkts[i].cb = pUrb->aIsocPkts[i].cb; 418 pQUrbWin->urbwin.aIsoPkts[i].off = pUrb->aIsocPkts[i].off; 426 AssertMsgFailed(("Invalid type %d\n", pUrb->enmType)); 430 switch (pUrb->enmDir) 443 AssertMsgFailed(("Invalid direction %d\n", pUrb->enmDir)); 447 Log(("usbproxy: Queue URB %p ep=%d cbData=%d abData=%p cIsocPkts=%d\n", pUrb, pUr 621 PVUSBURB pUrb = NULL; local 703 usbProxyWinUrbCancel(PUSBPROXYDEV pProxyDev, PVUSBURB pUrb) argument [all...] |
/vbox/src/VBox/Devices/USB/os2/ |
H A D | USBProxyDevice-os2.cpp | 57 PVUSBURB pUrb; member in struct:USBPROXYURBOS2 298 Log3(("%s: usbProxyOs2AsyncThread: pPickup\n", pUrbOs2->pUrb->pszDesc)); 305 PVUSBURB pUrb = pUrbOs2->pUrb; local 306 uint8_t *pbData = &pUrb->abData[0]; 307 ULONG cbData = pUrb->cbData; 327 switch (pUrb->enmType) 332 Log2(("%s: usbProxyOs2AsyncThread: CtlrMsg\n", pUrb->pszDesc)); 348 if (pUrb->enmDir == VUSBDIRECTION_IN) 350 Log2(("%s: usbProxyOs2AsyncThread: BulkRead %d\n", pUrb 705 usbProxyOs2UrbQueue(PVUSBURB pUrb) argument 776 PVUSBURB pUrb = NULL; local 821 usbProxyOs2UrbCancel(PVUSBURB pUrb) argument [all...] |
/vbox/src/VBox/Devices/USB/solaris/ |
H A D | USBProxyDevice-solaris.cpp | 580 static DECLCALLBACK(int) usbProxySolarisUrbQueue(PUSBPROXYDEV pProxyDev, PVUSBURB pUrb) argument 584 LogFlowFunc((USBPROXY ": usbProxySolarisUrbQueue: pProxyDev=%s pUrb=%p EndPt=%#x enmDir=%d cbData=%d pvData=%p\n", 585 pProxyDev->pUsbIns->pszName, pUrb, pUrb->EndPt, pUrb->enmDir, pUrb->cbData, pUrb->abData)); 594 pUrbSol->pVUsbUrb = pUrb; 597 uint8_t EndPt = pUrb->EndPt; 599 EndPt |= pUrb 645 usbProxySolarisUrbCancel(PUSBPROXYDEV pProxyDev, PVUSBURB pUrb) argument 754 PVUSBURB pUrb = NULL; local 794 PVUSBURB pUrb = pUrbSol->pVUsbUrb; local [all...] |
/vbox/src/VBox/HostDrivers/VBoxUSB/win/dev/ |
H A D | VBoxUsbRt.cpp | 32 PURB pUrb; member in struct:VBOXUSB_URB_CONTEXT 557 PURB pUrb = NULL; local 563 pUrb = VBoxUsbToolUrbAllocZ(URB_FUNCTION_SELECT_CONFIGURATION, sizeof (struct _URB_SELECT_CONFIGURATION)); 564 if(!pUrb) 572 pUrb->UrbSelectConfiguration.ConfigurationDescriptor = NULL; 574 Status = VBoxUsbToolUrbPost(pDevExt->pLowerDO, pUrb, RT_INDEFINITE_WAIT); 575 if(NT_SUCCESS(Status) && USBD_SUCCESS(pUrb->UrbHeader.Status)) 577 pDevExt->Rt.hConfiguration = pUrb->UrbSelectConfiguration.ConfigurationHandle; 582 AssertMsgFailed((__FUNCTION__": VBoxUsbToolUrbPost failed Status (0x%x), usb Status (0x%x)\n", Status, pUrb->UrbHeader.Status)); 585 VBoxUsbToolUrbFree(pUrb); 770 PURB pUrb = VBoxUsbToolUrbAllocZ(0, uUrbSize); local 1031 PURB pUrb = pContext->pUrb; local 1219 PURB pUrb = (PURB)(pContext + 1); local [all...] |
/vbox/src/VBox/Devices/USB/freebsd/ |
H A D | USBProxyDevice-freebsd.cpp | 83 PVUSBURB pUrb; member in struct:USBENDPOINTFBSD 263 && !pEndpointFBSD->pUrb 308 pEndpointFBSD->pUrb = NULL; 332 if (pEndpointFBSD->pUrb != NULL) 687 static DECLCALLBACK(int) usbProxyFreeBSDUrbQueue(PUSBPROXYDEV pProxyDev, PVUSBURB pUrb) argument 699 LogFlow(("usbProxyFreeBSDUrbQueue: pUrb=%p EndPt=%u Dir=%u\n", 700 pUrb, (unsigned)pUrb->EndPt, (unsigned)pUrb->enmDir)); 702 ep_num = pUrb 836 PVUSBURB pUrb; local 1002 usbProxyFreeBSDUrbCancel(PUSBPROXYDEV pProxyDev, PVUSBURB pUrb) argument [all...] |
/vbox/src/VBox/Devices/Input/ |
H A D | UsbKbd.cpp | 398 * @param pUrb The URB to insert. 400 DECLINLINE(void) usbHidQueueAddTail(PUSBHIDURBQUEUE pQueue, PVUSBURB pUrb) argument 402 pUrb->Dev.pNext = NULL; 403 *pQueue->ppTail = pUrb; 404 pQueue->ppTail = &pUrb->Dev.pNext; 416 PVUSBURB pUrb = pQueue->pHead; local 417 if (pUrb) 419 PVUSBURB pNext = pUrb->Dev.pNext; 424 pUrb->Dev.pNext = NULL; 426 return pUrb; 437 usbHidQueueRemove(PUSBHIDURBQUEUE pQueue, PVUSBURB pUrb) argument 480 usbHidLinkDone(PUSBHID pThis, PVUSBURB pUrb) argument 495 usbHidCompleteStall(PUSBHID pThis, PUSBHIDEP pEp, PVUSBURB pUrb, const char *pszWhy) argument 518 usbHidCompleteOk(PUSBHID pThis, PVUSBURB pUrb, size_t cbData) argument 541 usbHidResetWorker(PUSBHID pThis, PVUSBURB pUrb, bool fSetConfig) argument 634 usbHidSetReport(PUSBHID pThis, PVUSBURB pUrb) argument 663 PVUSBURB pUrb = usbHidQueueRemoveHead(&pThis->ToHostQueue); local 768 PVUSBURB pUrb = usbHidQueueRemoveHead(&pThis->DoneQueue); local 805 usbHidUrbCancel(PPDMUSBINS pUsbIns, PVUSBURB pUrb) argument 827 usbHidHandleIntrDevToHost(PUSBHID pThis, PUSBHIDEP pEp, PVUSBURB pUrb) argument 887 usbHidHandleDefaultPipe(PUSBHID pThis, PUSBHIDEP pEp, PVUSBURB pUrb) argument 1093 usbHidQueue(PPDMUSBINS pUsbIns, PVUSBURB pUrb) argument [all...] |
H A D | UsbMouse.cpp | 1000 * @param pUrb The URB to insert. 1002 DECLINLINE(void) usbHidQueueAddTail(PUSBHIDURBQUEUE pQueue, PVUSBURB pUrb) argument 1004 pUrb->Dev.pNext = NULL; 1005 *pQueue->ppTail = pUrb; 1006 pQueue->ppTail = &pUrb->Dev.pNext; 1018 PVUSBURB pUrb = pQueue->pHead; local 1019 if (pUrb) 1021 PVUSBURB pNext = pUrb->Dev.pNext; 1026 pUrb->Dev.pNext = NULL; 1028 return pUrb; 1039 usbHidQueueRemove(PUSBHIDURBQUEUE pQueue, PVUSBURB pUrb) argument 1087 usbHidLinkDone(PUSBHID pThis, PVUSBURB pUrb) argument 1103 usbHidCompleteStall(PUSBHID pThis, PUSBHIDEP pEp, PVUSBURB pUrb, const char *pszWhy) argument 1127 usbHidCompleteOk(PUSBHID pThis, PVUSBURB pUrb, size_t cbData) argument 1151 usbHidResetWorker(PUSBHID pThis, PVUSBURB pUrb, bool fSetConfig) argument 1258 usbHidSendMultiTouchReport(PUSBHID pThis, PVUSBURB pUrb) argument 1397 PVUSBURB pUrb = usbHidQueueRemoveHead(&pThis->ToHostQueue); local 1675 PVUSBURB pUrb = usbHidQueueRemoveHead(&pThis->DoneQueue); local 1711 usbHidUrbCancel(PPDMUSBINS pUsbIns, PVUSBURB pUrb) argument 1734 usbHidHandleIntrDevToHost(PUSBHID pThis, PUSBHIDEP pEp, PVUSBURB pUrb) argument 1830 usbHidRequestClass(PUSBHID pThis, PUSBHIDEP pEp, PVUSBURB pUrb) argument 1933 usbHidHandleDefaultPipe(PUSBHID pThis, PUSBHIDEP pEp, PVUSBURB pUrb) argument 2148 usbHidQueue(PPDMUSBINS pUsbIns, PVUSBURB pUrb) argument [all...] |
/vbox/src/VBox/RDP/client-1.8.3/vrdp/ |
H A D | rdpusb.c | 156 static inline int op_usbproxy_back_queue_urb(PUSBPROXYDEV pDev, PVUSBURB pUrb) argument 158 return g_USBProxyDeviceHost.pfnUrbQueue(pDev, pUrb); 177 static inline int op_usbproxy_back_cancel_urb(PUSBPROXYDEV pDev, PVUSBURB pUrb) argument 179 return g_USBProxyDeviceHost.pfnUrbCancel (pDev, pUrb); 391 PVUSBURB pUrb = NULL; local 397 pUrb = op_usbproxy_back_reap_urb(proxy, 0); 399 if (pUrb) 403 Log(("RDPUSB: rdpusb_reap_urbs: cbData = %d, enmStatus = %d\n", pUrb->cbData, pUrb->enmStatus)); 405 if (pUrb 686 PVUSBURB pUrb; // struct vusb_urb *urb; local 774 PVUSBURB pUrb = NULL; local [all...] |
/vbox/src/VBox/HostDrivers/VBoxUSB/solaris/ |
H A D | VBoxUSB-solaris.c | 314 LOCAL int vboxUSBSolarisCtrlXfer(vboxusb_state_t *pState, vboxusb_ep_t *pEp, vboxusb_urb_t *pUrb); 318 LOCAL int vboxUSBSolarisIntrXfer(vboxusb_state_t *pState, vboxusb_ep_t *pEp, vboxusb_urb_t *pUrb); 320 LOCAL int vboxUSBSolarisIsocXfer(vboxusb_state_t *pState, vboxusb_ep_t *pEp, vboxusb_urb_t *pUrb); 326 LOCAL inline void vboxUSBSolarisConcatMsg(vboxusb_urb_t *pUrb); 328 LOCAL inline void vboxUSBSolarisDeQueueURB(vboxusb_urb_t *pUrb, int URBStatus); 745 vboxusb_urb_t *pUrb = NULL; local 746 while ((pUrb = list_remove_head(&pState->hUrbs)) != NULL) 748 if (pUrb->pMsg) 749 freemsg(pUrb->pMsg); 750 RTMemFree(pUrb); 1720 vboxusb_urb_t *pUrb = NULL; local 1839 vboxusb_urb_t *pUrb = list_remove_head(&pState->hLandedUrbs); local 2591 vboxusb_urb_t *pUrb = list_remove_head(&pEp->hIsocInUrbs); local 2831 vboxusb_urb_t *pUrb = RTMemAllocZ(sizeof(vboxusb_urb_t)); local 2880 vboxusb_urb_t *pUrb = list_head(&pState->hUrbs); local 2892 vboxusb_urb_t *pUrb = list_head(&pState->hUrbs); local 2960 vboxUSBSolarisDeQueueURB(vboxusb_urb_t *pUrb, int URBStatus) argument 2998 vboxUSBSolarisConcatMsg(vboxusb_urb_t *pUrb) argument 3064 vboxUSBSolarisCtrlXfer(vboxusb_state_t *pState, vboxusb_ep_t *pEp, vboxusb_urb_t *pUrb) argument 3155 vboxusb_urb_t *pUrb = (vboxusb_urb_t *)pReq->ctrl_client_private; local 3222 vboxUSBSolarisBulkXfer(vboxusb_state_t *pState, vboxusb_ep_t *pEp, vboxusb_urb_t *pUrb) argument 3303 vboxusb_urb_t *pUrb = (vboxusb_urb_t *)pReq->bulk_client_private; local 3349 vboxUSBSolarisIntrXfer(vboxusb_state_t *pState, vboxusb_ep_t *pEp, vboxusb_urb_t *pUrb) argument 3418 vboxusb_urb_t *pUrb = (vboxusb_urb_t *)pReq->intr_client_private; local 3462 vboxUSBSolarisIsocXfer(vboxusb_state_t *pState, vboxusb_ep_t *pEp, vboxusb_urb_t *pUrb) argument 3629 vboxusb_urb_t *pUrb = list_remove_head(&pEp->hIsocInUrbs); local 3841 vboxusb_urb_t *pUrb = list_remove_tail(&pEp->hIsocInUrbs); local 3869 vboxusb_urb_t *pUrb = (vboxusb_urb_t *)pReq->isoc_client_private; local [all...] |
/vbox/src/VBox/Devices/Storage/ |
H A D | UsbMsd.cpp | 625 static int usbMsdHandleBulkDevToHost(PUSBMSD pThis, PUSBMSDEP pEp, PVUSBURB pUrb); 645 * @param pUrb The URB to insert. 647 DECLINLINE(void) usbMsdQueueAddTail(PUSBMSDURBQUEUE pQueue, PVUSBURB pUrb) argument 649 pUrb->Dev.pNext = NULL; 650 *pQueue->ppTail = pUrb; 651 pQueue->ppTail = &pUrb->Dev.pNext; 663 PVUSBURB pUrb = pQueue->pHead; local 664 if (pUrb) 666 PVUSBURB pNext = pUrb->Dev.pNext; 671 pUrb 684 usbMsdQueueRemove(PUSBMSDURBQUEUE pQueue, PVUSBURB pUrb) argument 727 usbMsdLinkDone(PUSBMSD pThis, PVUSBURB pUrb) argument 867 usbMsdCompleteStall(PUSBMSD pThis, PUSBMSDEP pEp, PVUSBURB pUrb, const char *pszWhy) argument 890 usbMsdCompleteOk(PUSBMSD pThis, PVUSBURB pUrb, size_t cbData) argument 913 usbMsdResetWorker(PUSBMSD pThis, PVUSBURB pUrb, bool fSetConfig) argument 1040 PVUSBURB pUrb = usbMsdQueueRemoveHead(&pThis->ToHostQueue); local 1339 PVUSBURB pUrb = usbMsdQueueRemoveHead(&pThis->DoneQueue); local 1377 usbMsdUrbCancel(PPDMUSBINS pUsbIns, PVUSBURB pUrb) argument 1506 usbMsdIsValidCommand(PUSBMSD pThis, PCUSBCBW pCbw, PVUSBURB pUrb) argument 1523 usbMsdHandleBulkHostToDev(PUSBMSD pThis, PUSBMSDEP pEp, PVUSBURB pUrb) argument 1691 usbMsdHandleBulkDevToHost(PUSBMSD pThis, PUSBMSDEP pEp, PVUSBURB pUrb) argument 1836 usbMsdHandleDefaultPipe(PUSBMSD pThis, PUSBMSDEP pEp, PVUSBURB pUrb) argument 1925 usbMsdQueue(PPDMUSBINS pUsbIns, PVUSBURB pUrb) argument [all...] |
/vbox/src/VBox/Devices/USB/darwin/ |
H A D | USBProxyDevice-darwin.cpp | 593 PVUSBURB pUrb = pUrbOsX->pVUsbUrb; local 594 if (pUrb) 596 Assert(pUrb->u32Magic == VUSBURB_MAGIC); 597 if (pUrb->enmType == VUSBXFERTYPE_ISOC) 601 //if (pUrb->enmDir == VUSBDIRECTION_IN) 602 memcpy(pUrb->abData, pUrbOsX->u.Isoc.pBuf->pvBuf, pUrb->cbData); 605 "%16.*Rhxd\n", pUrb->cbData, pUrb->cbData, pUrb 1597 usbProxyDarwinUrbQueue(PUSBPROXYDEV pProxyDev, PVUSBURB pUrb) argument 1808 PVUSBURB pUrb = NULL; local 1920 usbProxyDarwinUrbCancel(PUSBPROXYDEV pProxyDev, PVUSBURB pUrb) argument [all...] |
/vbox/src/VBox/Devices/USB/usbip/ |
H A D | USBProxyDevice-usbip.cpp | 893 static DECLCALLBACK(int) usbProxyUsbIpUrbQueue(PUSBPROXYDEV pProxyDev, PVUSBURB pUrb) argument 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 980 PVUSBURB pUrb = NULL; local 1015 usbProxyUsbIpUrbCancel(PUSBPROXYDEV pProxyDev, PVUSBURB pUrb) argument [all...] |
/vbox/include/VBox/ |
H A D | vusb.h | 612 * @param pUrb Pointer to the URB in question. 624 * @param pUrb Pointer to the URB in question. 626 DECLR3CALLBACKMEMBER(bool, pfnXferError,(PVUSBIROOTHUBPORT pInterface, PVUSBURB pUrb)); 666 * @param pUrb Pointer to the URB returned by pfnNewUrb. 670 DECLR3CALLBACKMEMBER(int, pfnSubmitUrb,(PVUSBIROOTHUBCONNECTOR pInterface, PVUSBURB pUrb, struct PDMLED *pLed)); 694 * @param pUrb Pointer to a previously submitted URB. 696 DECLR3CALLBACKMEMBER(int, pfnCancelUrbsEp,(PVUSBIROOTHUBCONNECTOR pInterface, PVUSBURB pUrb)); 754 DECLINLINE(int) VUSBIRhSubmitUrb(PVUSBIROOTHUBCONNECTOR pInterface, PVUSBURB pUrb, struct PDMLED *pLed) argument 756 return pInterface->pfnSubmitUrb(pInterface, pUrb, pLed); 1177 * @param pUrb Th [all...] |