Home | History | Annotate | Download | only in Linux_x86

Lines Matching refs:nHandle

46    int  nHandle;
85 gI2cPortContext.nHandle = (int)(intptr_t) pDalHwContext->p_board_driver;
86 DAL_ASSERT_STR(gI2cPortContext.nHandle >= 0, "Bad passed com port handle");
129 close(gI2cPortContext.nHandle);
130 gI2cPortContext.nHandle = 0;
150 gI2cPortContext.nHandle = open(pConfig->deviceNode, O_RDWR | O_NOCTTY);
151 if (gI2cPortContext.nHandle < 0)
153 DAL_DEBUG("Open failed: open() returned %d\n", gI2cPortContext.nHandle);
159 *pLinkHandle = (void*)(intptr_t)gI2cPortContext.nHandle;
191 FD_SET(gI2cPortContext.nHandle, &rfds);
194 ret = select(gI2cPortContext.nHandle + 1, &rfds, NULL, NULL, &tv);
205 ret = read(gI2cPortContext.nHandle, pBuffer + numRead, nNbBytesToRead - numRead);
241 ret = write(gI2cPortContext.nHandle, pBuffer + numWrote, nNbBytesToWrite - numWrote);
272 return ioctl(gI2cPortContext.nHandle, PN544_SET_PWR, level);