Lines Matching refs:cr2
1071 unsigned char cr2; in lpuart_copy_rx_to_tty() local
1074 cr2 = readb(sport->port.membase + UARTCR2); in lpuart_copy_rx_to_tty()
1075 cr2 &= ~UARTCR2_RE; in lpuart_copy_rx_to_tty()
1076 writeb(cr2, sport->port.membase + UARTCR2); in lpuart_copy_rx_to_tty()
1102 cr2 |= UARTCR2_RE; in lpuart_copy_rx_to_tty()
1103 writeb(cr2, sport->port.membase + UARTCR2); in lpuart_copy_rx_to_tty()
1463 unsigned char val, cr2; in lpuart_setup_watermark() local
1466 cr2 = readb(sport->port.membase + UARTCR2); in lpuart_setup_watermark()
1467 cr2_saved = cr2; in lpuart_setup_watermark()
1468 cr2 &= ~(UARTCR2_TIE | UARTCR2_TCIE | UARTCR2_TE | in lpuart_setup_watermark()
1470 writeb(cr2, sport->port.membase + UARTCR2); in lpuart_setup_watermark()
1495 unsigned char cr2; in lpuart_setup_watermark_enable() local
1499 cr2 = readb(sport->port.membase + UARTCR2); in lpuart_setup_watermark_enable()
1500 cr2 |= UARTCR2_RIE | UARTCR2_RE | UARTCR2_TE; in lpuart_setup_watermark_enable()
1501 writeb(cr2, sport->port.membase + UARTCR2); in lpuart_setup_watermark_enable()
2273 unsigned char old_cr2, cr2; in lpuart_console_write() local
2283 cr2 = old_cr2 = readb(sport->port.membase + UARTCR2); in lpuart_console_write()
2284 cr2 |= UARTCR2_TE | UARTCR2_RE; in lpuart_console_write()
2285 cr2 &= ~(UARTCR2_TIE | UARTCR2_TCIE | UARTCR2_RIE); in lpuart_console_write()
2286 writeb(cr2, sport->port.membase + UARTCR2); in lpuart_console_write()