Lines Matching refs:cr
40 unsigned int cr; in apbuart_stop_tx() local
42 cr = UART_GET_CTRL(port); in apbuart_stop_tx()
43 cr &= ~UART_CTRL_TI; in apbuart_stop_tx()
44 UART_PUT_CTRL(port, cr); in apbuart_stop_tx()
49 unsigned int cr; in apbuart_start_tx() local
51 cr = UART_GET_CTRL(port); in apbuart_start_tx()
52 cr |= UART_CTRL_TI; in apbuart_start_tx()
53 UART_PUT_CTRL(port, cr); in apbuart_start_tx()
61 unsigned int cr; in apbuart_stop_rx() local
63 cr = UART_GET_CTRL(port); in apbuart_stop_rx()
64 cr &= ~(UART_CTRL_RI); in apbuart_stop_rx()
65 UART_PUT_CTRL(port, cr); in apbuart_stop_rx()
174 unsigned int cr; in apbuart_startup() local
182 cr = UART_GET_CTRL(port); in apbuart_startup()
184 cr | UART_CTRL_RE | UART_CTRL_TE | in apbuart_startup()
192 unsigned int cr; in apbuart_shutdown() local
195 cr = UART_GET_CTRL(port); in apbuart_shutdown()
197 cr & ~(UART_CTRL_RE | UART_CTRL_TE | in apbuart_shutdown()
207 unsigned int cr; in apbuart_set_termios() local
218 cr = UART_GET_CTRL(port); in apbuart_set_termios()
219 cr &= ~(UART_CTRL_PE | UART_CTRL_PS); in apbuart_set_termios()
222 cr |= UART_CTRL_PE; in apbuart_set_termios()
224 cr |= UART_CTRL_PS; in apbuart_set_termios()
229 cr |= UART_CTRL_FL; in apbuart_set_termios()
252 UART_PUT_CTRL(port, cr); in apbuart_set_termios()