Home
last modified time | relevance | path

Searched refs:ring_buf_size_get (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/tests/lib/ringbuffer/src/
Dmain.c673 size = ring_buf_size_get(&ringbuf_raw); in ZTEST()
678 size = ring_buf_size_get(&ringbuf_raw); in ZTEST()
684 size = ring_buf_size_get(&ringbuf_raw); in ZTEST()
692 size = ring_buf_size_get(&ringbuf_raw); in ZTEST()
714 size = ring_buf_size_get(&ringbuf_raw); in ZTEST()
728 size = ring_buf_size_get(&ringbuf_raw); in ZTEST()
/Zephyr-latest/subsys/modem/backends/
Dmodem_backend_uart_isr.c129 return ring_buf_size_get(&backend->isr.receive_rdb[0]) + in get_receive_buf_length()
130 ring_buf_size_get(&backend->isr.receive_rdb[1]); in get_receive_buf_length()
Dmodem_backend_uart_async.c47 return ring_buf_size_get(&backend->async.receive_rb); in get_receive_buf_length()
/Zephyr-latest/lib/utils/
Dring_buffer.c93 available_size = ring_buf_size_get(buf); in ring_buf_get_claim()
155 size = MIN(size, ring_buf_size_get(buf)); in ring_buf_peek()
/Zephyr-latest/drivers/serial/
Duart_emul.c116 (data->tx_data_ready_cb)(dev, ring_buf_size_get(data->tx_rb), data->user_data); in uart_emul_tx_data_ready()
124 emul->api->tx_data_ready(dev, ring_buf_size_get(data->tx_rb), emul->target); in uart_emul_tx_data_ready()
224 bytes_to_read = MIN(config->latch_buffer_size, ring_buf_size_get(data->rx_rb)); in uart_emul_fifo_read()
966 count = ring_buf_size_get(drv_data->rx_rb); in uart_emul_flush_rx_data()
979 count = ring_buf_size_get(drv_data->tx_rb); in uart_emul_flush_tx_data()
Dserial_test.c254 return ring_buf_size_get(data->written); in serial_vnd_out_data_size_get()
/Zephyr-latest/include/zephyr/sys/
Dring_buffer.h254 static inline uint32_t ring_buf_size_get(struct ring_buf *buf) in ring_buf_size_get() function
/Zephyr-latest/drivers/hdlc_rcp_if/
Dhdlc_rcp_if_uart.c130 if (ring_buf_size_get(ot_uart.rx_ringbuf) > 0) { in uart_callback()
/Zephyr-latest/subsys/shell/backends/
Dshell_mqtt.c71 uint32_t size = ring_buf_size_get(&sh_mqtt->rx_rb); in sh_mqtt_rx_rb_flush()
806 if (ring_buf_size_get(&sh_mqtt->rx_rb) > 0) { in read_data()
/Zephyr-latest/subsys/modem/
Dmodem_ppp.c319 return ring_buf_size_get(&ppp->transmit_rb); in get_transmit_buf_length()
Dmodem_cmux.c160 return ring_buf_size_get(&cmux->transmit_rb); in modem_cmux_get_transmit_buf_length()
1044 return ring_buf_size_get(&dlci->receive_rb); in modem_cmux_dlci_get_receive_buf_length()
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_cdc_acm.c715 dev, size, ring_buf_size_get(data->rx_fifo.rb)); in cdc_acm_fifo_read()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_registry.c1733 bytes_available = ring_buf_size_get((struct ring_buf *) &cache_entry->rb); in lwm2m_cache_size()
Dlwm2m_message_handling.c3503 bytes_available += ring_buf_size_get(&cache_temp->read_info[i].cache_data->rb); in init_next_pending_timeseries_data()
/Zephyr-latest/doc/releases/
Drelease-notes-2.7.rst1493 * :github:`37145` - sys: ring_buffer: ring_buf_peek() and ring_buf_size_get()