Searched refs:totalBtyesToRead (Results 1 – 1 of 1) sorted by relevance
129 uint16_t totalBtyesToRead = 0; in phTmlNfc_i2c_read() local140 totalBtyesToRead = NORMAL_MODE_HEADER_LEN; in phTmlNfc_i2c_read()144 totalBtyesToRead = FW_DNLD_HEADER_LEN; in phTmlNfc_i2c_read()168 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read()186 totalBtyesToRead = NORMAL_MODE_HEADER_LEN; in phTmlNfc_i2c_read()190 totalBtyesToRead = FW_DNLD_HEADER_LEN; in phTmlNfc_i2c_read()193 if(numRead < totalBtyesToRead) in phTmlNfc_i2c_read()195 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read()196 if (ret_Read != totalBtyesToRead - numRead) in phTmlNfc_i2c_read()208 totalBtyesToRead = pBuffer[FW_DNLD_LEN_OFFSET] + FW_DNLD_HEADER_LEN + CRC_LEN; in phTmlNfc_i2c_read()[all …]