Searched refs:ring_buffer_t (Results 1 – 6 of 6) sorted by relevance
/device/soc/chipsea/cst85/liteos_m/sdk/modules/common/api/ |
D | ring_buffer.h | 41 } ring_buffer_t; typedef 50 int ring_buffer_init(ring_buffer_t *ring_buffer, uint8_t *storage, uint32_t size); 57 int ring_buffer_deinit(ring_buffer_t *ring_buffer); 64 int ring_buffer_reset(ring_buffer_t *ring_buffer); 71 int ring_buffer_empty(ring_buffer_t *ring_buffer); 78 uint32_t ring_buffer_bytes_used(ring_buffer_t *ring_buffer); 85 uint32_t ring_buffer_bytes_free(ring_buffer_t *ring_buffer); 94 int ring_buffer_write(ring_buffer_t *ring_buffer, uint8_t *data, uint32_t length); 103 int ring_buffer_read(ring_buffer_t *ring_buffer, uint8_t *buffer, uint32_t length); 115 int ring_buffer_peek(ring_buffer_t * ring_buffer, uint32_t length, uint8_t **data1, uint32_t *lengt…
|
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/libraries/ring_buffer/ |
D | ring_buffer.h | 56 } ring_buffer_t; typedef 78 bool ring_buffer_init(ring_buffer_t *p_ring_buff, uint8_t *p_buff, uint32_t buff_size); 91 uint32_t ring_buffer_write(ring_buffer_t *p_ring_buff, uint8_t const *p_wr_data, uint32_t length); 104 uint32_t ring_buffer_read(ring_buffer_t *p_ring_buff, uint8_t *p_rd_data, uint32_t length); 117 uint32_t ring_buffer_pick(ring_buffer_t *p_ring_buff, uint8_t *p_rd_data, uint32_t length); 127 uint32_t ring_buffer_surplus_space_get(ring_buffer_t *p_ring_buff); 138 uint32_t ring_buffer_items_count_get(ring_buffer_t *p_ring_buff); 147 void ring_buffer_clean(ring_buffer_t *p_ring_buff); 159 bool ring_buffer_is_reach_left_threshold(ring_buffer_t *p_ring_buff, uint32_t letf_threshold);
|
D | ring_buffer.c | 57 bool ring_buffer_init(ring_buffer_t *p_ring_buff, uint8_t *p_buff, uint32_t buff_size) in ring_buffer_init() 71 uint32_t ring_buffer_write(ring_buffer_t *p_ring_buff, uint8_t const *p_wr_data, uint32_t length) in ring_buffer_write() 115 uint32_t ring_buffer_read(ring_buffer_t *p_ring_buff, uint8_t *p_rd_data, uint32_t length) in ring_buffer_read() 152 uint32_t ring_buffer_pick(ring_buffer_t *p_ring_buff, uint8_t *p_rd_data, uint32_t length) in ring_buffer_pick() 182 uint32_t ring_buffer_items_count_get(ring_buffer_t *p_ring_buff) in ring_buffer_items_count_get() 194 uint32_t ring_buffer_surplus_space_get(ring_buffer_t *p_ring_buff) in ring_buffer_surplus_space_get() 213 bool ring_buffer_is_reach_left_threshold(ring_buffer_t *p_ring_buff, uint32_t letf_threshold) in ring_buffer_is_reach_left_threshold() 225 void ring_buffer_clean(ring_buffer_t *p_ring_buff) in ring_buffer_clean()
|
/device/soc/chipsea/cst85/liteos_m/sdk/modules/common/src/ |
D | ring_buffer.c | 33 int ring_buffer_init(ring_buffer_t *ring_buffer, uint8_t *storage, uint32_t size) in ring_buffer_init() 48 int ring_buffer_deinit(ring_buffer_t *ring_buffer) in ring_buffer_deinit() 63 int ring_buffer_reset(ring_buffer_t *ring_buffer) in ring_buffer_reset() 76 uint32_t ring_buffer_bytes_used(ring_buffer_t *ring_buffer) in ring_buffer_bytes_used() 81 int ring_buffer_empty(ring_buffer_t *ring_buffer) in ring_buffer_empty() 86 uint32_t ring_buffer_bytes_free(ring_buffer_t *ring_buffer) in ring_buffer_bytes_free() 91 int ring_buffer_write(ring_buffer_t *ring_buffer, uint8_t *data, uint32_t length) in ring_buffer_write() 122 int ring_buffer_read(ring_buffer_t *ring_buffer, uint8_t *buffer, uint32_t length) in ring_buffer_read() 163 int ring_buffer_peek(ring_buffer_t *ring_buffer, uint32_t length, uint8_t **data1, uint32_t *length… in ring_buffer_peek()
|
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/libraries/app_log/ |
D | app_log_store.c | 95 static ring_buffer_t s_log_store_rbuf;
|
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/app_drivers/src/ |
D | app_uart.c | 77 ring_buffer_t tx_ring_buffer;
|