Lines Matching refs:lcr
99 u8 lcr; member
247 speed_t baud_rate, u8 lcr) in ch341_set_baudrate_lcr() argument
285 CH341_REG_LCR2 << 8 | CH341_REG_LCR, lcr); in ch341_set_baudrate_lcr()
344 r = ch341_set_baudrate_lcr(dev, priv, priv->baud_rate, priv->lcr); in ch341_configure()
417 priv->lcr = CH341_LCR_ENABLE_RX | CH341_LCR_ENABLE_TX | CH341_LCR_CS8; in ch341_port_probe()
519 u8 lcr; in ch341_set_termios() local
528 lcr = CH341_LCR_ENABLE_RX | CH341_LCR_ENABLE_TX; in ch341_set_termios()
532 lcr |= CH341_LCR_CS5; in ch341_set_termios()
535 lcr |= CH341_LCR_CS6; in ch341_set_termios()
538 lcr |= CH341_LCR_CS7; in ch341_set_termios()
541 lcr |= CH341_LCR_CS8; in ch341_set_termios()
546 lcr |= CH341_LCR_ENABLE_PAR; in ch341_set_termios()
548 lcr |= CH341_LCR_PAR_EVEN; in ch341_set_termios()
550 lcr |= CH341_LCR_MARK_SPACE; in ch341_set_termios()
554 lcr |= CH341_LCR_STOP_BITS_2; in ch341_set_termios()
560 priv->baud_rate, lcr); in ch341_set_termios()
565 priv->lcr = lcr; in ch341_set_termios()
649 priv->lcr); in ch341_simulate_break()