Searched refs:old_cr (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/tty/serial/ |
| H A D | amba-pl010.c | 382 unsigned int lcr_h, old_cr; in pl010_set_termios() local 451 old_cr = readb(uap->port.membase + UART010_CR) & ~UART010_CR_MSIE; in pl010_set_termios() 454 old_cr |= UART010_CR_MSIE; in pl010_set_termios() 467 writel(old_cr, uap->port.membase + UART010_CR); in pl010_set_termios() 578 unsigned int status, old_cr; in pl010_console_write() local 585 old_cr = readb(uap->port.membase + UART010_CR); in pl010_console_write() 598 writel(old_cr, uap->port.membase + UART010_CR); in pl010_console_write()
|
| H A D | amba-pl011.c | 265 unsigned int old_cr; /* state during shutdown */ member 1784 cr = uap->old_cr & (UART011_CR_RTS | UART011_CR_DTR); in pl011_startup() 1851 uap->old_cr = cr; in pl011_disable_uart() 1960 unsigned int lcr_h, old_cr; in pl011_set_termios() local 2026 old_cr = pl011_read(uap, REG_CR); in pl011_set_termios() 2030 if (old_cr & UART011_CR_RTS) in pl011_set_termios() 2031 old_cr |= UART011_CR_RTSEN; in pl011_set_termios() 2033 old_cr |= UART011_CR_CTSEN; in pl011_set_termios() 2036 old_cr &= ~(UART011_CR_CTSEN | UART011_CR_RTSEN); in pl011_set_termios() 2042 old_cr |= ST_UART011_CR_OVSFACT; in pl011_set_termios() [all …]
|
| H A D | apbuart.c | 431 unsigned int status, old_cr, new_cr; in apbuart_console_write() local 434 old_cr = UART_GET_CTRL(port); in apbuart_console_write() 435 new_cr = old_cr & ~(UART_CTRL_RI | UART_CTRL_TI); in apbuart_console_write() 447 UART_PUT_CTRL(port, old_cr); in apbuart_console_write()
|
| H A D | fsl_linflexuart.c | 420 unsigned long cr, old_cr, cr1; in linflex_set_termios() local 424 old_cr = cr; in linflex_set_termios() 455 cr = old_cr & ~LINFLEXD_UARTCR_WL1 & ~LINFLEXD_UARTCR_WL0; in linflex_set_termios() 460 cr = (old_cr | LINFLEXD_UARTCR_WL0) & ~LINFLEXD_UARTCR_WL1; in linflex_set_termios()
|
| H A D | fsl_lpuart.c | 2303 unsigned long old_cr, cr; in lpuart32_console_write() local 2313 cr = old_cr = lpuart32_read(&sport->port, UARTCTRL); in lpuart32_console_write() 2323 lpuart32_write(&sport->port, old_cr, UARTCTRL); in lpuart32_console_write()
|