Lines Matching refs:tx_buf_offset
75 size_t tx_buf_offset; member
589 size_t tx_buf_offset = 0; in uart_emul_async_tx_handler() local
595 tx_buf_offset = data->tx_buf_offset; 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()
602 tx_buf_len - tx_buf_offset); in uart_emul_async_tx_handler()
603 tx_done = written == (tx_buf_len - tx_buf_offset); in uart_emul_async_tx_handler()
605 data->tx_buf_offset += written; in uart_emul_async_tx_handler()
610 data->tx_buf_offset = 0; 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()
752 data->tx_buf_offset = 0; in uart_emul_tx()
768 tx_buf_sent = data->tx_buf_offset; in uart_emul_tx_abort()
772 data->tx_buf_offset = 0; in uart_emul_tx_abort()