Home
last modified time | relevance | path

Searched refs:read_idx (Results 1 – 1 of 1) sorted by relevance

/hal_intel-3.6.0/bsp_sedi/drivers/usart/
Dsedi_dw_uart.c143 int32_t read_idx; member
375 int32_t read_idx = unsol_read_ctxt[uart].read_idx; in handle_unsol_rx_data() local
386 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()
1593 unsol_read_ctxt[uart].read_idx = -1; in sedi_uart_enable_unsol_rx()
1650 start_idx = unsol_read_ctxt[uart].read_idx + 1; in sedi_uart_get_unsol_data()
1679 unsol_read_ctxt[uart].read_idx = (unsol_read_ctxt[uart].read_idx + len) % unsol_rx->size; in sedi_uart_get_unsol_data()