HomeSort by relevance Sort by last modified time
    Searched refs:numWrote (Results 1 - 3 of 3) sorted by null

  /external/libnfc-nci/halimpl/pn54x/tml/
phTmlNfc_i2c.c 254 ** Returns numWrote - number of successfully written bytes
261 int numWrote = 0;
273 while (numWrote < nNbBytesToWrite)
277 if(nNbBytesToWrite - numWrote > FRAGMENTSIZE_MAX)
279 numBytes = numWrote+ FRAGMENTSIZE_MAX;
286 ret = write((intptr_t)pDevHandle, pBuffer + numWrote, numBytes - numWrote);
289 numWrote += ret;
290 if(fragmentation_enabled == I2C_FRAGMENTATION_ENABLED && numWrote < nNbBytesToWrite)
311 return numWrote;
    [all...]
  /external/libnfc-nxp/Linux_x86/
phDal4Nfc_i2c.c 235 int numWrote = 0;
240 while (numWrote < nNbBytesToWrite) {
241 ret = write(gI2cPortContext.nHandle, pBuffer + numWrote, nNbBytesToWrite - numWrote);
244 numWrote += ret;
257 return numWrote;
phDal4Nfc_uart.c 383 int numWrote = 0;
388 while (numWrote < nNbBytesToWrite) {
389 ret = write(gComPortContext.nHandle, pBuffer + numWrote, nNbBytesToWrite - numWrote);
392 numWrote += ret;
405 return numWrote;

Completed in 150 milliseconds