Lines Matching refs:totalBtyesToRead
124 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 read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read()
174 if (ret_Read != totalBtyesToRead - numRead) { in phTmlNfc_i2c_read()
182 totalBtyesToRead = in phTmlNfc_i2c_read()
185 totalBtyesToRead = in phTmlNfc_i2c_read()
188 if ((totalBtyesToRead - numRead) != 0) { in phTmlNfc_i2c_read()
190 totalBtyesToRead - numRead); in phTmlNfc_i2c_read()