Lines Matching refs:hFileDevice
97 RTFILE hFileDevice;
559 rcLnx = ioctl(RTFileToNative(pThis->hFileDevice), PPSETMODE, &iMode);
608 rcLnx = ioctl(RTFileToNative(pThis->hFileDevice), PPWDATA, pvBuf);
613 rcLnx = write(RTFileToNative(pThis->hFileDevice), pvBuf, cbWrite);
651 rcLnx = ioctl(RTFileToNative(pThis->hFileDevice), PPWDATA, pvBuf);
656 rcLnx = read(RTFileToNative(pThis->hFileDevice), pvBuf, cbRead);
684 int rcLnx = ioctl(RTFileToNative(pThis->hFileDevice), PPDATADIR, &iMode);
712 rcLnx = ioctl(RTFileToNative(pThis->hFileDevice), PPWCONTROL, &fReg);
740 rcLnx = ioctl(RTFileToNative(pThis->hFileDevice), PPRCONTROL, &fReg);
771 rcLnx = ioctl(RTFileToNative(pThis->hFileDevice), PPRSTATUS, &fReg);
806 aFDs[0].fd = RTFileToNative(pThis->hFileDevice);
872 if (pThis->hFileDevice != NIL_RTFILE)
873 ioctl(RTFileToNative(pThis->hFileDevice), PPRELEASE);
887 if (pThis->hFileDevice != NIL_RTFILE)
889 rc = RTFileClose(pThis->hFileDevice); AssertRC(rc);
890 pThis->hFileDevice = NIL_RTFILE;
924 pThis->hFileDevice = NIL_RTFILE;
968 rc = RTFileOpen(&pThis->hFileDevice, pThis->pszDevicePath, RTFILE_O_READWRITE | RTFILE_O_OPEN | RTFILE_O_DENY_NONE);
977 rc = ioctl(RTFileToNative(pThis->hFileDevice), PPEXCL);
987 rc = ioctl(RTFileToNative(pThis->hFileDevice), PPCLAIM);