Lines Matching refs:rx_buf_data_len
80 size_t rx_buf_data_len; member
405 data->rx_buf_data_len = 0; in uart_emul_async_switch_buf_nolock()
419 size_t rx_buf_data_len; in uart_emul_async_rx_timeout_handler() local
429 rx_buf_data_len = data->rx_buf_data_len; in uart_emul_async_rx_timeout_handler()
431 data->rx_buf_offset += rx_buf_data_len; in uart_emul_async_rx_timeout_handler()
432 data->rx_buf_data_len = 0; in uart_emul_async_rx_timeout_handler()
435 (rx_buf_data_len > 0 && data->rx_release_on_timeout)) { in uart_emul_async_rx_timeout_handler()
446 if (!rx_en || rx_buf == NULL || rx_buf_data_len == 0) { in uart_emul_async_rx_timeout_handler()
455 .len = rx_buf_data_len, in uart_emul_async_rx_timeout_handler()
496 data_len = data->rx_buf_data_len; in uart_emul_async_rx_handler()
508 data_len = data->rx_buf_data_len; in uart_emul_async_rx_handler()
528 data->rx_buf_data_len = data_len; in uart_emul_async_rx_handler()
535 data->rx_buf_data_len = 0; in uart_emul_async_rx_handler()
672 size_t rx_buf_data_len = 0; in uart_emul_rx_stop() local
682 rx_buf_data_len = data->rx_buf_data_len; in uart_emul_rx_stop()
687 data->rx_buf_data_len = 0; in uart_emul_rx_stop()
698 if (rx_buf_data_len > 0) { in uart_emul_rx_stop()
704 .len = rx_buf_data_len, in uart_emul_rx_stop()
843 data->rx_buf_data_len = 0; in uart_emul_rx_enable()