Home
last modified time | relevance | path

Searched refs:old_cr (Results 1 – 5 of 5) sorted by relevance

/linux-4.4.14/drivers/tty/serial/
Dnetx-serial.c341 unsigned char old_cr; in netx_set_termios() local
382 old_cr = readl(port->membase + UART_CR); in netx_set_termios()
385 writel(old_cr & ~(CR_MSIE | CR_RIE | CR_TIE | CR_RTIE), in netx_set_termios()
392 writel(old_cr & ~CR_UART_EN, port->membase + UART_CR); in netx_set_termios()
395 old_cr &= ~CR_MSIE; in netx_set_termios()
397 old_cr |= CR_MSIE; in netx_set_termios()
427 writel(old_cr, port->membase + UART_CR); in netx_set_termios()
Damba-pl010.c399 unsigned int lcr_h, old_cr; in pl010_set_termios() local
469 old_cr = readb(uap->port.membase + UART010_CR) & ~UART010_CR_MSIE; in pl010_set_termios()
472 old_cr |= UART010_CR_MSIE; in pl010_set_termios()
487 writel(old_cr, uap->port.membase + UART010_CR); in pl010_set_termios()
598 unsigned int status, old_cr; in pl010_console_write() local
605 old_cr = readb(uap->port.membase + UART010_CR); in pl010_console_write()
618 writel(old_cr, uap->port.membase + UART010_CR); in pl010_console_write()
Damba-pl011.c173 unsigned int old_cr; /* state during shutdown */ member
1630 cr = uap->old_cr & (UART011_CR_RTS | UART011_CR_DTR); in pl011_startup()
1697 uap->old_cr = cr; in pl011_disable_uart()
1806 unsigned int lcr_h, old_cr; in pl011_set_termios() local
1870 old_cr = readw(port->membase + UART011_CR); in pl011_set_termios()
1874 if (old_cr & UART011_CR_RTS) in pl011_set_termios()
1875 old_cr |= UART011_CR_RTSEN; in pl011_set_termios()
1877 old_cr |= UART011_CR_CTSEN; in pl011_set_termios()
1880 old_cr &= ~(UART011_CR_CTSEN | UART011_CR_RTSEN); in pl011_set_termios()
1886 old_cr |= ST_UART011_CR_OVSFACT; in pl011_set_termios()
[all …]
Dapbuart.c434 unsigned int status, old_cr, new_cr; in apbuart_console_write() local
437 old_cr = UART_GET_CTRL(port); in apbuart_console_write()
438 new_cr = old_cr & ~(UART_CTRL_RI | UART_CTRL_TI); in apbuart_console_write()
450 UART_PUT_CTRL(port, old_cr); in apbuart_console_write()
Dfsl_lpuart.c1579 unsigned long old_cr, cr; in lpuart32_console_write() local
1582 cr = old_cr = lpuart32_read(sport->port.membase + UARTCTRL); in lpuart32_console_write()
1593 lpuart32_write(old_cr, sport->port.membase + UARTCTRL); in lpuart32_console_write()