Searched refs:pDevHandle (Results 1 – 6 of 6) sorted by relevance
/system/nfc/halimpl/pn54x/tml/ |
D | phTmlNfc_i2c.c | 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 128 if (NULL == pDevHandle) { in phTmlNfc_i2c_read() 142 FD_SET((intptr_t)pDevHandle, &rfds); in phTmlNfc_i2c_read() 147 select((int)((intptr_t)pDevHandle + (int)1), &rfds, NULL, NULL, &tv); in phTmlNfc_i2c_read() 155 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read() 174 read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read() 190 ret_Read = read((intptr_t)pDevHandle, (pBuffer + numRead), in phTmlNfc_i2c_read() [all …]
|
D | phTmlNfc_i2c.h | 26 void phTmlNfc_i2c_close(void* pDevHandle); 29 int phTmlNfc_i2c_read(void* pDevHandle, uint8_t* pBuffer, int nNbBytesToRead); 30 int phTmlNfc_i2c_write(void* pDevHandle, uint8_t* pBuffer, int nNbBytesToWrite); 31 int phTmlNfc_i2c_reset(void* pDevHandle, long level);
|
D | phTmlNfc.c | 106 pConfig, &(gpphTmlNfc_Context->pDevHandle)); in phTmlNfc_Init() 110 gpphTmlNfc_Context->pDevHandle = NULL; in phTmlNfc_Init() 330 if (NULL != gpphTmlNfc_Context->pDevHandle) { in phTmlNfc_TmlThread() 333 phTmlNfc_i2c_read(gpphTmlNfc_Context->pDevHandle, temp, 260); in phTmlNfc_TmlThread() 436 if (NULL != gpphTmlNfc_Context->pDevHandle) { in phTmlNfc_TmlWriterThread() 444 phTmlNfc_i2c_write(gpphTmlNfc_Context->pDevHandle, in phTmlNfc_TmlWriterThread() 548 if (NULL != gpphTmlNfc_Context->pDevHandle) { in phTmlNfc_CleanUp() 549 (void)phTmlNfc_i2c_reset(gpphTmlNfc_Context->pDevHandle, 0); in phTmlNfc_CleanUp() 555 phTmlNfc_i2c_close(gpphTmlNfc_Context->pDevHandle); in phTmlNfc_CleanUp() 556 gpphTmlNfc_Context->pDevHandle = NULL; in phTmlNfc_CleanUp() [all …]
|
D | phTmlNfc.h | 157 void* pDevHandle; /* Pointer to Device Handle */ member
|
/system/nfc/halimpl/pn54x/self-test/ |
D | phNxpNciHal_SelfTest.c | 1372 if (NULL != gpphTmlNfc_Context->pDevHandle) { in phNxpNciHal_TestMode_close()
|
/system/nfc/halimpl/pn54x/hal/ |
D | phNxpNciHal.c | 1873 if (NULL != gpphTmlNfc_Context->pDevHandle) { in phNxpNciHal_close()
|