Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/serial/
Duart_bt.c29 struct ring_buf *tx_ringbuf; member
53 if (!ring_buf_is_empty(dev_data->uart.tx_ringbuf)) { in bt_notif_enabled()
108 len = ring_buf_get_claim(dev_data->uart.tx_ringbuf, &data, 20); in tx_work_handler()
116 ring_buf_get_finish(dev_data->uart.tx_ringbuf, len); in tx_work_handler()
119 if ((ring_buf_space_get(dev_data->uart.tx_ringbuf) > 0) && dev_data->uart.tx_irq_ena) { in tx_work_handler()
129 wrote = ring_buf_put(dev_data->uart.tx_ringbuf, tx_data, len); in uart_bt_fifo_fill()
158 struct ring_buf *ringbuf = dev_data->uart.tx_ringbuf; in uart_bt_poll_out()
184 if ((ring_buf_space_get(dev_data->uart.tx_ringbuf) > 0) && dev_data->uart.tx_irq_ena) { in uart_bt_irq_tx_ready()
329 .tx_ringbuf = &bt_nus_tx_rb_##n, \
/Zephyr-Core-3.7.0/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-Core-3.7.0/include/zephyr/console/
Dtty.h28 uint8_t *tx_ringbuf; member
/Zephyr-Core-3.7.0/subsys/usb/device/class/
Dcdc_acm.c114 struct ring_buf *tx_ringbuf; member
231 if (ring_buf_is_empty(dev_data->tx_ringbuf) && size) { in cdc_acm_write_cb()
270 len = ring_buf_get_claim(dev_data->tx_ringbuf, &data, in tx_work_handler()
295 ring_buf_get_finish(dev_data->tx_ringbuf, len); in tx_work_handler()
527 dev_data, len, ring_buf_space_get(dev_data->tx_ringbuf)); in cdc_acm_fifo_fill()
538 wrote = ring_buf_put(dev_data->tx_ringbuf, tx_data, len); in cdc_acm_fifo_fill()
1042 wrote = ring_buf_put(dev_data->tx_ringbuf, &c, 1); in cdc_acm_poll_out()
1218 .tx_ringbuf = &cdc_acm_tx_rb_##x, \
/Zephyr-Core-3.7.0/include/zephyr/shell/
Dshell_uart.h52 struct ring_buf tx_ringbuf; member
/Zephyr-Core-3.7.0/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()
377 *cnt = ring_buf_put(&sh_uart->tx_ringbuf, data, length); in irq_write()