Searched refs:pDevHandle (Results 1 – 6 of 6) sorted by relevance
/external/libnfc-nci/halimpl/pn54x/tml/ |
D | phTmlNfc_i2c.c | 58 void phTmlNfc_i2c_close(void *pDevHandle) in phTmlNfc_i2c_close() argument 60 if (NULL != pDevHandle) in phTmlNfc_i2c_close() 62 close((intptr_t)pDevHandle); in phTmlNfc_i2c_close() 121 int phTmlNfc_i2c_read(void *pDevHandle, uint8_t * pBuffer, int nNbBytesToRead) in phTmlNfc_i2c_read() argument 132 if (NULL == pDevHandle) in phTmlNfc_i2c_read() 150 FD_SET((intptr_t) pDevHandle, &rfds); in phTmlNfc_i2c_read() 154 ret_Select = select((int)((intptr_t)pDevHandle + (int)1), &rfds, NULL, NULL, &tv); in phTmlNfc_i2c_read() 167 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read() 194 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read() 215 ret_Read = read ((intptr_t)pDevHandle, (pBuffer + numRead), totalBtyesToRead - numRead); in phTmlNfc_i2c_read() [all …]
|
D | phTmlNfc.c | 110 … wInitStatus = phTmlNfc_i2c_open_and_configure(pConfig, &(gpphTmlNfc_Context->pDevHandle)); in phTmlNfc_Init() 115 gpphTmlNfc_Context->pDevHandle = NULL; in phTmlNfc_Init() 359 if (NULL != gpphTmlNfc_Context->pDevHandle) in phTmlNfc_TmlThread() 362 dwNoBytesWrRd = phTmlNfc_i2c_read(gpphTmlNfc_Context->pDevHandle, temp, 260); in phTmlNfc_TmlThread() 480 if (NULL != gpphTmlNfc_Context->pDevHandle) in phTmlNfc_TmlWriterThread() 488 dwNoBytesWrRd = phTmlNfc_i2c_write(gpphTmlNfc_Context->pDevHandle, in phTmlNfc_TmlWriterThread() 606 if (NULL != gpphTmlNfc_Context->pDevHandle) in phTmlNfc_CleanUp() 608 (void) phTmlNfc_i2c_reset(gpphTmlNfc_Context->pDevHandle, 0); in phTmlNfc_CleanUp() 614 phTmlNfc_i2c_close(gpphTmlNfc_Context->pDevHandle); in phTmlNfc_CleanUp() 615 gpphTmlNfc_Context->pDevHandle = NULL; in phTmlNfc_CleanUp() [all …]
|
D | phTmlNfc_i2c.h | 26 void phTmlNfc_i2c_close(void *pDevHandle); 28 int phTmlNfc_i2c_read(void *pDevHandle, uint8_t * pBuffer, int nNbBytesToRead); 29 int phTmlNfc_i2c_write(void *pDevHandle,uint8_t * pBuffer, int nNbBytesToWrite); 30 int phTmlNfc_i2c_reset(void *pDevHandle,long level);
|
D | phTmlNfc.h | 146 void *pDevHandle; /* Pointer to Device Handle */ member
|
/external/libnfc-nci/halimpl/pn54x/self-test/ |
D | phNxpNciHal_SelfTest.c | 1506 if (NULL != gpphTmlNfc_Context->pDevHandle) in phNxpNciHal_TestMode_close()
|
/external/libnfc-nci/halimpl/pn54x/hal/ |
D | phNxpNciHal.c | 2022 if (NULL != gpphTmlNfc_Context->pDevHandle) in phNxpNciHal_close()
|