Searched refs:totalBtyesToRead (Results 1 – 3 of 3) sorted by relevance
124 uint16_t totalBtyesToRead = 0; in phTmlNfc_i2c_read() local132 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 …]
156 uint16_t totalBtyesToRead = 0; in Read() local164 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 …]
808 uint16_t totalBtyesToRead = 0; in phHbci_GetChipIdInfo() local827 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() local883 … totalBtyesToRead = (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()