Lines Matching refs:r
178 int r = -1; in hal_i2c_receive() local
180 while (--retries > 0 && r != 1) in hal_i2c_receive()
182 … r = I2cMcuReadBuffer((I2c_t *)NULL, iface->mIfaceCFG->atcai2c.slave_address, lengthPackage, 1); in hal_i2c_receive()
185 if (r != 1) in hal_i2c_receive()
201 r = -1; in hal_i2c_receive()
203 while (--retries > 0 && r != 1) in hal_i2c_receive()
205 …r = I2cMcuReadBuffer((I2c_t *)NULL, iface->mIfaceCFG->atcai2c.slave_address, rxdata + 1, bytesToRe… in hal_i2c_receive()
208 if (r != 1) in hal_i2c_receive()
237 int r = I2cMcuWriteBuffer((I2c_t *)NULL, 0x00, emptybuff, (size_t)0); in hal_i2c_wake() local
245 r = -1; in hal_i2c_wake()
247 while (--retries > 0 && r != 1) in hal_i2c_wake()
249 r = I2cMcuReadBuffer((I2c_t *)NULL, iface->mIfaceCFG->atcai2c.slave_address, rx_buffer, 4); in hal_i2c_wake()