Searched refs:pat_idx (Results 1 – 1 of 1) sorted by relevance
941 int pat_idx = -1; in uart_rx_intr_handler_default() local949 … pat_idx = uart_find_pattern_from_last(p_uart->rx_data_buf, rx_fifo_len - 1, pat_chr, pat_num); in uart_rx_intr_handler_default()977 pat_idx <= -1 ? in uart_rx_intr_handler_default()981 p_uart->rx_buffered_len + pat_idx); in uart_rx_intr_handler_default()997 } else if (pat_idx >= 0) { in uart_rx_intr_handler_default()999 uart_pattern_enqueue(uart_num, p_uart->rx_buffered_len + pat_idx); in uart_rx_intr_handler_default()