Searched defs:pszDevicePath (Results 1 - 10 of 10) sorted by relevance

/vbox/src/VBox/HostDrivers/VBoxUSB/solaris/
H A DUSBLib-solaris.cpp211 USBLIB_DECL(int) USBLibResetDevice(char *pszDevicePath, bool fReattach) argument
213 LogFlow((USBLIBR3 ":USBLibResetDevice pszDevicePath=%s\n", pszDevicePath));
215 size_t cbReq = sizeof(VBOXUSBREQ_RESET_DEVICE) + strlen(pszDevicePath);
221 strcpy(pReq->szDevicePath, pszDevicePath);
H A DVBoxUSBMon-solaris.c186 static int vboxUSBMonSolarisResetDevice(char *pszDevicePath, bool fReattach);
195 int VBoxUSBMonSolarisElectDriver(usb_dev_descr_t *pDevDesc, usb_dev_str_t *pDevStrings, char *pszDevicePath, int Bus, int Port,
788 static int vboxUSBMonSolarisResetDevice(char *pszDevicePath, bool fReattach) argument
792 LogFunc((DEVICE_NAME ":vboxUSBMonSolarisResetDevice pszDevicePath=%s fReattach=%d\n", pszDevicePath, fReattach));
797 dev_info_t *pDeviceInfo = e_ddi_hold_devi_by_path(pszDevicePath, 0);
811 LogRel((DEVICE_NAME ":vboxUSBMonSolarisResetDevice failed to get parent device info for %s\n", pszDevicePath));
825 Log((DEVICE_NAME ":usb_reset_device for %s level=%s returned %d\n", pszDevicePath, fReattach ? "ReAttach" : "Default", rc));
841 LogRel((DEVICE_NAME ":vboxUSBMonSolarisResetDevice Cannot obtain device info for %s\n", pszDevicePath));
906 * @param pszDevicePath Th
1004 VBoxUSBMonSolarisElectDriver(usb_dev_descr_t *pDevDesc, usb_dev_str_t *pDevStrings, char *pszDevicePath, int Bus, int Port, char **ppszDrv, void *pvReserved) argument
[all...]
/vbox/src/VBox/Main/src-server/freebsd/
H A DUSBProxyServiceFreeBSD.cpp229 char *pszDevicePath = NULL; local
234 rc = RTStrAPrintf(&pszDevicePath, "/dev/%s%d.%d", USB_GENERIC_NAME, iBus, iAddr);
241 LogFlowFunc((": Opening %s\n", pszDevicePath));
243 FileUsb = open(pszDevicePath, O_RDONLY);
250 RTStrFree(pszDevicePath);
268 LogFlowFunc((": %s opened successfully\n", pszDevicePath));
279 RTStrFree(pszDevicePath);
291 RTStrFree(pszDevicePath);
337 pDevice->pszAddress = RTStrDup(pszDevicePath);
348 RTStrFree(pszDevicePath);
[all...]
/vbox/src/VBox/Main/src-server/solaris/
H A DUSBProxyServiceSolaris.cpp194 char *pszDevicePath = di_devfs_path(Node); local
205 AssertBreak(pszDevicePath);
264 RTStrPrintf(pathBuf, sizeof(pathBuf), "%s", pszDevicePath);
271 pCur->pszDevicePath = RTStrDup(pszDevicePath);
272 AssertBreak(pCur->pszDevicePath);
311 di_devfs_path_free(pszDevicePath);
364 int rc = USBLibResetDevice(pDev->pszDevicePath, true);
419 int rc = USBLibResetDevice(pDev->pszDevicePath, true /* Re-attach */);
/vbox/src/VBox/Devices/Storage/
H A DDrvSCSIHost.cpp58 char *pszDevicePath; member in struct:DRVSCSIHOST
425 if (pThis->pszDevicePath)
427 MMR3HeapFree(pThis->pszDevicePath);
428 pThis->pszDevicePath = NULL;
477 rc = CFGMR3QueryStringAlloc(pCfg, "DevicePath", &pThis->pszDevicePath);
482 rc = RTFileOpen(&pThis->hDeviceFile, pThis->pszDevicePath, RTFILE_O_READWRITE | RTFILE_O_OPEN | RTFILE_O_DENY_NONE);
485 N_("DrvSCSIHost#%d: Failed to open device '%s'"), pDrvIns->iInstance, pThis->pszDevicePath);
/vbox/src/VBox/Devices/USB/solaris/
H A DUSBProxyDevice-solaris.cpp76 char *pszDevicePath; member in struct:USBPROXYDEVSOL
320 char *pszDevicePath = NULL; local
321 rc = USBLibGetClientInfo(szDeviceIdent, &pszDevicePath, &Instance);
324 pDevSol->pszDevicePath = pszDevicePath;
330 rc = RTFileOpen(&hFile, pDevSol->pszDevicePath, RTFILE_O_READWRITE | RTFILE_O_OPEN | RTFILE_O_DENY_NONE);
368 LogRel((USBPROXY ":failed to open device. rc=%Rrc pszDevicePath=%s\n", rc, pDevSol->pszDevicePath));
370 RTStrFree(pDevSol->pszDevicePath);
371 pDevSol->pszDevicePath
[all...]
/vbox/include/VBox/
H A Dusb.h134 char *pszDevicePath; member in struct:USBDEVICE
H A Dusblib-solaris.h240 const char *pszDevicePath; member in struct:VBOXUSBHELPERDATA_RESET
257 const char *pszDevicePath; member in struct:VBOXUSBHELPERDATA_ALIAS
262 USBLIB_DECL(int) USBLibResetDevice(char *pszDevicePath, bool fReattach);
263 USBLIB_DECL(int) USBLibDeviceInstance(char *pszDevicePath, int *pInstance);
/vbox/src/VBox/Devices/Parallel/
H A DDrvHostParallel.cpp95 char *pszDevicePath; member in struct:DRVHOSTPARALLEL
893 if (pThis->pszDevicePath)
895 MMR3HeapFree(pThis->pszDevicePath);
896 pThis->pszDevicePath = NULL;
958 int rc = CFGMR3QueryStringAlloc(pCfg, "DevicePath", &pThis->pszDevicePath);
968 rc = RTFileOpen(&pThis->hFileDevice, pThis->pszDevicePath, RTFILE_O_READWRITE | RTFILE_O_OPEN | RTFILE_O_DENY_NONE);
971 pDrvIns->iInstance, pThis->pszDevicePath);
982 pDrvIns->iInstance, pThis->pszDevicePath);
992 pDrvIns->iInstance, pThis->pszDevicePath);
/vbox/src/VBox/Devices/Serial/
H A DDrvHostSerial.cpp102 char *pszDevicePath; member in struct:DRVHOSTSERIAL
905 pThis->pszDevicePath, RTErrConvertFromErrno(errno));
965 pThis->pszDevicePath, RTErrConvertFromErrno(rc));
1110 if (pThis->pszDevicePath)
1112 MMR3HeapFree(pThis->pszDevicePath);
1113 pThis->pszDevicePath = NULL;
1156 int rc = CFGMR3QueryStringAlloc(pCfg, "DevicePath", &pThis->pszDevicePath);
1177 HANDLE hFile = CreateFile(pThis->pszDevicePath,
1205 rc = RTFileOpen(&pThis->hDeviceFile, pThis->pszDevicePath, fOpen);
1209 rc = RTFileOpen(&pThis->hDeviceFile, pThis->pszDevicePath, fOpe
[all...]

Completed in 6233 milliseconds