Searched refs:ring_buf_reset (Results 1 – 14 of 14) sorted by relevance
40 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()
121 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()
682 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()
127 ring_buf_reset(&mock->rx_rb); in modem_backend_mock_reset()128 ring_buf_reset(&mock->tx_rb); in modem_backend_mock_reset()
194 ring_buf_reset(ot_uart.rx_ringbuf); in hdlc_deinit()195 ring_buf_reset(ot_uart.tx_ringbuf); in hdlc_deinit()
120 ring_buf_reset(&p->tx_buf); in osdp_uart_flush()121 ring_buf_reset(&p->rx_buf); in osdp_uart_flush()
173 ring_buf_reset(&transmit_ring_buf); in test_modem_backend_uart_before()
206 static inline void ring_buf_reset(struct ring_buf *buf) in ring_buf_reset() function
176 ring_buf_reset(history->ring_buf); in z_shell_history_put()
592 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()
967 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()
1038 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()
406 static void ring_buf_reset(struct ring_buf *rb) in ring_buf_reset() function531 ring_buf_reset(&queue->tx_frag_list); in tx_descriptors_init()533 ring_buf_reset(&queue->tx_frames); in tx_descriptors_init()
108 Finally, a :c:func:`ring_buf_reset` call exists to immediately empty a