Home
last modified time | relevance | path

Searched refs:last_res (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/tty/serial/
Dstm32-usart.c172 static int stm32_pending_rx(struct uart_port *port, u32 *sr, int *last_res, in stm32_pending_rx() argument
187 (*last_res != state.residue)) in stm32_pending_rx()
198 stm32_get_char(struct uart_port *port, u32 *sr, int *last_res) in stm32_get_char() argument
205 c = stm32_port->rx_buf[RX_BUF_L - (*last_res)--]; in stm32_get_char()
206 if ((*last_res) == 0) in stm32_get_char()
207 *last_res = RX_BUF_L; in stm32_get_char()
226 while (stm32_pending_rx(port, &sr, &stm32_port->last_res, threaded)) { in stm32_receive_chars()
228 c = stm32_get_char(port, &sr, &stm32_port->last_res); in stm32_receive_chars()
865 stm32_ports[id].last_res = RX_BUF_L; in stm32_of_get_stm32_port()
Dstm32-usart.h259 int last_res; member