Home
last modified time | relevance | path

Searched refs:numWrote (Results 1 – 3 of 3) sorted by relevance

/external/libnfc-nci/halimpl/pn54x/tml/
DphTmlNfc_i2c.c261 int numWrote = 0; in phTmlNfc_i2c_write() local
273 while (numWrote < nNbBytesToWrite) in phTmlNfc_i2c_write()
277 if(nNbBytesToWrite - numWrote > FRAGMENTSIZE_MAX) in phTmlNfc_i2c_write()
279 numBytes = numWrote+ FRAGMENTSIZE_MAX; in phTmlNfc_i2c_write()
286 ret = write((intptr_t)pDevHandle, pBuffer + numWrote, numBytes - numWrote); in phTmlNfc_i2c_write()
289 numWrote += ret; in phTmlNfc_i2c_write()
290 if(fragmentation_enabled == I2C_FRAGMENTATION_ENABLED && numWrote < nNbBytesToWrite) in phTmlNfc_i2c_write()
311 return numWrote; in phTmlNfc_i2c_write()
/external/libnfc-nxp/Linux_x86/
DphDal4Nfc_i2c.c235 int numWrote = 0; in phDal4Nfc_i2c_write() local
240 while (numWrote < nNbBytesToWrite) { in phDal4Nfc_i2c_write()
241 ret = write(gI2cPortContext.nHandle, pBuffer + numWrote, nNbBytesToWrite - numWrote); in phDal4Nfc_i2c_write()
244 numWrote += ret; in phDal4Nfc_i2c_write()
257 return numWrote; in phDal4Nfc_i2c_write()
DphDal4Nfc_uart.c383 int numWrote = 0; in phDal4Nfc_uart_write() local
388 while (numWrote < nNbBytesToWrite) { in phDal4Nfc_uart_write()
389 ret = write(gComPortContext.nHandle, pBuffer + numWrote, nNbBytesToWrite - numWrote); in phDal4Nfc_uart_write()
392 numWrote += ret; in phDal4Nfc_uart_write()
405 return numWrote; in phDal4Nfc_uart_write()