Home
last modified time | relevance | path

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

/hal_intel-3.7.0/bsp_sedi/drivers/usart/
Dsedi_dw_uart.c146 int32_t write_idx; member
372 int32_t write_idx = unsol_read_ctxt[uart].write_idx; in handle_unsol_rx_data() local
376 write_idx++; in handle_unsol_rx_data()
377 if (write_idx == unsol_rx->size) { in handle_unsol_rx_data()
378 write_idx = 0; in handle_unsol_rx_data()
380 unsol_rx->buffer[write_idx] = regs->rbr_thr_dll; in handle_unsol_rx_data()
383 unsol_read_ctxt[uart].write_idx = write_idx; in handle_unsol_rx_data()
384 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()
[all …]