Searched refs:last_res (Results 1 – 2 of 2) sorted by relevance
224 int *last_res, bool threaded) in stm32_usart_pending_rx() argument237 if (status == DMA_IN_PROGRESS && (*last_res != state.residue)) in stm32_usart_pending_rx()248 int *last_res) in stm32_usart_get_char() argument255 c = stm32_port->rx_buf[RX_BUF_L - (*last_res)--]; in stm32_usart_get_char()256 if ((*last_res) == 0) in stm32_usart_get_char()257 *last_res = RX_BUF_L; in stm32_usart_get_char()281 while (stm32_usart_pending_rx(port, &sr, &stm32_port->last_res, in stm32_usart_receive_chars()301 c = stm32_usart_get_char(port, &sr, &stm32_port->last_res); in stm32_usart_receive_chars()1232 stm32_ports[id].last_res = RX_BUF_L; in stm32_usart_of_get_port()
265 int last_res; member