Lines Matching refs:cr
1579 unsigned long old_cr, cr; in lpuart32_console_write() local
1582 cr = old_cr = lpuart32_read(sport->port.membase + UARTCTRL); in lpuart32_console_write()
1583 cr |= (UARTCTRL_TE | UARTCTRL_RE); in lpuart32_console_write()
1584 cr &= ~(UARTCTRL_TIE | UARTCTRL_TCIE | UARTCTRL_RIE); in lpuart32_console_write()
1585 lpuart32_write(cr, sport->port.membase + UARTCTRL); in lpuart32_console_write()
1604 unsigned char cr, bdh, bdl, brfa; in lpuart_console_get_options() local
1607 cr = readb(sport->port.membase + UARTCR2); in lpuart_console_get_options()
1608 cr &= UARTCR2_TE | UARTCR2_RE; in lpuart_console_get_options()
1609 if (!cr) in lpuart_console_get_options()
1614 cr = readb(sport->port.membase + UARTCR1); in lpuart_console_get_options()
1617 if (cr & UARTCR1_PE) { in lpuart_console_get_options()
1618 if (cr & UARTCR1_PT) in lpuart_console_get_options()
1624 if (cr & UARTCR1_M) in lpuart_console_get_options()
1653 unsigned long cr, bd; in lpuart32_console_get_options() local
1656 cr = lpuart32_read(sport->port.membase + UARTCTRL); in lpuart32_console_get_options()
1657 cr &= UARTCTRL_TE | UARTCTRL_RE; in lpuart32_console_get_options()
1658 if (!cr) in lpuart32_console_get_options()
1663 cr = lpuart32_read(sport->port.membase + UARTCTRL); in lpuart32_console_get_options()
1666 if (cr & UARTCTRL_PE) { in lpuart32_console_get_options()
1667 if (cr & UARTCTRL_PT) in lpuart32_console_get_options()
1673 if (cr & UARTCTRL_M) in lpuart32_console_get_options()