Home
last modified time | relevance | path

Searched refs:ret_Read (Results 1 – 4 of 4) sorted by relevance

/hardware/nxp/nfc/pn8x/halimpl/tml/
DphTmlNfc_i2c.cc119 int ret_Read; in phTmlNfc_i2c_read() local
154 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read()
155 if (ret_Read > 0) { in phTmlNfc_i2c_read()
156 numRead += ret_Read; in phTmlNfc_i2c_read()
157 } else if (ret_Read == 0) { in phTmlNfc_i2c_read()
172 ret_Read = read((intptr_t)pDevHandle, pBuffer + numRead, in phTmlNfc_i2c_read()
174 if (ret_Read != totalBtyesToRead - numRead) { in phTmlNfc_i2c_read()
178 numRead += ret_Read; in phTmlNfc_i2c_read()
189 ret_Read = read((intptr_t)pDevHandle, (pBuffer + numRead), in phTmlNfc_i2c_read()
191 if (ret_Read > 0) { in phTmlNfc_i2c_read()
[all …]
/hardware/nxp/nfc/snxxx/halimpl/tml/transport/
DNfccI2cTransport.cc151 int ret_Read; in Read() local
186 ret_Read = in Read()
188 if (ret_Read > 0 && !(pBuffer[0] == 0xFF && pBuffer[1] == 0xFF)) { in Read()
189 numRead += ret_Read; in Read()
190 } else if (ret_Read == 0) { in Read()
211 ret_Read = read((int)(intptr_t)pDevHandle, (pBuffer + numRead), in Read()
214 if (ret_Read != totalBtyesToRead - numRead) { in Read()
218 numRead += ret_Read; in Read()
229 ret_Read = read((int)(intptr_t)pDevHandle, (pBuffer + numRead), in Read()
231 if (ret_Read > 0) { in Read()
[all …]
/hardware/nxp/uwb/halimpl/tml/
DphTmlUwb_spi.cc124 ssize_t ret_Read; in phTmlUwb_spi_read() local
131 ret_Read = read((intptr_t)pDevHandle, pBuffer, nNbBytesToRead); in phTmlUwb_spi_read()
132 if (ret_Read == -1) { in phTmlUwb_spi_read()
137 ret_Read = 0; in phTmlUwb_spi_read()
140 return ret_Read; in phTmlUwb_spi_read()
/hardware/nxp/uwb/halimpl/hal/sr1xx/
DphNxpUciHal_fwd.cc716 int ret_Read; in phHbci_GetApdu() local
721 ret_Read = read((intptr_t)tPalConfig.pDevHandle, (void*)pApdu, (sz)); in phHbci_GetApdu()
722 if (ret_Read < 0) in phHbci_GetApdu()
729 phNxpUciHal_print_packet(NXP_TML_FW_DNLD_RSP_UWBS_2_AP,pApdu,ret_Read); in phHbci_GetApdu()