Home
last modified time | relevance | path

Searched refs:ring_buf_space_get (Results 1 – 19 of 19) sorted by relevance

/Zephyr-Core-3.6.0/include/zephyr/sys/
Dring_buffer.h221 static inline uint32_t ring_buf_space_get(struct ring_buf *buf) in ring_buf_space_get() function
235 return ring_buf_space_get(buf) / 4; in ring_buf_item_space_get()
/Zephyr-Core-3.6.0/subsys/tracing/
Dtracing_buffer.c68 return ring_buf_space_get(&tracing_ring_buf); in tracing_buffer_space_get()
/Zephyr-Core-3.6.0/samples/subsys/usb/cdc_acm/src/
Dmain.c69 size_t len = MIN(ring_buf_space_get(&ringbuf), in interrupt_handler()
/Zephyr-Core-3.6.0/drivers/serial/
Duart_emul.c192 ready = ring_buf_space_get(data->tx_rb) > 0; in uart_emul_irq_tx_ready()
235 have_work = have_work || ring_buf_space_get(data->tx_rb) > 0; in uart_emul_irq_handler()
266 submit_irq_work = ring_buf_space_get(data->tx_rb) > 0; in uart_emul_irq_tx_enable()
Dserial_test.c58 return ring_buf_space_get(data->written) != 0; in is_irq_tx_pending()
133 bool ready = (ring_buf_space_get(data->written) != 0); in irq_tx_ready()
/Zephyr-Core-3.6.0/subsys/usb/device/class/
Dcdc_acm.c303 ep, size, dev_data, ring_buf_space_get(dev_data->rx_ringbuf)); in cdc_acm_read_cb()
321 if (ring_buf_space_get(dev_data->rx_ringbuf) < sizeof(dev_data->rx_buf)) { in cdc_acm_read_cb()
525 dev_data, len, ring_buf_space_get(dev_data->tx_ringbuf)); in cdc_acm_fifo_fill()
562 dev, size, ring_buf_space_get(dev_data->rx_ringbuf)); in cdc_acm_fifo_read()
571 if (ring_buf_space_get(dev_data->rx_ringbuf) >= CDC_ACM_BUFFER_SIZE) { in cdc_acm_fifo_read()
/Zephyr-Core-3.6.0/lib/utils/
Dring_buffer.c26 free_space = ring_buf_space_get(buf); in ring_buf_put_claim()
194 space = ring_buf_space_get(buf); in ring_buf_item_put()
/Zephyr-Core-3.6.0/tests/subsys/modem/backends/uart/src/
Dmain.c87 uint32_t space = ring_buf_space_get(&transmit_ring_buf); in fill_transmit_ring_buf()
/Zephyr-Core-3.6.0/subsys/usb/device_next/class/
Dusbd_cdc_acm.c519 if (ring_buf_space_get(data->rx_fifo.rb) < cdc_acm_get_bulk_mps(c_nd)) { in cdc_acm_rx_fifo_handler()
605 dev, len, ring_buf_space_get(data->tx_fifo.rb)); in cdc_acm_fifo_fill()
639 if (ring_buf_space_get(data->tx_fifo.rb)) { in cdc_acm_irq_tx_ready()
/Zephyr-Core-3.6.0/drivers/console/
Duart_mux.c509 dev_data, len, ring_buf_space_get(dev_data->tx_ringbuf)); in uart_mux_fifo_fill()
545 ring_buf_space_get(dev_data->rx_ringbuf)); in uart_mux_fifo_read()
/Zephyr-Core-3.6.0/subsys/modem/
Dmodem_cmux.c223 space = ring_buf_space_get(&cmux->transmit_rb) - MODEM_CMUX_FRAME_SIZE_MAX; in modem_cmux_transmit_frame()
277 space = ring_buf_space_get(&cmux->transmit_rb); in modem_cmux_transmit_cmd_frame()
307 space = ring_buf_space_get(&cmux->transmit_rb); in modem_cmux_transmit_data_frame()
Dmodem_ppp.c350 while (ring_buf_space_get(&ppp->transmit_rb) > 0) { in modem_ppp_send_handler()
/Zephyr-Core-3.6.0/tests/lib/ringbuffer/src/
Dmain.c113 ring_buf_space_get(&ring_buf1)); in ZTEST()
759 space = ring_buf_space_get(&ringbuf_raw); in ZTEST()
/Zephyr-Core-3.6.0/modules/openthread/platform/
Dble.c127 if (ring_buf_space_get(&ot_plat_ble_ring_buf) >= len) { in ot_plat_ble_queue_msg()
/Zephyr-Core-3.6.0/drivers/net/
Dppp.c176 space_left = ring_buf_space_get(&context->rx_ringbuf); in uart_callback()
260 ret = ring_buf_space_get(&ppp->rx_ringbuf); in uart_recovery()
/Zephyr-Core-3.6.0/samples/bluetooth/broadcast_audio_sink/src/
Dmain.c172 if (ring_buf_space_get(&stream_for_usb->audio_ring_buf)) { in lc3_decoder_thread()
229 if (ring_buf_space_get(&sink_stream->audio_ring_buf) == 0) { in do_lc3_decode()
/Zephyr-Core-3.6.0/subsys/shell/backends/
Dshell_mqtt.c612 size = ring_buf_space_get(&sh_mqtt->rx_rb); in mqtt_evt_handler()
/Zephyr-Core-3.6.0/doc/kernel/data_structures/
Dring_buffers.rst104 using either :c:func:`ring_buf_space_get` or :c:func:`ring_buf_item_space_get`
/Zephyr-Core-3.6.0/subsys/net/lib/lwm2m/
Dlwm2m_registry.c2260 if (ring_buf_space_get(&cache_entry->rb) < element_size) { in lwm2m_cache_write()