Lines Matching refs:cmd_idx
143 int cmd_idx; /*!< record current command index, for master mode */ member
264 p_i2c->cmd_idx = 0; in i2c_driver_install()
1286 p_i2c->cmd_idx = 0; in i2c_master_cmd_begin_static()
1339 i2c_hal_write_cmd_reg(&(i2c_context[i2c_num].hal), hw_cmd, p_i2c->cmd_idx); in i2c_master_cmd_begin_static()
1340 i2c_hal_write_cmd_reg(&(i2c_context[i2c_num].hal), hw_end_cmd, p_i2c->cmd_idx + 1); in i2c_master_cmd_begin_static()
1342 p_i2c->cmd_idx = 0; in i2c_master_cmd_begin_static()
1356 i2c_hal_write_cmd_reg(&(i2c_context[i2c_num].hal), hw_cmd, p_i2c->cmd_idx); in i2c_master_cmd_begin_static()
1357 i2c_hal_write_cmd_reg(&(i2c_context[i2c_num].hal), hw_end_cmd, p_i2c->cmd_idx + 1); in i2c_master_cmd_begin_static()
1362 i2c_hal_write_cmd_reg(&(i2c_context[i2c_num].hal), hw_cmd, p_i2c->cmd_idx); in i2c_master_cmd_begin_static()
1364 p_i2c->cmd_idx++; in i2c_master_cmd_begin_static()
1366 if (p_i2c->cmd_link.head == NULL || p_i2c->cmd_idx >= 15) { in i2c_master_cmd_begin_static()
1367 p_i2c->cmd_idx = 0; in i2c_master_cmd_begin_static()
1440 p_i2c->cmd_idx = 0; in i2c_master_cmd_begin()