Home
last modified time | relevance | path

Searched refs:ring_buf_reset (Results 1 – 14 of 14) sorted by relevance

/Zephyr-latest/subsys/modem/backends/
Dmodem_backend_uart_isr.c40 ring_buf_reset(receive_rb); in modem_backend_uart_isr_irq_handler_receive_ready()
110 ring_buf_reset(&backend->isr.receive_rdb[0]); in modem_backend_uart_isr_open()
111 ring_buf_reset(&backend->isr.receive_rdb[1]); in modem_backend_uart_isr_open()
112 ring_buf_reset(&backend->isr.transmit_rb); in modem_backend_uart_isr_open()
Dmodem_backend_uart_async.c121 ring_buf_reset(&backend->async.receive_rb); in modem_backend_uart_async_event_handler()
157 ring_buf_reset(&backend->async.receive_rb); in modem_backend_uart_async_open()
/Zephyr-latest/tests/lib/ringbuffer/src/
Dmain.c682 ring_buf_reset(&ringbuf_raw); in ZTEST()
718 ring_buf_reset(&ringbuf_raw); in ZTEST()
769 ring_buf_reset(&ringbuf_raw); in ZTEST()
856 ring_buf_reset(&ringbuf_raw); in ZTEST()
891 ring_buf_reset(&ringbuf_raw); in ZTEST()
959 ring_buf_reset(&rbuf); in ZTEST()
969 ring_buf_reset(&rbuf); in ZTEST()
980 ring_buf_reset(&rbuf); in ZTEST()
991 ring_buf_reset(&rbuf); in ZTEST()
/Zephyr-latest/tests/subsys/modem/mock/
Dmodem_backend_mock.c127 ring_buf_reset(&mock->rx_rb); in modem_backend_mock_reset()
128 ring_buf_reset(&mock->tx_rb); in modem_backend_mock_reset()
/Zephyr-latest/drivers/hdlc_rcp_if/
Dhdlc_rcp_if_uart.c194 ring_buf_reset(ot_uart.rx_ringbuf); in hdlc_deinit()
195 ring_buf_reset(ot_uart.tx_ringbuf); in hdlc_deinit()
/Zephyr-latest/subsys/mgmt/osdp/src/
Dosdp.c120 ring_buf_reset(&p->tx_buf); in osdp_uart_flush()
121 ring_buf_reset(&p->rx_buf); in osdp_uart_flush()
/Zephyr-latest/tests/subsys/modem/backends/uart/src/
Dmain.c173 ring_buf_reset(&transmit_ring_buf); in test_modem_backend_uart_before()
/Zephyr-latest/include/zephyr/sys/
Dring_buffer.h206 static inline void ring_buf_reset(struct ring_buf *buf) in ring_buf_reset() function
/Zephyr-latest/subsys/shell/
Dshell_history.c176 ring_buf_reset(history->ring_buf); in z_shell_history_put()
/Zephyr-latest/subsys/modem/
Dmodem_cmux.c592 ring_buf_reset(&dlci->receive_rb); in modem_cmux_on_dlci_frame_ua()
642 ring_buf_reset(&dlci->receive_rb); in modem_cmux_on_dlci_frame_sabm()
1303 ring_buf_reset(&cmux->transmit_rb); in modem_cmux_attach()
/Zephyr-latest/drivers/serial/
Duart_emul.c967 ring_buf_reset(drv_data->rx_rb); in uart_emul_flush_rx_data()
980 ring_buf_reset(drv_data->tx_rb); in uart_emul_flush_tx_data()
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_cdc_acm.c1038 ring_buf_reset(data->tx_fifo.rb); in usbd_cdc_acm_preinit()
1039 ring_buf_reset(data->rx_fifo.rb); in usbd_cdc_acm_preinit()
/Zephyr-latest/drivers/ethernet/
Deth_sam_gmac.c406 static void ring_buf_reset(struct ring_buf *rb) in ring_buf_reset() function
531 ring_buf_reset(&queue->tx_frag_list); in tx_descriptors_init()
533 ring_buf_reset(&queue->tx_frames); in tx_descriptors_init()
/Zephyr-latest/doc/kernel/data_structures/
Dring_buffers.rst108 Finally, a :c:func:`ring_buf_reset` call exists to immediately empty a