Lines Matching refs:rx_counter
105 volatile size_t rx_counter; member
551 data->async.rx_counter++; in uart_esp32_isr()
572 if (data->async.rx_counter != data->async.rx_len) { in uart_esp32_dma_rx_done()
574 (uint32_t)data->async.rx_buf + data->async.rx_counter, in uart_esp32_dma_rx_done()
575 data->async.rx_len - data->async.rx_counter); in uart_esp32_dma_rx_done()
577 data->uhci_dev->pkt_thres.thrs = data->async.rx_len - data->async.rx_counter; in uart_esp32_dma_rx_done()
585 evt.data.rx.len = data->async.rx_counter - data->async.rx_offset; in uart_esp32_dma_rx_done()
593 data->async.rx_counter = 0; in uart_esp32_dma_rx_done()
702 evt.data.rx.len = data->async.rx_counter - data->async.rx_offset; in uart_esp32_async_rx_timeout()
709 data->async.rx_offset = data->async.rx_counter; in uart_esp32_async_rx_timeout()
903 evt.data.rx.len = data->async.rx_counter - data->async.rx_offset; in uart_esp32_async_rx_disable()
911 data->async.rx_counter = 0; in uart_esp32_async_rx_disable()