Lines Matching refs:nHandle
48 int nHandle;
87 gI2cPortContext.nHandle = (int) pDalHwContext->p_board_driver;
88 DAL_ASSERT_STR(gI2cPortContext.nHandle >= 0, "Bad passed com port handle");
131 close(gI2cPortContext.nHandle);
132 gI2cPortContext.nHandle = 0;
152 gI2cPortContext.nHandle = open(pConfig->deviceNode, O_RDWR | O_NOCTTY);
153 if (gI2cPortContext.nHandle < 0)
155 DAL_DEBUG("Open failed: open() returned %d\n", gI2cPortContext.nHandle);
161 *pLinkHandle = (void*)gI2cPortContext.nHandle;
193 FD_SET(gI2cPortContext.nHandle, &rfds);
196 ret = select(gI2cPortContext.nHandle + 1, &rfds, NULL, NULL, &tv);
207 ret = read(gI2cPortContext.nHandle, pBuffer + numRead, nNbBytesToRead - numRead);
243 ret = write(gI2cPortContext.nHandle, pBuffer + numWrote, nNbBytesToWrite - numWrote);
273 return ioctl(gI2cPortContext.nHandle, PN544_SET_PWR, level);