Lines Matching refs:pDevHandle
58 void phTmlNfc_i2c_close(void* pDevHandle) { in phTmlNfc_i2c_close() argument
59 if (NULL != pDevHandle) { in phTmlNfc_i2c_close()
60 close((intptr_t)pDevHandle); in phTmlNfc_i2c_close()
118 int phTmlNfc_i2c_read(void* pDevHandle, uint8_t* pBuffer, int nNbBytesToRead) { in phTmlNfc_i2c_read() argument
127 if (NULL == pDevHandle) { in phTmlNfc_i2c_read()
141 FD_SET((intptr_t)pDevHandle, &rfds); in phTmlNfc_i2c_read()
146 select((int)((intptr_t)pDevHandle + (int)1), &rfds, NULL, NULL, &tv); in phTmlNfc_i2c_read()
154 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read()
173 read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read()
189 ret_Read = read((intptr_t)pDevHandle, (pBuffer + numRead), in phTmlNfc_i2c_read()
226 int phTmlNfc_i2c_write(void* pDevHandle, uint8_t* pBuffer, in phTmlNfc_i2c_write() argument
231 if (NULL == pDevHandle) { in phTmlNfc_i2c_write()
250 ret = write((intptr_t)pDevHandle, pBuffer + numWrote, numBytes - numWrote); in phTmlNfc_i2c_write()
285 int phTmlNfc_i2c_reset(void* pDevHandle, long level) { in phTmlNfc_i2c_reset() argument
289 if (NULL == pDevHandle) { in phTmlNfc_i2c_reset()
293 ret = ioctl((intptr_t)pDevHandle, PN544_SET_PWR, level); in phTmlNfc_i2c_reset()