Home
last modified time | relevance | path

Searched refs:tx_ringbuf (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/drivers/hdlc_rcp_if/
Dhdlc_rcp_if_uart.c39 struct ring_buf *tx_ringbuf; member
52 .tx_ringbuf = &_name##_tx_ringbuf, \
87 ot_uart.tx_ringbuf, &data, in uart_tx_handle()
88 ot_uart.tx_ringbuf->size); in uart_tx_handle()
91 int err = ring_buf_get_finish(ot_uart.tx_ringbuf, tx_len); in uart_tx_handle()
178 ret = ring_buf_put(ot_uart.tx_ringbuf, frame, length); in hdlc_send()
195 ring_buf_reset(ot_uart.tx_ringbuf); in hdlc_deinit()
/Zephyr-latest/drivers/serial/
Duart_bt.c31 struct ring_buf *tx_ringbuf; member
55 if (!ring_buf_is_empty(dev_data->uart.tx_ringbuf)) { in bt_notif_enabled()
142 len = ring_buf_get_claim(dev_data->uart.tx_ringbuf, &data, chunk_size); in tx_work_handler()
150 ring_buf_get_finish(dev_data->uart.tx_ringbuf, len); in tx_work_handler()
153 if ((ring_buf_space_get(dev_data->uart.tx_ringbuf) > 0) && dev_data->uart.tx_irq_ena) { in tx_work_handler()
163 wrote = ring_buf_put(dev_data->uart.tx_ringbuf, tx_data, len); in uart_bt_fifo_fill()
192 struct ring_buf *ringbuf = dev_data->uart.tx_ringbuf; in uart_bt_poll_out()
218 if ((ring_buf_space_get(dev_data->uart.tx_ringbuf) > 0) && dev_data->uart.tx_irq_ena) { in uart_bt_irq_tx_ready()
363 .tx_ringbuf = &bt_nus_tx_rb_##n, \
/Zephyr-latest/subsys/console/
Dtty.c39 uart_fifo_fill(dev, &tty->tx_ringbuf[tty->tx_get++], 1); in tty_uart_isr()
92 tty->tx_ringbuf[tty->tx_put] = c; in tty_putchar()
252 tty->tx_ringbuf = NULL; in tty_init()
284 tty->tx_ringbuf = buf; in tty_set_tx_buf()
/Zephyr-latest/subsys/usb/device/class/
Dcdc_acm.c116 struct ring_buf *tx_ringbuf; member
233 if (ring_buf_is_empty(dev_data->tx_ringbuf) && size) { in cdc_acm_write_cb()
272 len = ring_buf_get_claim(dev_data->tx_ringbuf, &data, in tx_work_handler()
297 ring_buf_get_finish(dev_data->tx_ringbuf, len); in tx_work_handler()
529 dev_data, len, ring_buf_space_get(dev_data->tx_ringbuf)); in cdc_acm_fifo_fill()
532 wrote = ring_buf_put(dev_data->tx_ringbuf, tx_data, len); in cdc_acm_fifo_fill()
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()
1036 wrote = ring_buf_put(dev_data->tx_ringbuf, &c, 1); in cdc_acm_poll_out()
1212 .tx_ringbuf = &cdc_acm_tx_rb_##x, \
/Zephyr-latest/include/zephyr/console/
Dtty.h28 uint8_t *tx_ringbuf; member
/Zephyr-latest/include/zephyr/shell/
Dshell_uart.h52 struct ring_buf tx_ringbuf; member
/Zephyr-latest/subsys/shell/backends/
Dshell_uart.c179 len = ring_buf_get_claim(&sh_uart->tx_ringbuf, (uint8_t **)&data, in uart_tx_handle()
180 sh_uart->tx_ringbuf.size); in uart_tx_handle()
185 err = ring_buf_get_finish(&sh_uart->tx_ringbuf, len); in uart_tx_handle()
217 ring_buf_init(&sh_uart->tx_ringbuf, CONFIG_SHELL_BACKEND_SERIAL_TX_RING_BUFFER_SIZE, in irq_init()
378 *cnt = ring_buf_put(&sh_uart->tx_ringbuf, data, length); in irq_write()