Searched refs:numWrote (Results 1 – 3 of 3) sorted by relevance
229 int numWrote = 0; in phTmlNfc_i2c_write() local241 while (numWrote < nNbBytesToWrite) { in phTmlNfc_i2c_write()244 if (nNbBytesToWrite - numWrote > FRAGMENTSIZE_MAX) { in phTmlNfc_i2c_write()245 numBytes = numWrote + FRAGMENTSIZE_MAX; in phTmlNfc_i2c_write()250 ret = write((intptr_t)pDevHandle, pBuffer + numWrote, numBytes - numWrote); in phTmlNfc_i2c_write()252 numWrote += ret; in phTmlNfc_i2c_write()254 numWrote < nNbBytesToWrite) { in phTmlNfc_i2c_write()269 return numWrote; in phTmlNfc_i2c_write()
229 int numWrote = 0; in phPalEse_spi_write() local243 while (numWrote < nNbBytesToWrite) { in phPalEse_spi_write()246 ret = write((intptr_t)pDevHandle, pBuffer + numWrote, in phPalEse_spi_write()247 nNbBytesToWrite - numWrote); in phPalEse_spi_write()252 numWrote += ret; in phPalEse_spi_write()281 return numWrote; in phPalEse_spi_write()
137 int numWrote = 0; in phPalEse_write() local143 numWrote = phPalEse_spi_write(pDevHandle, pBuffer, nNbBytesToWrite); in phPalEse_write()147 return numWrote; in phPalEse_write()