Searched refs:last_res (Results 1 – 2 of 2) sorted by relevance
452 dma_start = stm32_port->rx_buf + (RX_BUF_L - stm32_port->last_res); in stm32_usart_push_buffer_dma()467 stm32_port->last_res -= dma_count; in stm32_usart_push_buffer_dma()468 if (stm32_port->last_res == 0) in stm32_usart_push_buffer_dma()469 stm32_port->last_res = RX_BUF_L; in stm32_usart_push_buffer_dma()478 if (stm32_port->rx_dma_state.residue > stm32_port->last_res) { in stm32_usart_receive_chars_dma()480 dma_size = stm32_port->last_res; in stm32_usart_receive_chars_dma()485 dma_size = stm32_port->last_res - stm32_port->rx_dma_state.residue; in stm32_usart_receive_chars_dma()573 stm32_port->last_res = RX_BUF_L; in stm32_usart_rx_dma_start_or_resume()1621 stm32_ports[id].last_res = RX_BUF_L; in stm32_usart_of_get_port()
200 int last_res; member