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()
200 unsigned int cr; in apbuart_startup() local
208 cr = UART_GET_CTRL(port); in apbuart_startup()
210 cr | UART_CTRL_RE | UART_CTRL_TE | in apbuart_startup()
218 unsigned int cr; in apbuart_shutdown() local
221 cr = UART_GET_CTRL(port); in apbuart_shutdown()
223 cr & ~(UART_CTRL_RE | UART_CTRL_TE | in apbuart_shutdown()
233 unsigned int cr; in apbuart_set_termios() local
244 cr = UART_GET_CTRL(port); in apbuart_set_termios()
245 cr &= ~(UART_CTRL_PE | UART_CTRL_PS); in apbuart_set_termios()
248 cr |= UART_CTRL_PE; in apbuart_set_termios()
250 cr |= UART_CTRL_PS; in apbuart_set_termios()
255 cr |= UART_CTRL_FL; in apbuart_set_termios()
278 UART_PUT_CTRL(port, cr); in apbuart_set_termios()