Searched refs:read_idx (Results 1 – 1 of 1) sorted by relevance
143 int32_t read_idx; member375 int32_t read_idx = unsol_read_ctxt[uart].read_idx; in handle_unsol_rx_data() local386 if (read_idx < write_idx) { in handle_unsol_rx_data()387 unsol_read_ctxt[uart].curr_len = write_idx - read_idx; in handle_unsol_rx_data()389 unsol_read_ctxt[uart].curr_len = unsol_rx->size - read_idx + write_idx; in handle_unsol_rx_data()1595 unsol_read_ctxt[uart].read_idx = -1; in sedi_uart_enable_unsol_rx()1652 start_idx = unsol_read_ctxt[uart].read_idx + 1; in sedi_uart_get_unsol_data()1681 unsol_read_ctxt[uart].read_idx = (unsol_read_ctxt[uart].read_idx + len) % unsol_rx->size; in sedi_uart_get_unsol_data()