Lines Matching refs:cr
47 unsigned int cr; in apbuart_stop_tx() local
49 cr = UART_GET_CTRL(port); in apbuart_stop_tx()
50 cr &= ~UART_CTRL_TI; in apbuart_stop_tx()
51 UART_PUT_CTRL(port, cr); in apbuart_stop_tx()
56 unsigned int cr; in apbuart_start_tx() local
58 cr = UART_GET_CTRL(port); in apbuart_start_tx()
59 cr |= UART_CTRL_TI; in apbuart_start_tx()
60 UART_PUT_CTRL(port, cr); in apbuart_start_tx()
68 unsigned int cr; in apbuart_stop_rx() local
70 cr = UART_GET_CTRL(port); in apbuart_stop_rx()
71 cr &= ~(UART_CTRL_RI); in apbuart_stop_rx()
72 UART_PUT_CTRL(port, cr); in apbuart_stop_rx()
206 unsigned int cr; in apbuart_startup() local
214 cr = UART_GET_CTRL(port); in apbuart_startup()
216 cr | UART_CTRL_RE | UART_CTRL_TE | in apbuart_startup()
224 unsigned int cr; in apbuart_shutdown() local
227 cr = UART_GET_CTRL(port); in apbuart_shutdown()
229 cr & ~(UART_CTRL_RE | UART_CTRL_TE | in apbuart_shutdown()
239 unsigned int cr; in apbuart_set_termios() local
250 cr = UART_GET_CTRL(port); in apbuart_set_termios()
251 cr &= ~(UART_CTRL_PE | UART_CTRL_PS); in apbuart_set_termios()
254 cr |= UART_CTRL_PE; in apbuart_set_termios()
256 cr |= UART_CTRL_PS; in apbuart_set_termios()
261 cr |= UART_CTRL_FL; in apbuart_set_termios()
284 UART_PUT_CTRL(port, cr); in apbuart_set_termios()