Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/tracing/
Dtracing_buffer.c68 return ring_buf_space_get(&tracing_ring_buf); in tracing_buffer_space_get()
/Zephyr-latest/include/zephyr/sys/
Dring_buffer.h218 static inline uint32_t ring_buf_space_get(struct ring_buf *buf) in ring_buf_space_get() function
232 return ring_buf_space_get(buf) / 4; in ring_buf_item_space_get()
/Zephyr-latest/subsys/usb/device/class/
Dcdc_acm.c306 ep, size, dev_data, ring_buf_space_get(dev_data->rx_ringbuf)); in cdc_acm_read_cb()
324 if (ring_buf_space_get(dev_data->rx_ringbuf) < sizeof(dev_data->rx_buf)) { in cdc_acm_read_cb()
529 dev_data, len, ring_buf_space_get(dev_data->tx_ringbuf)); in cdc_acm_fifo_fill()
560 dev, size, ring_buf_space_get(dev_data->rx_ringbuf)); in cdc_acm_fifo_read()
565 if (ring_buf_space_get(dev_data->rx_ringbuf) >= CDC_ACM_BUFFER_SIZE) { in cdc_acm_fifo_read()
618 return ring_buf_space_get(dev_data->tx_ringbuf); in cdc_acm_irq_tx_ready()
697 if (!ring_buf_space_get(dev_data->tx_ringbuf)) { in cdc_acm_irq_update()
/Zephyr-latest/drivers/serial/
Duart_bt.c72 LOG_DBG("%s() - len: %d, rx_ringbuf space %d", __func__, len, ring_buf_space_get(ringbuf)); in bt_received()
153 if ((ring_buf_space_get(dev_data->uart.tx_ringbuf) > 0) && dev_data->uart.tx_irq_ena) { in tx_work_handler()
218 if ((ring_buf_space_get(dev_data->uart.tx_ringbuf) > 0) && dev_data->uart.tx_irq_ena) { in uart_bt_irq_tx_ready()
Dserial_test.c58 return ring_buf_space_get(data->written) != 0; in is_irq_tx_pending()
133 int available = ring_buf_space_get(data->written); in irq_tx_ready()
Duart_emul.c242 available = ring_buf_space_get(data->tx_rb); in uart_emul_irq_tx_ready()
284 have_work = have_work || ring_buf_space_get(data->tx_rb) > 0; in uart_emul_irq_handler()
315 submit_irq_work = ring_buf_space_get(data->tx_rb) > 0; in uart_emul_irq_tx_enable()
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_cdc_acm.c295 if (ring_buf_space_get(data->tx_fifo.rb)) { in usbd_cdc_acm_enable()
610 if (ring_buf_space_get(data->rx_fifo.rb) < cdc_acm_get_bulk_mps(c_data)) { in cdc_acm_rx_fifo_handler()
642 if (ring_buf_space_get(data->tx_fifo.rb)) { in cdc_acm_irq_tx_enable()
702 dev, len, ring_buf_space_get(data->tx_fifo.rb)); in cdc_acm_fifo_fill()
737 return ring_buf_space_get(data->tx_fifo.rb); in cdc_acm_irq_tx_ready()
798 ring_buf_space_get(data->tx_fifo.rb)) { in cdc_acm_irq_update()
861 ring_buf_space_get(data->tx_fifo.rb)) { in cdc_acm_irq_cb_handler()
/Zephyr-latest/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-latest/samples/subsys/usb/cdc_acm/src/
Dmain.c119 size_t len = MIN(ring_buf_space_get(&ringbuf), in interrupt_handler()
/Zephyr-latest/tests/subsys/modem/backends/uart/src/
Dmain.c87 uint32_t space = ring_buf_space_get(&transmit_ring_buf); in fill_transmit_ring_buf()
/Zephyr-latest/subsys/modem/backends/
Dmodem_backend_uart_isr.c51 if (ring_buf_space_get(receive_rb) > ring_buf_capacity_get(receive_rb) / 20) { in modem_backend_uart_isr_irq_handler_receive_ready()
/Zephyr-latest/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-latest/subsys/modem/
Dmodem_cmux.c275 space = ring_buf_space_get(&cmux->transmit_rb) - MODEM_CMUX_FRAME_SIZE_MAX; in modem_cmux_transmit_frame()
328 space = ring_buf_space_get(&cmux->transmit_rb); in modem_cmux_transmit_cmd_frame()
358 space = ring_buf_space_get(&cmux->transmit_rb); in modem_cmux_transmit_data_frame()
Dmodem_ppp.c375 while (ring_buf_space_get(&ppp->transmit_rb) > 0) { in modem_ppp_send_handler()
/Zephyr-latest/modules/openthread/platform/
Dble.c130 if (ring_buf_space_get(&ot_plat_ble_ring_buf) >= len) { in ot_plat_ble_queue_msg()
/Zephyr-latest/drivers/net/
Dppp.c196 space_left = ring_buf_space_get(&context->rx_ringbuf); in uart_callback()
280 ret = ring_buf_space_get(&ppp->rx_ringbuf); in uart_recovery()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap_usb.c146 if (ring_buf_space_get(&usb_out_ring_buf) < sizeof(stereo_frame)) { in bap_usb_send_frames_to_usb()
/Zephyr-latest/subsys/shell/backends/
Dshell_mqtt.c612 size = ring_buf_space_get(&sh_mqtt->rx_rb); in mqtt_evt_handler()
/Zephyr-latest/doc/kernel/data_structures/
Dring_buffers.rst104 using either :c:func:`ring_buf_space_get` or :c:func:`ring_buf_item_space_get`
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/
Dmain.c293 if (ring_buf_space_get(&usb_ring_buf) < sizeof(stereo_frame)) { in lc3_decoder_thread()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_registry.c1665 if (ring_buf_space_get(&cache_entry->rb) < element_size) { in lwm2m_cache_write()