Searched refs:tx_rb (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/tests/subsys/modem/mock/ |
D | modem_backend_mock.c | 55 ret = ring_buf_put(&mock->tx_rb, buf, size); in modem_backend_mock_transmit() 112 ring_buf_init(&mock->tx_rb, config->tx_buf_size, config->tx_buf); in modem_backend_mock_init() 128 ring_buf_reset(&mock->tx_rb); in modem_backend_mock_reset() 135 return ring_buf_get(&mock->tx_rb, buf, size); in modem_backend_mock_get()
|
D | modem_backend_mock.h | 28 struct ring_buf tx_rb; member
|
/Zephyr-latest/drivers/serial/ |
D | uart_emul.c | 48 struct ring_buf *tx_rb; member 116 (data->tx_data_ready_cb)(dev, ring_buf_size_get(data->tx_rb), data->user_data); in uart_emul_tx_data_ready() 124 emul->api->tx_data_ready(dev, ring_buf_size_get(data->tx_rb), emul->target); in uart_emul_tx_data_ready() 154 written = ring_buf_put(drv_data->tx_rb, &out_char, 1); in uart_emul_poll_out() 205 ret = ring_buf_put(data->tx_rb, tx_data, put_size); in uart_emul_fifo_fill() 242 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() 362 tx_complete = ring_buf_is_empty(data->tx_rb); in uart_emul_irq_tx_complete() 601 written = ring_buf_put(data->tx_rb, &data->tx_buf[tx_buf_offset], in uart_emul_async_tx_handler() [all …]
|