Home
last modified time | relevance | path

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

/linux-3.4.99/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-pl011.c163 unsigned int old_cr; /* state during shutdown */ member
1436 cr = uap->old_cr & (UART011_CR_RTS | UART011_CR_DTR); in pl011_startup()
1520 uap->old_cr = cr; in pl011_shutdown()
1553 unsigned int lcr_h, old_cr; in pl011_set_termios() local
1636 old_cr = readw(port->membase + UART011_CR); in pl011_set_termios()
1640 if (old_cr & UART011_CR_RTS) in pl011_set_termios()
1641 old_cr |= UART011_CR_RTSEN; in pl011_set_termios()
1643 old_cr |= UART011_CR_CTSEN; in pl011_set_termios()
1646 old_cr &= ~(UART011_CR_CTSEN | UART011_CR_RTSEN); in pl011_set_termios()
1652 old_cr |= ST_UART011_CR_OVSFACT; in pl011_set_termios()
[all …]
Damba-pl010.c387 unsigned int lcr_h, old_cr; in pl010_set_termios() local
457 old_cr = readb(uap->port.membase + UART010_CR) & ~UART010_CR_MSIE; in pl010_set_termios()
460 old_cr |= UART010_CR_MSIE; in pl010_set_termios()
475 writel(old_cr, uap->port.membase + UART010_CR); in pl010_set_termios()
577 unsigned int status, old_cr; in pl010_console_write() local
584 old_cr = readb(uap->port.membase + UART010_CR); in pl010_console_write()
597 writel(old_cr, uap->port.membase + UART010_CR); in pl010_console_write()
Dapbuart.c439 unsigned int status, old_cr, new_cr; in apbuart_console_write() local
442 old_cr = UART_GET_CTRL(port); in apbuart_console_write()
443 new_cr = old_cr & ~(UART_CTRL_RI | UART_CTRL_TI); in apbuart_console_write()
455 UART_PUT_CTRL(port, old_cr); in apbuart_console_write()