/vbox/src/VBox/Devices/USB/linux/ |
H A D | USBProxyDevice-linux.cpp | 164 static void usbProxyLinuxSetConnected(PUSBPROXYDEV pProyxDev, int iIf, bool fConnect, bool fQuiet); 253 static void usbProxyLinuxSetConnected(PUSBPROXYDEV pProxyDev, int iIf, bool fConnect, bool fQuiet) argument 255 if ( iIf >= 32 256 || !(pProxyDev->fMaskedIfs & RT_BIT(iIf))) 260 LogFlow(("usbProxyLinuxSetConnected: pProxyDev=%s iIf=%#x fConnect=%s\n", 261 usbProxyGetName(pProxyDev), iIf, fConnect ? "true" : "false")); 263 IoCtl.ifno = iIf; 706 unsigned iIf; 707 for (iIf = 0; iIf < 25 [all...] |
/vbox/src/VBox/Devices/USB/os2/ |
H A D | USBProxyDevice-os2.cpp | 647 static int usbProxyOs2ClaimInterface(PUSBPROXYDEV pProxyDev, int iIf) argument 649 LogFlow(("usbProxyOs2ClaimInterface: pProxyDev=%s ifnum=%#x\n", pProxyDev->pUsbIns->pszName, iIf)); 658 static int usbProxyOs2ReleaseInterface(PUSBPROXYDEV pProxyDev, int iIf) argument 660 LogFlow(("usbProxyOs2ReleaseInterface: pProxyDev=%s ifnum=%#x\n", pProxyDev->pUsbIns->pszName, iIf)); 670 static int usbProxyOs2SetInterface(PUSBPROXYDEV pProxyDev, int iIf, int iAlt) argument 672 LogFlow(("usbProxyOs2SetInterface: pProxyDev=%p iIf=%#x iAlt=%#x\n", pProxyDev, iIf, iAlt));
|
/vbox/src/VBox/Devices/USB/solaris/ |
H A D | USBProxyDevice-solaris.cpp | 512 static DECLCALLBACK(int) usbProxySolarisClaimInterface(PUSBPROXYDEV pProxyDev, int iIf) argument 526 static DECLCALLBACK(int) usbProxySolarisReleaseInterface(PUSBPROXYDEV pProxyDev, int iIf) argument 537 static DECLCALLBACK(int) usbProxySolarisSetInterface(PUSBPROXYDEV pProxyDev, int iIf, int iAlt) argument 539 LogFlowFunc((USBPROXY ":usbProxySolarisSetInterface: pProxyDev=%p iIf=%d iAlt=%d\n", pProxyDev, iIf, iAlt)); 545 SetInterfaceReq.bInterface = iIf;
|
/vbox/src/VBox/Devices/USB/testcase/ |
H A D | tstPalmOne.c | 202 static int claim_if(int iIf) argument 204 return doioctl(USBDEVFS_CLAIMINTERFACE, &iIf, "claim_if"); 221 static int set_interface(int iIf, int iAlt) argument 224 SetIf.interface = iIf;
|
H A D | tstTrekStorGo.c | 202 static int claim_if(int iIf) argument 204 return doioctl(USBDEVFS_CLAIMINTERFACE, &iIf, "claim_if"); 221 static int set_interface(int iIf, int iAlt) argument 224 SetIf.interface = iIf;
|
/vbox/src/VBox/Devices/USB/freebsd/ |
H A D | USBProxyDevice-freebsd.cpp | 589 static DECLCALLBACK(int) usbProxyFreeBSDClaimInterface(PUSBPROXYDEV pProxyDev, int iIf) argument 594 "ifnum=%x\n", pProxyDev->pUsbIns->pszName, iIf)); 600 usbProxyFreeBSDDoIoCtl(pProxyDev, USB_IFACE_DRIVER_DETACH, &iIf, true); 603 return usbProxyFreeBSDDoIoCtl(pProxyDev, USB_CLAIM_INTERFACE, &iIf, true); 610 static DECLCALLBACK(int) usbProxyFreeBSDReleaseInterface(PUSBPROXYDEV pProxyDev, int iIf) argument 615 "ifnum=%x\n", pProxyDev->pUsbIns->pszName, iIf)); 617 return usbProxyFreeBSDDoIoCtl(pProxyDev, USB_RELEASE_INTERFACE, &iIf, true); 625 static DECLCALLBACK(int) usbProxyFreeBSDSetInterface(PUSBPROXYDEV pProxyDev, int iIf, int iAlt) argument 631 LogFlow(("usbProxyFreeBSDSetInterface: pProxyDev=%p iIf=%x iAlt=%x\n", 632 pProxyDev, iIf, iAl [all...] |
/vbox/src/VBox/Devices/USB/ |
H A D | VUSBDevice.cpp | 104 static PVUSBINTERFACESTATE vusbDevFindIfState(PVUSBDEV pDev, int iIf) argument 107 if (pDev->paIfStates[i].pIf->paSettings[0].Core.bInterfaceNumber == iIf) 459 uint8_t iIf = pSetup->wIndex; local 460 PVUSBINTERFACESTATE pIfState = vusbDevFindIfState(pDev, iIf); 463 LogFlow(("vusbDevStdReqSetInterface: error: %s: couldn't find interface %u !!!\n", pDev->pUsbIns->pszName, iIf)); 470 LogFlow(("vusbDevStdReqSetInterface: error: %s: couldn't find alt interface %u.%u !!!\n", pDev->pUsbIns->pszName, iIf, iAlt)); 476 int rc = vusbDevIoThreadExecSync(pDev, (PFNRT)pDev->pUsbIns->pReg->pfnUsbSetInterface, 3, pDev->pUsbIns, iIf, iAlt); 479 LogFlow(("vusbDevStdReqSetInterface: error: %s: couldn't find alt interface %u.%u (%Rrc)\n", pDev->pUsbIns->pszName, iIf, iAlt, rc)); 487 Log(("vusb: SET_INTERFACE: Selected %u.%u\n", iIf, iAlt));
|
/vbox/src/VBox/Devices/USB/darwin/ |
H A D | USBProxyDevice-darwin.cpp | 1488 static DECLCALLBACK(int) usbProxyDarwinClaimInterface(PUSBPROXYDEV pProxyDev, int iIf) argument 1502 static DECLCALLBACK(int) usbProxyDarwinReleaseInterface(PUSBPROXYDEV pProxyDev, int iIf) argument 1513 static DECLCALLBACK(int) usbProxyDarwinSetInterface(PUSBPROXYDEV pProxyDev, int iIf, int iAlt) argument 1517 PUSBPROXYIFOSX pIf = usbProxyDarwinGetInterface(pDevOsX, iIf); 1518 LogFlow(("usbProxyDarwinSetInterface: pProxyDev=%s iIf=%#x iAlt=%#x iCurAlt=%#x\n", 1519 pProxyDev->pUsbIns->pszName, iIf, iAlt, pIf ? pIf->u8AltSetting : 0xbeef)); 1540 Req.wIndex = iIf; 1546 Log(("usbProxyDarwinSetInterface: SET_INTERFACE(%d,%d) -> irc=%#x\n", iIf, iAlt, irc)); 1552 pProxyDev->pUsbIns->pszName, iIf, iAlt, pIf, irc));
|
/vbox/src/VBox/Devices/Storage/ |
H A D | DevATA.cpp | 329 uint8_t iIf; member in struct:ATATransferRequest 339 uint8_t iIf; member in struct:ATAAbortRequest 802 LogRel(("new transfer request, iIf=%d iBeginTransfer=%d iSourceSink=%d cbTotalTransfer=%d uTxDir=%d\n", pCtl->aAsyncIORequests[curr].u.t.iIf, pCtl->aAsyncIORequests[curr].u.t.iBeginTransfer, pCtl->aAsyncIORequests[curr].u.t.iSourceSink, pCtl->aAsyncIORequests[curr].u.t.cbTotalTransfer, pCtl->aAsyncIORequests[curr].u.t.uTxDir)); 817 LogRel(("abort request, iIf=%d fResetDrive=%d\n", pCtl->aAsyncIORequests[curr].u.a.iIf, pCtl->aAsyncIORequests[curr].u.a.fResetDrive)); 890 Req.u.t.iIf = pCtl->iAIOIf; 892 Req.u.t.iIf = pCtl->iSelectedIf; 929 Req.u.a.iIf = pCtl->iSelectedIf; 5146 pCtl->iAIOIf = pReq->u.t.iIf; [all...] |