Lines Matching refs:cr
46 unsigned int cr; in apbuart_stop_tx() local
48 cr = UART_GET_CTRL(port); in apbuart_stop_tx()
49 cr &= ~UART_CTRL_TI; in apbuart_stop_tx()
50 UART_PUT_CTRL(port, cr); in apbuart_stop_tx()
55 unsigned int cr; in apbuart_start_tx() local
57 cr = UART_GET_CTRL(port); in apbuart_start_tx()
58 cr |= UART_CTRL_TI; in apbuart_start_tx()
59 UART_PUT_CTRL(port, cr); in apbuart_start_tx()
67 unsigned int cr; in apbuart_stop_rx() local
69 cr = UART_GET_CTRL(port); in apbuart_stop_rx()
70 cr &= ~(UART_CTRL_RI); in apbuart_stop_rx()
71 UART_PUT_CTRL(port, cr); in apbuart_stop_rx()
205 unsigned int cr; in apbuart_startup() local
213 cr = UART_GET_CTRL(port); in apbuart_startup()
215 cr | UART_CTRL_RE | UART_CTRL_TE | in apbuart_startup()
223 unsigned int cr; in apbuart_shutdown() local
226 cr = UART_GET_CTRL(port); in apbuart_shutdown()
228 cr & ~(UART_CTRL_RE | UART_CTRL_TE | in apbuart_shutdown()
238 unsigned int cr; in apbuart_set_termios() local
249 cr = UART_GET_CTRL(port); in apbuart_set_termios()
250 cr &= ~(UART_CTRL_PE | UART_CTRL_PS); in apbuart_set_termios()
253 cr |= UART_CTRL_PE; in apbuart_set_termios()
255 cr |= UART_CTRL_PS; in apbuart_set_termios()
260 cr |= UART_CTRL_FL; in apbuart_set_termios()
283 UART_PUT_CTRL(port, cr); in apbuart_set_termios()