Searched refs:ring_buf_space_get (Results 1 – 19 of 19) sorted by relevance
/Zephyr-Core-3.6.0/include/zephyr/sys/ |
D | ring_buffer.h | 221 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/ |
D | tracing_buffer.c | 68 return ring_buf_space_get(&tracing_ring_buf); in tracing_buffer_space_get()
|
/Zephyr-Core-3.6.0/samples/subsys/usb/cdc_acm/src/ |
D | main.c | 69 size_t len = MIN(ring_buf_space_get(&ringbuf), in interrupt_handler()
|
/Zephyr-Core-3.6.0/drivers/serial/ |
D | uart_emul.c | 192 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()
|
D | serial_test.c | 58 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/ |
D | cdc_acm.c | 303 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/ |
D | ring_buffer.c | 26 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/ |
D | main.c | 87 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/ |
D | usbd_cdc_acm.c | 519 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/ |
D | uart_mux.c | 509 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/ |
D | modem_cmux.c | 223 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()
|
D | modem_ppp.c | 350 while (ring_buf_space_get(&ppp->transmit_rb) > 0) { in modem_ppp_send_handler()
|
/Zephyr-Core-3.6.0/tests/lib/ringbuffer/src/ |
D | main.c | 113 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/ |
D | ble.c | 127 if (ring_buf_space_get(&ot_plat_ble_ring_buf) >= len) { in ot_plat_ble_queue_msg()
|
/Zephyr-Core-3.6.0/drivers/net/ |
D | ppp.c | 176 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/ |
D | main.c | 172 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/ |
D | shell_mqtt.c | 612 size = ring_buf_space_get(&sh_mqtt->rx_rb); in mqtt_evt_handler()
|
/Zephyr-Core-3.6.0/doc/kernel/data_structures/ |
D | ring_buffers.rst | 104 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/ |
D | lwm2m_registry.c | 2260 if (ring_buf_space_get(&cache_entry->rb) < element_size) { in lwm2m_cache_write()
|