Home | History | Annotate | Download | only in Linux_x86

Lines Matching refs:nHandle

53    int  nHandle;
100 gComPortContext.nHandle = (int) pDalHwContext->p_board_driver;
101 DAL_ASSERT_STR(gComPortContext.nHandle >= 0, "Bad passed com port handle");
130 ret = tcflush(gComPortContext.nHandle, TCIFLUSH);
146 close(gComPortContext.nHandle);
147 gComPortContext.nHandle = 0;
171 gComPortContext.nHandle = open(pConfig->deviceNode, O_RDWR | O_NOCTTY);
172 if (gComPortContext.nHandle < 0)
179 *pLinkHandle = (void*)gComPortContext.nHandle;
184 ret = tcgetattr(gComPortContext.nHandle, &gComPortContext.nIoConfigBackup); /* save the old io config */
191 ret = fcntl(gComPortContext.nHandle, F_SETFL, 0); /* Makes the read blocking (default). */
215 ret = tcsetattr(gComPortContext.nHandle, TCSANOW, &gComPortContext.nIoConfig);
222 ret = ioctl(gComPortContext.nHandle, TIOCMGET, &nComStatus);
225 ret = ioctl(gComPortContext.nHandle, TIOCMSET, &nComStatus);
332 FD_SET(gComPortContext.nHandle, &rfds);
339 ret = select(gComPortContext.nHandle + 1, &rfds, NULL, NULL, ptv);
350 ret = read(gComPortContext.nHandle, pBuffer + numRead, nNbBytesToRead - numRead);
389 ret = write(gComPortContext.nHandle, pBuffer + numWrote, nNbBytesToWrite - numWrote);