Home
last modified time | relevance | path

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

/external/libnfc-nxp/Linux_x86/
DphDal4Nfc_i2c.c237 int numWrote = 0; in phDal4Nfc_i2c_write() local
242 while (numWrote < nNbBytesToWrite) { in phDal4Nfc_i2c_write()
243 ret = write(gI2cPortContext.nHandle, pBuffer + numWrote, nNbBytesToWrite - numWrote); in phDal4Nfc_i2c_write()
246 numWrote += ret; in phDal4Nfc_i2c_write()
259 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()