Searched refs:last_res (Results 1 – 2 of 2) sorted by relevance
170 static int stm32_pending_rx(struct uart_port *port, u32 *sr, int *last_res, in stm32_pending_rx() argument185 (*last_res != state.residue)) in stm32_pending_rx()196 int *last_res) in stm32_get_char() argument203 c = stm32_port->rx_buf[RX_BUF_L - (*last_res)--]; in stm32_get_char()204 if ((*last_res) == 0) in stm32_get_char()205 *last_res = RX_BUF_L; in stm32_get_char()227 while (stm32_pending_rx(port, &sr, &stm32_port->last_res, threaded)) { in stm32_receive_chars()246 c = stm32_get_char(port, &sr, &stm32_port->last_res); in stm32_receive_chars()995 stm32_ports[id].last_res = RX_BUF_L; in stm32_of_get_stm32_port()
271 int last_res; member