Searched refs:last_res (Results 1 – 2 of 2) sorted by relevance
170 int *last_res, bool threaded) in stm32_usart_pending_rx() argument183 if (status == DMA_IN_PROGRESS && (*last_res != state.residue)) in stm32_usart_pending_rx()194 int *last_res) in stm32_usart_get_char() argument201 c = stm32_port->rx_buf[RX_BUF_L - (*last_res)--]; in stm32_usart_get_char()202 if ((*last_res) == 0) in stm32_usart_get_char()203 *last_res = RX_BUF_L; in stm32_usart_get_char()224 while (stm32_usart_pending_rx(port, &sr, &stm32_port->last_res, in stm32_usart_receive_chars()244 c = stm32_usart_get_char(port, &sr, &stm32_port->last_res); in stm32_usart_receive_chars()1122 stm32_ports[id].last_res = RX_BUF_L; in stm32_usart_of_get_port()
268 int last_res; member