Home
last modified time | relevance | path

Searched refs:nNbBytesToWrite (Results 1 – 7 of 7) sorted by relevance

/external/libnfc-nci/halimpl/pn54x/tml/
DphTmlNfc_i2c.c252 int phTmlNfc_i2c_write(void *pDevHandle, uint8_t * pBuffer, int nNbBytesToWrite) in phTmlNfc_i2c_write() argument
257 int numBytes = nNbBytesToWrite; in phTmlNfc_i2c_write()
262 if(fragmentation_enabled == I2C_FRAGMENATATION_DISABLED && nNbBytesToWrite > FRAGMENTSIZE_MAX) in phTmlNfc_i2c_write()
267 while (numWrote < nNbBytesToWrite) in phTmlNfc_i2c_write()
269 if(fragmentation_enabled == I2C_FRAGMENTATION_ENABLED && nNbBytesToWrite > FRAGMENTSIZE_MAX) in phTmlNfc_i2c_write()
271 if(nNbBytesToWrite - numWrote > FRAGMENTSIZE_MAX) in phTmlNfc_i2c_write()
277 numBytes = nNbBytesToWrite; in phTmlNfc_i2c_write()
284 if(fragmentation_enabled == I2C_FRAGMENTATION_ENABLED && numWrote < nNbBytesToWrite) in phTmlNfc_i2c_write()
DphTmlNfc_i2c.h29 int phTmlNfc_i2c_write(void *pDevHandle,uint8_t * pBuffer, int nNbBytesToWrite);
/external/libnfc-nxp/Linux_x86/
DphDal4Nfc_i2c.c232 int phDal4Nfc_i2c_write(uint8_t * pBuffer, int nNbBytesToWrite) in phDal4Nfc_i2c_write() argument
238 DAL_DEBUG("_i2c_write() called to write %d bytes\n", nNbBytesToWrite); in phDal4Nfc_i2c_write()
240 while (numWrote < nNbBytesToWrite) { in phDal4Nfc_i2c_write()
241 ret = write(gI2cPortContext.nHandle, pBuffer + numWrote, nNbBytesToWrite - numWrote); in phDal4Nfc_i2c_write()
DphDal4Nfc_uart.c380 int phDal4Nfc_uart_write(uint8_t * pBuffer, int nNbBytesToWrite) in phDal4Nfc_uart_write() argument
386 DAL_DEBUG("_uart_write() called to write %d bytes\n", nNbBytesToWrite); in phDal4Nfc_uart_write()
388 while (numWrote < nNbBytesToWrite) { in phDal4Nfc_uart_write()
389 ret = write(gComPortContext.nHandle, pBuffer + numWrote, nNbBytesToWrite - numWrote); in phDal4Nfc_uart_write()
DphDal4Nfc_uart.h42 int phDal4Nfc_uart_write(uint8_t * pBuffer, int nNbBytesToWrite);
DphDal4Nfc_i2c.h38 int phDal4Nfc_i2c_write(uint8_t * pBuffer, int nNbBytesToWrite);
DphDal4Nfc_link.h42 …def int (*phDal4Nfc_link_write_CB_t) (uint8_t * pBuffer, int nNbBytesToWrite);