Lines Matching defs:pDevHandle
53 ** Parameters pDevHandle - device handle
58 void phTmlNfc_i2c_close(void* pDevHandle) {
59 if (NULL != pDevHandle) {
60 close((intptr_t)pDevHandle);
110 ** Parameters pDevHandle - valid device handle
118 int phTmlNfc_i2c_read(void* pDevHandle, uint8_t* pBuffer, int nNbBytesToRead) {
128 if (NULL == pDevHandle) {
142 FD_SET((intptr_t)pDevHandle, &rfds);
147 select((int)((intptr_t)pDevHandle + (int)1), &rfds, NULL, NULL, &tv);
155 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead);
174 read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead);
190 ret_Read = read((intptr_t)pDevHandle, (pBuffer + numRead),
219 ** Parameters pDevHandle - valid device handle
227 int phTmlNfc_i2c_write(void* pDevHandle, uint8_t* pBuffer,
233 if (NULL == pDevHandle) {
252 ret = write((intptr_t)pDevHandle, pBuffer + numWrote, numBytes - numWrote);
280 ** Parameters pDevHandle - valid device handle
288 int phTmlNfc_i2c_reset(void* pDevHandle, long level) {
292 if (NULL == pDevHandle) {
296 ret = ioctl((intptr_t)pDevHandle, PN544_SET_PWR, level);