Lines Matching refs:bytesRead
110 int bytesRead = i2cRead(fidI2c, buffer, 3); in I2cWorkerThread() local
112 if (bytesRead == 3) { in I2cWorkerThread()
122 bytesRead = i2cRead(fidI2c, buffer + 2, 1); in I2cWorkerThread()
123 if (bytesRead == 1) { in I2cWorkerThread()
130 bytesRead = i2cRead(fidI2c, buffer + 1, 2); in I2cWorkerThread()
131 if (bytesRead == 2) { in I2cWorkerThread()
141 bytesRead = 0; in I2cWorkerThread()
144 bytesRead = i2cRead(fidI2c, buffer + 3, remaining); in I2cWorkerThread()
146 if (bytesRead == remaining) { in I2cWorkerThread()
147 DispHal("RX DATA", buffer, 3 + bytesRead); in I2cWorkerThread()
148 HalSendUpstream(hHAL, buffer, 3 + bytesRead); in I2cWorkerThread()