/vbox/src/VBox/Devices/USB/ |
H A D | USBProxyDevice.cpp | 498 for (unsigned iCfg = 0; iCfg < pProxyDev->DevDesc.bNumConfigurations; iCfg++) 500 PVUSBINTERFACE paIfs = (PVUSBINTERFACE)paCfgs[iCfg].paIfs; 501 for (unsigned iIf = 0; iIf < paCfgs[iCfg].Core.bNumInterfaces; iIf++) 506 Log(("usb-proxy: removing interface #%d (iIf=%d iAlt=%d) on config #%d (iCfg=%d)\n", 507 paIfs[iIf].paSettings[iAlt].Core.bInterfaceNumber, iIf, iAlt, paCfgs[iCfg].Core.bConfigurationValue, iCfg)); 510 paCfgs[iCfg].Core.bNumInterfaces--; 511 unsigned cToCopy = paCfgs[iCfg] [all...] |
H A D | USBProxyDevice.h | 87 * @param iCfg The configuration to set. 89 DECLR3CALLBACKMEMBER(int, pfnSetConfig, (PUSBPROXYDEV pProxyDev, int iCfg));
|
H A D | VUSBDevice.cpp | 93 static PCVUSBDESCCONFIGEX vusbDevFindCfgDesc(PVUSBDEV pDev, int iCfg) argument 95 if (iCfg == 0) 99 if (pDev->pDescCache->paConfigs[i].Core.bConfigurationValue == iCfg) 299 unsigned iCfg = pSetup->wValue & 0xff; local 303 Log(("vusb: error: %s: SET_CONFIGURATION - invalid request (dir) !!!\n", pDev->pUsbIns->pszName, iCfg)); 318 PCVUSBDESCCONFIGEX pNewCfgDesc = vusbDevFindCfgDesc(pDev, iCfg); 321 Log(("vusb: error: %s: config %i not found !!!\n", pDev->pUsbIns->pszName, iCfg)); 325 if (iCfg == 0) 336 Log(("vusb: error: %s: failed to set config %i (%Rrc) !!!\n", pDev->pUsbIns->pszName, iCfg, rc)); 340 Log(("vusb: %p[%s]: SET_CONFIGURATION: Selected config %u\n", pDev, pDev->pUsbIns->pszName, iCfg)); 375 uint8_t iCfg; local [all...] |
/vbox/src/VBox/Devices/USB/testcase/ |
H A D | tstTrekStorGo.c | 216 static int set_config(int iCfg) argument 218 return doioctl(USBDEVFS_SETCONFIGURATION, &iCfg, "set_config");
|
H A D | tstPalmOne.c | 216 static int set_config(int iCfg) argument 218 return doioctl(USBDEVFS_SETCONFIGURATION, &iCfg, "set_config");
|
/vbox/src/VBox/Devices/USB/os2/ |
H A D | USBProxyDevice-os2.cpp | 618 * @param iCfg The configuration to set. 620 static int usbProxyOs2SetConfig(PUSBPROXYDEV pProxyDev, int iCfg) argument 624 pProxyDev->pUsbIns->pszName, iCfg)); 632 iCfg, /* wValue - configuration */ 638 LogFlow(("usbProxyOs2SetConfig: pProxyDev=%s cfg=%#X -> rc=%d\n", pProxyDev->pUsbIns->pszName, iCfg, rc));
|
/vbox/src/VBox/Devices/USB/freebsd/ |
H A D | USBProxyDevice-freebsd.cpp | 534 * @param iCfg The configuration to set. 536 static DECLCALLBACK(int) usbProxyFreeBSDSetConfig(PUSBPROXYDEV pProxyDev, int iCfg) argument 543 pProxyDev->pUsbIns->pszName, iCfg)); 554 if (iCfg == 0) 564 if (pProxyDev->paCfgDescs[iCfgIndex].Core.bConfigurationValue == iCfg) 571 "%d not found\n", iCfg));
|
/vbox/src/bldprogs/ |
H A D | scm.cpp | 1034 for (size_t iCfg = 0; iCfg < RT_ELEMENTS(g_aConfigs); iCfg++) 1035 if (RTStrSimplePatternMultiMatch(g_aConfigs[iCfg].pszFilePattern, RTSTR_MAX, pszBasename, cchBasename, NULL)) 1037 pCfg = &g_aConfigs[iCfg];
|
/vbox/src/VBox/Devices/USB/solaris/ |
H A D | USBProxyDevice-solaris.cpp | 484 * @param iCfg The configuration value to set. 486 static DECLCALLBACK(int) usbProxySolarisSetConfig(PUSBPROXYDEV pProxyDev, int iCfg) argument 488 LogFlowFunc((USBPROXY ":usbProxySolarisSetConfig: pProxyDev=%p iCfg=%#x\n", pProxyDev, iCfg)); 494 SetConfigReq.bConfigValue = iCfg;
|
/vbox/src/VBox/Devices/USB/usbip/ |
H A D | USBProxyDevice-usbip.cpp | 836 static DECLCALLBACK(int) usbProxyUsbIpSetConfig(PUSBPROXYDEV pProxyDev, int iCfg) argument 838 LogFlowFunc(("pProxyDev=%s cfg=%#x\n", pProxyDev->pUsbIns->pszName, iCfg)); 845 Setup.wValue = iCfg;
|
/vbox/src/VBox/Devices/USB/linux/ |
H A D | USBProxyDevice-linux.cpp | 1109 * @param iCfg The configuration to set. 1111 static DECLCALLBACK(int) usbProxyLinuxSetConfig(PUSBPROXYDEV pProxyDev, int iCfg) 1114 usbProxyGetName(pProxyDev), iCfg)); 1116 if (usbProxyLinuxDoIoCtl(pProxyDev, USBDEVFS_SETCONFIGURATION, &iCfg, true, UINT32_MAX))
|
/vbox/src/VBox/Devices/USB/darwin/ |
H A D | USBProxyDevice-darwin.cpp | 1459 * @param iCfg The configuration to set. 1461 static DECLCALLBACK(int) usbProxyDarwinSetConfig(PUSBPROXYDEV pProxyDev, int iCfg) argument 1465 pProxyDev->pUsbIns->pszName, iCfg)); 1467 IOReturn irc = (*pDevOsX->ppDevI)->SetConfiguration(pDevOsX->ppDevI, (uint8_t)iCfg);
|