Searched refs:numWrote (Results 1 – 2 of 2) sorted by relevance
237 int numWrote = 0; in phDal4Nfc_i2c_write() local242 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()
383 int numWrote = 0; in phDal4Nfc_uart_write() local388 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()