Home
last modified time | relevance | path

Searched refs:ring_buf_is_empty (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/tests/lib/ringbuffer/src/
Dmain.c223 zassert_true(ring_buf_is_empty(&ringbuf)); in ZTEST()
229 zassert_true(ring_buf_is_empty(&ringbuf_pow2)); in ZTEST()
235 zassert_true(ring_buf_is_empty(&ringbuf_size)); in ZTEST()
289 zassert_false(ring_buf_is_empty(pbuf)); in ZTEST()
291 zassert_true(ring_buf_is_empty(pbuf)); in ZTEST()
303 zassert_false(ring_buf_is_empty(pbuf)); in ZTEST()
305 zassert_true(ring_buf_is_empty(pbuf)); in ZTEST()
324 zassert_false(ring_buf_is_empty(pbuf)); in ZTEST()
327 zassert_true(ring_buf_is_empty(pbuf)); in ZTEST()
525 zassert_true(ring_buf_is_empty(&ringbuf_raw)); in ZTEST()
[all …]
/Zephyr-latest/subsys/tracing/
Dtracing_buffer.c58 return ring_buf_is_empty(&tracing_ring_buf); in tracing_buffer_is_empty()
/Zephyr-latest/drivers/serial/
Duart_emul.c258 ready = !ring_buf_is_empty(data->rx_rb); in uart_emul_irq_rx_ready()
292 have_work = have_work || !ring_buf_is_empty(data->rx_rb); in uart_emul_irq_handler()
330 submit_irq_work = !ring_buf_is_empty(data->rx_rb); in uart_emul_irq_rx_enable()
362 tx_complete = ring_buf_is_empty(data->tx_rb); in uart_emul_irq_tx_complete()
497 empty = ring_buf_is_empty(data->rx_rb); in uart_emul_async_rx_handler()
847 if (!ring_buf_is_empty(data->rx_rb)) { in uart_emul_rx_enable()
924 empty = ring_buf_is_empty(drv_data->rx_rb); in uart_emul_put_rx_data()
Duart_bt.c55 if (!ring_buf_is_empty(dev_data->uart.tx_ringbuf)) { in bt_notif_enabled()
247 if (!ring_buf_is_empty(dev_data->uart.rx_ringbuf) && dev_data->uart.rx_irq_ena) { in uart_bt_irq_rx_ready()
Dserial_test.c51 return !ring_buf_is_empty(data->read_queue); in is_irq_rx_pending()
107 bool ready = !ring_buf_is_empty(data->read_queue); in irq_rx_ready()
/Zephyr-latest/subsys/modem/backends/
Dmodem_backend_uart_isr.c71 if (ring_buf_is_empty(&backend->isr.transmit_rb) == true) { in modem_backend_uart_isr_irq_handler_transmit_ready()
208 if (ring_buf_is_empty(&backend->isr.receive_rdb[receive_rdb_unused]) == false) { in modem_backend_uart_isr_receive()
Dmodem_backend_uart_async.c252 empty = ring_buf_is_empty(&backend->async.receive_rb); in modem_backend_uart_async_receive()
/Zephyr-latest/include/zephyr/sys/
Dring_buffer.h196 static inline bool ring_buf_is_empty(struct ring_buf *buf) in ring_buf_is_empty() function
/Zephyr-latest/subsys/shell/
Dshell_history.c168 if (ring_buf_is_empty(history->ring_buf)) { in z_shell_history_put()
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_cdc_acm.c260 if (!ring_buf_is_empty(data->tx_fifo.rb)) { in usbd_cdc_acm_request()
662 if (!ring_buf_is_empty(data->rx_fifo.rb)) { in cdc_acm_irq_rx_enable()
791 !ring_buf_is_empty(data->rx_fifo.rb)) { in cdc_acm_irq_update()
855 !ring_buf_is_empty(data->rx_fifo.rb)) { in cdc_acm_irq_cb_handler()
883 if (ring_buf_is_empty(data->rx_fifo.rb)) { in cdc_acm_poll_in()
/Zephyr-latest/lib/utils/
Dring_buffer.c233 if (ring_buf_is_empty(buf)) { in ring_buf_item_get()
/Zephyr-latest/drivers/espi/
Dhost_subs_npcx.c513 while (!ring_buf_is_empty(rbuf)) { in host_port80_work_handler()
520 if (ring_buf_is_empty(rbuf)) { in host_port80_work_handler()
/Zephyr-latest/subsys/usb/device/class/
Dcdc_acm.c233 if (ring_buf_is_empty(dev_data->tx_ringbuf) && size) { in cdc_acm_write_cb()
701 if (ring_buf_is_empty(dev_data->rx_ringbuf)) { in cdc_acm_irq_update()
/Zephyr-latest/subsys/modem/
Dmodem_ppp.c392 while (!ring_buf_is_empty(&ppp->transmit_rb)) { in modem_ppp_send_handler()
Dmodem_cmux.c951 transmit_rb_empty = ring_buf_is_empty(&cmux->transmit_rb); in modem_cmux_transmit_handler()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_registry.c1700 if (ring_buf_is_empty(&cache_entry->rb)) { in lwm2m_cache_read()
1728 if (ring_buf_is_empty((struct ring_buf *) &cache_entry->rb)) { in lwm2m_cache_size()
Dlwm2m_message_handling.c3492 if (ring_buf_is_empty(&cache_temp->read_info[i].cache_data->rb)) { in init_next_pending_timeseries_data()
/Zephyr-latest/doc/kernel/data_structures/
Dring_buffers.rst106 or by testing the :c:func:`ring_buf_is_empty` predicate.