Lines Matching refs:pDevFBSD
135 PUSBPROXYDEVFBSD pDevFBSD = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVFBSD);
141 rc = ioctl(RTFileToNative(pDevFBSD->hFile), iCmd, pvArg);
166 PUSBPROXYDEVFBSD pDevFBSD = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVFBSD);
172 AssertPtrReturn(pDevFBSD, VERR_INVALID_PARAMETER);
174 if (pDevFBSD->fInit == true)
180 UsbFsInit.pEndpoints = pDevFBSD->aHwEndpoint;
186 pDevFBSD->fInit = true;
197 PUSBPROXYDEVFBSD pDevFBSD = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVFBSD);
203 AssertPtrReturn(pDevFBSD, VERR_INVALID_PARAMETER);
205 if (pDevFBSD->fInit != true)
218 pDevFBSD->fInit = false;
248 PUSBPROXYDEVFBSD pDevFBSD = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVFBSD);
259 pEndpointFBSD = &pDevFBSD->aSwEndpoint[index];
272 pEndpointFBSD = &pDevFBSD->aSwEndpoint[index];
283 pXferEndpoint = &pDevFBSD->aHwEndpoint[index];
323 PUSBPROXYDEVFBSD pDevFBSD = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVFBSD);
324 PUSBENDPOINTFBSD pEndpointFBSD = &pDevFBSD->aSwEndpoint[Endpoint];
335 pDevFBSD->fCancelling = true;
370 PUSBPROXYDEVFBSD pDevFBSD = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVFBSD);
387 pDevFBSD->hFile = hFile;
394 rc = RTPipeCreate(&pDevFBSD->hPipeWakeupR, &pDevFBSD->hPipeWakeupW, 0);
398 pProxyDev, pszAddress, pDevFBSD->hFile, pProxyDev->iActiveCfg));
425 PUSBPROXYDEVFBSD pDevFBSD = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVFBSD);
455 PUSBPROXYDEVFBSD pDevFBSD = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVFBSD);
460 AssertPtrReturnVoid(pDevFBSD);
464 RTPipeClose(pDevFBSD->hPipeWakeupR);
465 RTPipeClose(pDevFBSD->hPipeWakeupW);
467 RTFileClose(pDevFBSD->hFile);
468 pDevFBSD->hFile = NIL_RTFILE;
481 PUSBPROXYDEVFBSD pDevFBSD = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVFBSD);
538 PUSBPROXYDEVFBSD pDevFBSD = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVFBSD);
627 PUSBPROXYDEVFBSD pDevFBSD = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVFBSD);
689 PUSBPROXYDEVFBSD pDevFBSD = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVFBSD);
719 pEndpointFBSD = &pDevFBSD->aSwEndpoint[index];
720 pXferEndpoint = &pDevFBSD->aHwEndpoint[index];
834 PUSBPROXYDEVFBSD pDevFBSD = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVFBSD);
849 if (pDevFBSD->fCancelling)
853 pEndpointFBSD = &pDevFBSD->aSwEndpoint[n];
886 pDevFBSD->fCancelling = false;
896 pXferEndpoint = &pDevFBSD->aHwEndpoint[UsbFsComplete.ep_index];
897 pEndpointFBSD = &pDevFBSD->aSwEndpoint[UsbFsComplete.ep_index];
966 pfd[0].fd = RTFileToNative(pDevFBSD->hFile);
970 pfd[1].fd = RTPipeToNative(pDevFBSD->hPipeWakeupR);
982 RTPipeRead(pDevFBSD->hPipeWakeupR, &bRead, 1, &cbIgnored);
1017 PUSBPROXYDEVFBSD pDevFBSD = USBPROXYDEV_2_DATA(pProxyDev, PUSBPROXYDEVFBSD);
1022 return RTPipeWrite(pDevFBSD->hPipeWakeupW, "", 1, &cbIgnored);