Searched refs:last_res (Results 1 – 2 of 2) sorted by relevance
165 static int stm32_pending_rx(struct uart_port *port, u32 *sr, int *last_res, in stm32_pending_rx() argument180 (*last_res != state.residue)) in stm32_pending_rx()191 int *last_res) in stm32_get_char() argument198 c = stm32_port->rx_buf[RX_BUF_L - (*last_res)--]; in stm32_get_char()199 if ((*last_res) == 0) in stm32_get_char()200 *last_res = RX_BUF_L; in stm32_get_char()222 while (stm32_pending_rx(port, &sr, &stm32_port->last_res, threaded)) { in stm32_receive_chars()241 c = stm32_get_char(port, &sr, &stm32_port->last_res); in stm32_receive_chars()1067 stm32_ports[id].last_res = RX_BUF_L; in stm32_of_get_stm32_port()
271 int last_res; member