Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/tty/serial/
Damba-pl010.c354 unsigned int lcr_h, old_cr; in pl010_set_termios() local
423 old_cr = readb(port->membase + UART010_CR) & ~UART010_CR_MSIE; in pl010_set_termios()
426 old_cr |= UART010_CR_MSIE; in pl010_set_termios()
439 writel(old_cr, port->membase + UART010_CR); in pl010_set_termios()
549 unsigned int status, old_cr; in pl010_console_write() local
556 old_cr = readb(port->membase + UART010_CR); in pl010_console_write()
569 writel(old_cr, port->membase + UART010_CR); in pl010_console_write()
Dapbuart.c403 unsigned int status, old_cr, new_cr; in apbuart_console_write() local
406 old_cr = UART_GET_CTRL(port); in apbuart_console_write()
407 new_cr = old_cr & ~(UART_CTRL_RI | UART_CTRL_TI); in apbuart_console_write()
419 UART_PUT_CTRL(port, old_cr); in apbuart_console_write()
Damba-pl011.c2026 unsigned int lcr_h, old_cr; in pl011_set_termios() local
2104 old_cr = pl011_read(uap, REG_CR); in pl011_set_termios()
2107 if (old_cr & UART011_CR_RTS) in pl011_set_termios()
2108 old_cr |= UART011_CR_RTSEN; in pl011_set_termios()
2110 old_cr |= UART011_CR_CTSEN; in pl011_set_termios()
2113 old_cr &= ~(UART011_CR_CTSEN | UART011_CR_RTSEN); in pl011_set_termios()
2119 old_cr |= ST_UART011_CR_OVSFACT; in pl011_set_termios()
2121 old_cr &= ~ST_UART011_CR_OVSFACT; in pl011_set_termios()
2153 old_cr |= UART011_CR_RXE; in pl011_set_termios()
2154 pl011_write(old_cr, uap, REG_CR); in pl011_set_termios()
[all …]
Dfsl_linflexuart.c407 unsigned long cr, old_cr, cr1; in linflex_set_termios() local
411 old_cr = cr; in linflex_set_termios()
442 cr = old_cr & ~LINFLEXD_UARTCR_WL1 & ~LINFLEXD_UARTCR_WL0; in linflex_set_termios()
447 cr = (old_cr | LINFLEXD_UARTCR_WL0) & ~LINFLEXD_UARTCR_WL1; in linflex_set_termios()
Dfsl_lpuart.c2503 unsigned long old_cr, cr; in lpuart32_console_write() local
2513 cr = old_cr = lpuart32_read(&sport->port, UARTCTRL); in lpuart32_console_write()
2523 lpuart32_write(&sport->port, old_cr, UARTCTRL); in lpuart32_console_write()