Lines Matching refs:lcr
99 u8 lcr; member
238 speed_t baud_rate, u8 lcr) in ch341_set_baudrate_lcr() argument
269 CH341_REG_LCR2 << 8 | CH341_REG_LCR, lcr); in ch341_set_baudrate_lcr()
317 r = ch341_set_baudrate_lcr(dev, priv, priv->baud_rate, priv->lcr); in ch341_configure()
378 priv->lcr = CH341_LCR_ENABLE_RX | CH341_LCR_ENABLE_TX | CH341_LCR_CS8; in ch341_port_probe()
478 u8 lcr; in ch341_set_termios() local
487 lcr = CH341_LCR_ENABLE_RX | CH341_LCR_ENABLE_TX; in ch341_set_termios()
491 lcr |= CH341_LCR_CS5; in ch341_set_termios()
494 lcr |= CH341_LCR_CS6; in ch341_set_termios()
497 lcr |= CH341_LCR_CS7; in ch341_set_termios()
500 lcr |= CH341_LCR_CS8; in ch341_set_termios()
505 lcr |= CH341_LCR_ENABLE_PAR; in ch341_set_termios()
507 lcr |= CH341_LCR_PAR_EVEN; in ch341_set_termios()
509 lcr |= CH341_LCR_MARK_SPACE; in ch341_set_termios()
513 lcr |= CH341_LCR_STOP_BITS_2; in ch341_set_termios()
519 priv->baud_rate, lcr); in ch341_set_termios()
524 priv->lcr = lcr; in ch341_set_termios()
608 priv->lcr); in ch341_simulate_break()