Lines Matching refs:lcr
284 unsigned int lcr = vt8500_read(port, VT8500_URLCR); in vt8500_set_mctrl() local
287 lcr |= VT8500_RTS; in vt8500_set_mctrl()
289 lcr &= ~VT8500_RTS; in vt8500_set_mctrl()
291 vt8500_write(port, lcr, VT8500_URLCR); in vt8500_set_mctrl()
365 unsigned int baud, lcr; in vt8500_set_termios() local
377 lcr = vt8500_read(&vt8500_port->uart, VT8500_URLCR); in vt8500_set_termios()
378 lcr &= ~(VT8500_PARENB | VT8500_PARODD); in vt8500_set_termios()
380 lcr |= VT8500_PARENB; in vt8500_set_termios()
383 lcr |= VT8500_PARODD; in vt8500_set_termios()
387 lcr &= ~VT8500_CS8; in vt8500_set_termios()
393 lcr |= VT8500_CS8; in vt8500_set_termios()
400 lcr &= ~VT8500_CSTOPB; in vt8500_set_termios()
402 lcr |= VT8500_CSTOPB; in vt8500_set_termios()
404 lcr &= ~VT8500_SWRTSCTS; in vt8500_set_termios()
406 lcr |= VT8500_SWRTSCTS; in vt8500_set_termios()
409 vt8500_write(&vt8500_port->uart, lcr, VT8500_URLCR); in vt8500_set_termios()