Searched refs:read_idx (Results 1 – 1 of 1) sorted by relevance
145 int32_t read_idx; member373 int32_t read_idx = unsol_read_ctxt[uart].read_idx; in handle_unsol_rx_data() local384 if (read_idx < write_idx) { in handle_unsol_rx_data()385 unsol_read_ctxt[uart].curr_len = write_idx - read_idx; in handle_unsol_rx_data()387 unsol_read_ctxt[uart].curr_len = unsol_rx->size - read_idx + write_idx; in handle_unsol_rx_data()1592 unsol_read_ctxt[uart].read_idx = -1; in sedi_uart_enable_unsol_rx()1649 start_idx = unsol_read_ctxt[uart].read_idx + 1; in sedi_uart_get_unsol_data()1678 unsol_read_ctxt[uart].read_idx = (unsol_read_ctxt[uart].read_idx + len) % unsol_rx->size; in sedi_uart_get_unsol_data()