Lines Matching refs:i2c_cmd_desc_t
80 #define I2C_TRANS_BUF_MINIMUM_SIZE (sizeof(i2c_cmd_desc_t) + \
120 } i2c_cmd_desc_t; typedef
148 i2c_cmd_desc_t cmd_link; /*!< I2C command link */
1016 static inline bool i2c_cmd_link_is_static(i2c_cmd_desc_t *cmd_desc) in i2c_cmd_link_is_static()
1023 if (buffer == NULL || size <= sizeof(i2c_cmd_desc_t)) { in i2c_cmd_link_create_static()
1027 i2c_cmd_desc_t *cmd_desc = (i2c_cmd_desc_t *) buffer; in i2c_cmd_link_create_static()
1032 cmd_desc->free_size = size - sizeof(i2c_cmd_desc_t); in i2c_cmd_link_create_static()
1040 i2c_cmd_desc_t *cmd_desc = (i2c_cmd_desc_t *) calloc(1, sizeof(i2c_cmd_desc_t)); in i2c_cmd_link_create()
1042 …i2c_cmd_desc_t *cmd_desc = (i2c_cmd_desc_t *) heap_caps_calloc(1, sizeof(i2c_cmd_desc_t), MALLOC_C… in i2c_cmd_link_create()
1049 i2c_cmd_desc_t *cmd = (i2c_cmd_desc_t *) cmd_handle; in i2c_cmd_link_delete_static()
1059 i2c_cmd_desc_t *cmd = (i2c_cmd_desc_t *) cmd_handle; in i2c_cmd_link_delete()
1080 static esp_err_t i2c_cmd_allocate(i2c_cmd_desc_t *cmd_desc, size_t n, size_t size, void** outptr) in i2c_cmd_allocate()
1112 static inline void i2c_cmd_log_alloc_error(i2c_cmd_desc_t *cmd_desc) in i2c_cmd_log_alloc_error()
1124 i2c_cmd_desc_t *cmd_desc = (i2c_cmd_desc_t *) cmd_handle; in i2c_cmd_link_append()
1406 !is_cmd_link_buffer_internal(((const i2c_cmd_desc_t *)cmd_handle)->head) ) { in i2c_master_cmd_begin()
1431 const i2c_cmd_desc_t *cmd = (const i2c_cmd_desc_t *) cmd_handle; in i2c_master_cmd_begin()