Home
last modified time | relevance | path

Searched refs:totalBtyesToRead (Results 1 – 3 of 3) sorted by relevance

/hardware/nxp/nfc/pn8x/halimpl/tml/
DphTmlNfc_i2c.cc124 uint16_t totalBtyesToRead = 0; in phTmlNfc_i2c_read() local
132 totalBtyesToRead = NORMAL_MODE_HEADER_LEN; in phTmlNfc_i2c_read()
134 totalBtyesToRead = FW_DNLD_HEADER_LEN; in phTmlNfc_i2c_read()
154 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read()
166 totalBtyesToRead = NORMAL_MODE_HEADER_LEN; in phTmlNfc_i2c_read()
168 totalBtyesToRead = FW_DNLD_HEADER_LEN; in phTmlNfc_i2c_read()
171 if (numRead < totalBtyesToRead) { in phTmlNfc_i2c_read()
173 totalBtyesToRead - numRead); in phTmlNfc_i2c_read()
174 if (ret_Read != totalBtyesToRead - numRead) { in phTmlNfc_i2c_read()
182 totalBtyesToRead = in phTmlNfc_i2c_read()
[all …]
/hardware/nxp/nfc/snxxx/halimpl/tml/transport/
DNfccI2cTransport.cc156 uint16_t totalBtyesToRead = 0; in Read() local
164 totalBtyesToRead = NORMAL_MODE_HEADER_LEN; in Read()
166 totalBtyesToRead = FW_DNLD_HEADER_LEN; in Read()
187 read((int)(intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in Read()
205 totalBtyesToRead = NORMAL_MODE_HEADER_LEN; in Read()
207 totalBtyesToRead = FW_DNLD_HEADER_LEN; in Read()
210 if (numRead < totalBtyesToRead) { in Read()
212 totalBtyesToRead - numRead); in Read()
214 if (ret_Read != totalBtyesToRead - numRead) { in Read()
222 totalBtyesToRead = in Read()
[all …]
/hardware/nxp/uwb/halimpl/hal/sr1xx/
DphNxpUciHal_fwd.cc808 uint16_t totalBtyesToRead = 0; in phHbci_GetChipIdInfo() local
827 totalBtyesToRead = (hbciData[PHHBCI_MODE_LEN_LSB_OFFSET] | (totalBtyesToReadMsb << 8)); in phHbci_GetChipIdInfo()
829 if (totalBtyesToRead == 0) { in phHbci_GetChipIdInfo()
843 if (phHbci_Success != (ret = phHbci_GetApdu((uint8_t *)&hbciData[0], totalBtyesToRead))) in phHbci_GetChipIdInfo()
863 uint16_t totalBtyesToRead = 0; in phHbci_GetDeviceLcInfo() local
883totalBtyesToRead = (uint16_t)(hbciData[PHHBCI_MODE_LEN_LSB_OFFSET] | (totalBtyesToReadMsb << 8)); in phHbci_GetDeviceLcInfo()
885 if (totalBtyesToRead == 0) { in phHbci_GetDeviceLcInfo()
898 if (phHbci_Success != (ret = phHbci_GetApdu((uint8_t *)&hbciData[0], totalBtyesToRead))) in phHbci_GetDeviceLcInfo()