Lines Matching refs:bytes_used
104 size_t bytes_used; member
1280 … i2c_hal_read_rxfifo(&(i2c_context[i2c_num].hal), cmd->data + cmd->bytes_used, p_i2c->rx_cnt); in i2c_master_cmd_begin_static()
1282 cmd->bytes_used += p_i2c->rx_cnt; in i2c_master_cmd_begin_static()
1285 if (cmd->bytes_used != cmd->total_bytes) { in i2c_master_cmd_begin_static()
1289 p_i2c->cmd_link.head->cmd.bytes_used = 0; in i2c_master_cmd_begin_static()
1313 const size_t remaining_bytes = cmd->total_bytes - cmd->bytes_used; in i2c_master_cmd_begin_static()
1326 write_pr = cmd->data + cmd->bytes_used; in i2c_master_cmd_begin_static()
1327 cmd->bytes_used += fifo_fill; in i2c_master_cmd_begin_static()
1343 if (i2c_cmd_is_single_byte(cmd) || cmd->total_bytes == cmd->bytes_used) { in i2c_master_cmd_begin_static()
1346 p_i2c->cmd_link.head->cmd.bytes_used = 0; in i2c_master_cmd_begin_static()
1435 cmd->head->cmd.bytes_used = 0; in i2c_master_cmd_begin()