Searched refs:size_rem (Results 1 – 1 of 1) sorted by relevance
1543 size_t size_rem = max_size; in i2c_slave_read_buffer() local1553 while (size_rem && ticks_rem <= ticks_to_wait) { in i2c_slave_read_buffer()1554 …_t *pdata = (uint8_t *) xRingbufferReceiveUpTo(p_i2c->rx_ring_buf, &size, ticks_to_wait, size_rem); in i2c_slave_read_buffer()1559 size_rem -= size; in i2c_slave_read_buffer()1566 return max_size - size_rem; in i2c_slave_read_buffer()