Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/tty/serial/
Dnetx-serial.c329 unsigned char old_cr; in netx_set_termios() local
370 old_cr = readl(port->membase + UART_CR); in netx_set_termios()
373 writel(old_cr & ~(CR_MSIE | CR_RIE | CR_TIE | CR_RTIE), in netx_set_termios()
380 writel(old_cr & ~CR_UART_EN, port->membase + UART_CR); in netx_set_termios()
383 old_cr &= ~CR_MSIE; in netx_set_termios()
385 old_cr |= CR_MSIE; in netx_set_termios()
415 writel(old_cr, port->membase + UART_CR); in netx_set_termios()
Damba-pl010.c386 unsigned int lcr_h, old_cr; in pl010_set_termios() local
456 old_cr = readb(uap->port.membase + UART010_CR) & ~UART010_CR_MSIE; in pl010_set_termios()
459 old_cr |= UART010_CR_MSIE; in pl010_set_termios()
474 writel(old_cr, uap->port.membase + UART010_CR); in pl010_set_termios()
585 unsigned int status, old_cr; in pl010_console_write() local
592 old_cr = readb(uap->port.membase + UART010_CR); in pl010_console_write()
605 writel(old_cr, uap->port.membase + UART010_CR); in pl010_console_write()
Damba-pl011.c270 unsigned int old_cr; /* state during shutdown */ member
1777 cr = uap->old_cr & (UART011_CR_RTS | UART011_CR_DTR); in pl011_startup()
1844 uap->old_cr = cr; in pl011_disable_uart()
1953 unsigned int lcr_h, old_cr; in pl011_set_termios() local
2019 old_cr = pl011_read(uap, REG_CR); in pl011_set_termios()
2023 if (old_cr & UART011_CR_RTS) in pl011_set_termios()
2024 old_cr |= UART011_CR_RTSEN; in pl011_set_termios()
2026 old_cr |= UART011_CR_CTSEN; in pl011_set_termios()
2029 old_cr &= ~(UART011_CR_CTSEN | UART011_CR_RTSEN); in pl011_set_termios()
2035 old_cr |= ST_UART011_CR_OVSFACT; in pl011_set_termios()
[all …]
Dapbuart.c435 unsigned int status, old_cr, new_cr; in apbuart_console_write() local
438 old_cr = UART_GET_CTRL(port); in apbuart_console_write()
439 new_cr = old_cr & ~(UART_CTRL_RI | UART_CTRL_TI); in apbuart_console_write()
451 UART_PUT_CTRL(port, old_cr); in apbuart_console_write()
Dfsl_lpuart.c1880 unsigned long old_cr, cr; in lpuart32_console_write() local
1890 cr = old_cr = lpuart32_read(&sport->port, UARTCTRL); in lpuart32_console_write()
1901 lpuart32_write(&sport->port, old_cr, UARTCTRL); in lpuart32_console_write()