Searched refs:old_cr (Results 1 – 5 of 5) sorted by relevance
/drivers/tty/serial/ |
D | amba-pl010.c | 380 unsigned int lcr_h, old_cr; in pl010_set_termios() local 449 old_cr = readb(uap->port.membase + UART010_CR) & ~UART010_CR_MSIE; in pl010_set_termios() 452 old_cr |= UART010_CR_MSIE; in pl010_set_termios() 465 writel(old_cr, uap->port.membase + UART010_CR); in pl010_set_termios() 576 unsigned int status, old_cr; in pl010_console_write() local 583 old_cr = readb(uap->port.membase + UART010_CR); in pl010_console_write() 596 writel(old_cr, uap->port.membase + UART010_CR); in pl010_console_write()
|
D | amba-pl011.c | 267 unsigned int old_cr; /* state during shutdown */ member 1868 cr = uap->old_cr & (UART011_CR_RTS | UART011_CR_DTR); in pl011_startup() 1939 uap->old_cr = cr; in pl011_disable_uart() 2051 unsigned int lcr_h, old_cr; in pl011_set_termios() local 2129 old_cr = pl011_read(uap, REG_CR); in pl011_set_termios() 2132 if (old_cr & UART011_CR_RTS) in pl011_set_termios() 2133 old_cr |= UART011_CR_RTSEN; in pl011_set_termios() 2135 old_cr |= UART011_CR_CTSEN; in pl011_set_termios() 2138 old_cr &= ~(UART011_CR_CTSEN | UART011_CR_RTSEN); in pl011_set_termios() 2144 old_cr |= ST_UART011_CR_OVSFACT; in pl011_set_termios() [all …]
|
D | apbuart.c | 429 unsigned int status, old_cr, new_cr; in apbuart_console_write() local 432 old_cr = UART_GET_CTRL(port); in apbuart_console_write() 433 new_cr = old_cr & ~(UART_CTRL_RI | UART_CTRL_TI); in apbuart_console_write() 445 UART_PUT_CTRL(port, old_cr); in apbuart_console_write()
|
D | fsl_linflexuart.c | 419 unsigned long cr, old_cr, cr1; in linflex_set_termios() local 423 old_cr = cr; in linflex_set_termios() 454 cr = old_cr & ~LINFLEXD_UARTCR_WL1 & ~LINFLEXD_UARTCR_WL0; in linflex_set_termios() 459 cr = (old_cr | LINFLEXD_UARTCR_WL0) & ~LINFLEXD_UARTCR_WL1; in linflex_set_termios()
|
D | fsl_lpuart.c | 2392 unsigned long old_cr, cr; in lpuart32_console_write() local 2402 cr = old_cr = lpuart32_read(&sport->port, UARTCTRL); in lpuart32_console_write() 2412 lpuart32_write(&sport->port, old_cr, UARTCTRL); in lpuart32_console_write()
|