Lines Matching refs:lcr
778 unsigned int lcr = 0, fc; in sprd_set_termios() local
789 lcr |= SPRD_LCR_DATA_LEN5; in sprd_set_termios()
792 lcr |= SPRD_LCR_DATA_LEN6; in sprd_set_termios()
795 lcr |= SPRD_LCR_DATA_LEN7; in sprd_set_termios()
799 lcr |= SPRD_LCR_DATA_LEN8; in sprd_set_termios()
804 lcr &= ~(SPRD_LCR_STOP_1BIT | SPRD_LCR_STOP_2BIT); in sprd_set_termios()
806 lcr |= SPRD_LCR_STOP_2BIT; in sprd_set_termios()
808 lcr |= SPRD_LCR_STOP_1BIT; in sprd_set_termios()
811 lcr &= ~SPRD_LCR_PARITY; in sprd_set_termios()
814 lcr |= SPRD_LCR_PARITY_EN; in sprd_set_termios()
816 lcr |= SPRD_LCR_ODD_PAR; in sprd_set_termios()
818 lcr |= SPRD_LCR_EVEN_PAR; in sprd_set_termios()
861 serial_out(port, SPRD_LCR, lcr); in sprd_set_termios()