Lines Matching refs:tx_buf
73 const uint8_t *tx_buf; member
587 const uint8_t *tx_buf = NULL; in uart_emul_async_tx_handler() local
593 tx_buf = data->tx_buf; in uart_emul_async_tx_handler()
597 if (!tx_buf) { in uart_emul_async_tx_handler()
601 written = ring_buf_put(data->tx_rb, &data->tx_buf[tx_buf_offset], in uart_emul_async_tx_handler()
608 data->tx_buf = NULL; in uart_emul_async_tx_handler()
613 if (!tx_buf) { in uart_emul_async_tx_handler()
618 uint32_t loop_written = uart_emul_put_rx_data(dev, &tx_buf[tx_buf_offset], written); in uart_emul_async_tx_handler()
660 .buf = tx_buf, in uart_emul_async_tx_handler()
745 if (data->tx_buf) { in uart_emul_tx()
750 data->tx_buf = buf; in uart_emul_tx()
763 const uint8_t *tx_buf = NULL; in uart_emul_tx_abort() local
767 tx_buf = data->tx_buf; in uart_emul_tx_abort()
770 data->tx_buf = NULL; in uart_emul_tx_abort()
777 if (!tx_buf) { in uart_emul_tx_abort()
784 .buf = tx_buf, in uart_emul_tx_abort()