Lines Matching refs:cr
43 unsigned int cr; in apbuart_stop_tx() local
45 cr = UART_GET_CTRL(port); in apbuart_stop_tx()
46 cr &= ~UART_CTRL_TI; in apbuart_stop_tx()
47 UART_PUT_CTRL(port, cr); in apbuart_stop_tx()
52 unsigned int cr; in apbuart_start_tx() local
54 cr = UART_GET_CTRL(port); in apbuart_start_tx()
55 cr |= UART_CTRL_TI; in apbuart_start_tx()
56 UART_PUT_CTRL(port, cr); in apbuart_start_tx()
64 unsigned int cr; in apbuart_stop_rx() local
66 cr = UART_GET_CTRL(port); in apbuart_stop_rx()
67 cr &= ~(UART_CTRL_RI); in apbuart_stop_rx()
68 UART_PUT_CTRL(port, cr); in apbuart_stop_rx()
202 unsigned int cr; in apbuart_startup() local
210 cr = UART_GET_CTRL(port); in apbuart_startup()
212 cr | UART_CTRL_RE | UART_CTRL_TE | in apbuart_startup()
220 unsigned int cr; in apbuart_shutdown() local
223 cr = UART_GET_CTRL(port); in apbuart_shutdown()
225 cr & ~(UART_CTRL_RE | UART_CTRL_TE | in apbuart_shutdown()
235 unsigned int cr; in apbuart_set_termios() local
246 cr = UART_GET_CTRL(port); in apbuart_set_termios()
247 cr &= ~(UART_CTRL_PE | UART_CTRL_PS); in apbuart_set_termios()
250 cr |= UART_CTRL_PE; in apbuart_set_termios()
252 cr |= UART_CTRL_PS; in apbuart_set_termios()
257 cr |= UART_CTRL_FL; in apbuart_set_termios()
280 UART_PUT_CTRL(port, cr); in apbuart_set_termios()