Lines Matching refs:cmd_link
148 i2c_cmd_desc_t cmd_link; /*!< I2C command link */ member
331 p_i2c->cmd_link.cur = NULL; in i2c_driver_install()
332 p_i2c->cmd_link.head = NULL; in i2c_driver_install()
333 p_i2c->cmd_link.free = NULL; in i2c_driver_install()
1278 if (p_i2c->cmd_link.head != NULL && p_i2c->status == I2C_STATUS_READ) { in i2c_master_cmd_begin_static()
1279 i2c_cmd_t *cmd = &p_i2c->cmd_link.head->cmd; in i2c_master_cmd_begin_static()
1288 p_i2c->cmd_link.head = p_i2c->cmd_link.head->next; in i2c_master_cmd_begin_static()
1289 p_i2c->cmd_link.head->cmd.bytes_used = 0; in i2c_master_cmd_begin_static()
1300 if (p_i2c->cmd_link.head == NULL) { in i2c_master_cmd_begin_static()
1301 p_i2c->cmd_link.cur = NULL; in i2c_master_cmd_begin_static()
1311 while (p_i2c->cmd_link.head) { in i2c_master_cmd_begin_static()
1312 i2c_cmd_t *cmd = &p_i2c->cmd_link.head->cmd; in i2c_master_cmd_begin_static()
1344 p_i2c->cmd_link.head = p_i2c->cmd_link.head->next; in i2c_master_cmd_begin_static()
1345 if(p_i2c->cmd_link.head) { in i2c_master_cmd_begin_static()
1346 p_i2c->cmd_link.head->cmd.bytes_used = 0; in i2c_master_cmd_begin_static()
1365 p_i2c->cmd_link.head = p_i2c->cmd_link.head->next; 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()
1381 for (const i2c_cmd_link_t *cmd_link = link; in is_cmd_link_buffer_internal() local
1382 cmd_link != NULL && is_internal; in is_cmd_link_buffer_internal()
1383 cmd_link = cmd_link->next) in is_cmd_link_buffer_internal()
1386 …const bool data_pointer = (cmd_link->cmd.hw_cmd.op_code == I2C_LL_CMD_WRITE && !i2c_cmd_is_single_… in is_cmd_link_buffer_internal()
1387 || cmd_link->cmd.hw_cmd.op_code == I2C_LL_CMD_READ; in is_cmd_link_buffer_internal()
1389 …is_internal &= !data_pointer || cmd_link->cmd.data == NULL || esp_ptr_internal(cmd_link->cmd.data); in is_cmd_link_buffer_internal()
1436 p_i2c->cmd_link.free = cmd->free; in i2c_master_cmd_begin()
1437 p_i2c->cmd_link.cur = cmd->cur; in i2c_master_cmd_begin()
1438 p_i2c->cmd_link.head = cmd->head; in i2c_master_cmd_begin()