Lines Matching refs:pDevHandle
53 ** Parameters pDevHandle - device handle
58 void phTmlNfc_i2c_close(void *pDevHandle)
60 if (NULL != pDevHandle)
62 close((intptr_t)pDevHandle);
113 ** Parameters pDevHandle - valid device handle
121 int phTmlNfc_i2c_read(void *pDevHandle, uint8_t * pBuffer, int nNbBytesToRead)
132 if (NULL == pDevHandle)
150 FD_SET((intptr_t) pDevHandle, &rfds);
154 ret_Select = select((int)((intptr_t)pDevHandle + (int)1), &rfds, NULL, NULL, &tv);
167 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead);
194 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead);
215 ret_Read = read ((intptr_t)pDevHandle, (pBuffer + numRead), totalBtyesToRead - numRead);
250 ** Parameters pDevHandle - valid device handle
258 int phTmlNfc_i2c_write(void *pDevHandle, uint8_t * pBuffer, int nNbBytesToWrite)
264 if (NULL == pDevHandle)
286 ret = write((intptr_t)pDevHandle, pBuffer + numWrote, numBytes - numWrote);
320 ** Parameters pDevHandle - valid device handle
328 int phTmlNfc_i2c_reset(void *pDevHandle, long level)
333 if (NULL == pDevHandle)
338 ret = ioctl((intptr_t)pDevHandle, PN544_SET_PWR, level);