Searched refs:cmd_idx (Results 1 – 7 of 7) sorted by relevance
/hal_espressif-3.6.0/components/driver/ |
D | i2c.c | 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() [all …]
|
/hal_espressif-3.6.0/components/hal/include/hal/ |
D | i2c_hal.h | 66 #define i2c_hal_write_cmd_reg(hal,cmd, cmd_idx) i2c_ll_write_cmd_reg((hal)->dev,cmd,cmd_idx) argument
|
/hal_espressif-3.6.0/components/hal/esp32/include/hal/ |
D | i2c_ll.h | 302 static inline void i2c_ll_write_cmd_reg(i2c_dev_t *hw, i2c_hw_cmd_t cmd, int cmd_idx) in i2c_ll_write_cmd_reg() argument 304 hw->command[cmd_idx].val = cmd.val; in i2c_ll_write_cmd_reg()
|
/hal_espressif-3.6.0/components/hal/esp32s2/include/hal/ |
D | i2c_ll.h | 309 static inline void i2c_ll_write_cmd_reg(i2c_dev_t *hw, i2c_hw_cmd_t cmd, int cmd_idx) in i2c_ll_write_cmd_reg() argument 311 hw->command[cmd_idx].val = cmd.val; in i2c_ll_write_cmd_reg()
|
/hal_espressif-3.6.0/components/hal/esp32h2/include/hal/ |
D | i2c_ll.h | 320 static inline void i2c_ll_write_cmd_reg(i2c_dev_t *hw, i2c_hw_cmd_t cmd, int cmd_idx) in i2c_ll_write_cmd_reg() argument 322 hw->command[cmd_idx].val = cmd.val; in i2c_ll_write_cmd_reg()
|
/hal_espressif-3.6.0/components/hal/esp32s3/include/hal/ |
D | i2c_ll.h | 328 static inline void i2c_ll_write_cmd_reg(i2c_dev_t *hw, i2c_hw_cmd_t cmd, int cmd_idx) in i2c_ll_write_cmd_reg() argument 333 commands[cmd_idx].val = cmd.val; in i2c_ll_write_cmd_reg()
|
/hal_espressif-3.6.0/components/hal/esp32c3/include/hal/ |
D | i2c_ll.h | 337 static inline void i2c_ll_write_cmd_reg(i2c_dev_t *hw, i2c_hw_cmd_t cmd, int cmd_idx) in i2c_ll_write_cmd_reg() argument 339 hw->command[cmd_idx].val = cmd.val; in i2c_ll_write_cmd_reg()
|