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 248 ** Returns numWrote - number of successfully written bytes
255 int numWrote = 0;
267 while (numWrote < nNbBytesToWrite)
271 if(nNbBytesToWrite - numWrote > FRAGMENTSIZE_MAX)
273 numBytes = numWrote+ FRAGMENTSIZE_MAX;
280 ret = write((intptr_t)pDevHandle, pBuffer + numWrote, numBytes - numWrote);
283 numWrote += ret;
284 if(fragmentation_enabled == I2C_FRAGMENTATION_ENABLED && numWrote < nNbBytesToWrite)
305 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 57 milliseconds