Home
last modified time | relevance | path

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

/hardware/nxp/nfc/pn8x/halimpl/tml/
DphTmlNfc_i2c.cc229 int numWrote = 0; in phTmlNfc_i2c_write() local
241 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()
/hardware/nxp/uwb/halimpl/tml/
DphTmlUwb_spi.cc84 ssize_t numWrote; in phTmlUwb_spi_write() local
96 numWrote = write((intptr_t)pDevHandle, pBuffer, nNbBytesToWrite); in phTmlUwb_spi_write()
97 if (numWrote == -1) { in phTmlUwb_spi_write()
100 } else if (numWrote != nNbBytesToWrite) { in phTmlUwb_spi_write()
101 NXPLOG_TML_E("_spi_write() size mismatch %zd != %zd", nNbBytesToWrite, numWrote); in phTmlUwb_spi_write()
104 return numWrote; in phTmlUwb_spi_write()
/hardware/nxp/nfc/snxxx/halimpl/tml/transport/
DNfccI2cTransport.cc269 int numWrote = 0; in Write() local
281 while (numWrote < nNbBytesToWrite) { in Write()
284 if (nNbBytesToWrite - numWrote > gpphTmlNfc_Context->fragment_len) { in Write()
285 numBytes = numWrote + gpphTmlNfc_Context->fragment_len; in Write()
290 ret = write((int)(intptr_t)pDevHandle, pBuffer + numWrote, in Write()
291 numBytes - numWrote); in Write()
293 numWrote += ret; in Write()
295 numWrote < nNbBytesToWrite) { in Write()
310 return numWrote; in Write()
/hardware/nxp/secure_element/pn8x/libese-spi/p73/pal/spi/
DphNxpEsePal_spi.cpp229 int numWrote = 0; in phPalEse_spi_write() local
243 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()
/hardware/nxp/secure_element/pn8x/libese-spi/p73/pal/
DphNxpEsePal.cpp137 int numWrote = 0; in phPalEse_write() local
143 numWrote = phPalEse_spi_write(pDevHandle, pBuffer, nNbBytesToWrite); in phPalEse_write()
147 return numWrote; in phPalEse_write()
/hardware/nxp/secure_element/snxxx/libese-spi/p73/pal/spi/
DEseSpiTransport.cpp276 int numWrote = 0; in Write() local
298 while (numWrote < nNbBytesToWrite) { in Write()
301 ret = write((intptr_t)pDevHandle, pBuffer + numWrote, in Write()
302 nNbBytesToWrite - numWrote); in Write()
307 numWrote += ret; in Write()
333 return numWrote; in Write()
/hardware/nxp/secure_element/snxxx/libese-spi/p73/pal/
DphNxpEsePal.cpp160 int numWrote = 0; in phPalEse_write() local
165 numWrote = gpTransportObj->Write(pDevHandle, pBuffer, nNbBytesToWrite); in phPalEse_write()
166 return numWrote; in phPalEse_write()
/hardware/nxp/uwb/halimpl/hal/sr1xx/
DphNxpUciHal_fwd.cc762 int numWrote = 0; in phHbci_PutApdu() local
768 numWrote += ret; in phHbci_PutApdu()
783 numWrote += ret; in phHbci_PutApdu()
/hardware/nxp/uwb/halimpl/hal/sr200/
Dfwd_hdll.cc1927 int numWrote = 0; in phHdll_PutApdu() local
1934 numWrote += ret; in phHdll_PutApdu()