Lines Matching refs:lcr
185 unsigned int lcr; in sunplus_break_ctl() local
189 lcr = readl(port->membase + SUP_UART_LCR); in sunplus_break_ctl()
192 lcr |= SUP_UART_LCR_SBC; /* start break */ in sunplus_break_ctl()
194 lcr &= ~SUP_UART_LCR_SBC; /* stop break */ in sunplus_break_ctl()
196 writel(lcr, port->membase + SUP_UART_LCR); in sunplus_break_ctl()
336 u32 ext, div, div_l, div_h, baud, lcr; in sunplus_set_termios() local
352 lcr = UART_LCR_WLEN5; in sunplus_set_termios()
355 lcr = UART_LCR_WLEN6; in sunplus_set_termios()
358 lcr = UART_LCR_WLEN7; in sunplus_set_termios()
361 lcr = UART_LCR_WLEN8; in sunplus_set_termios()
366 lcr |= UART_LCR_STOP; in sunplus_set_termios()
369 lcr |= UART_LCR_PARITY; in sunplus_set_termios()
372 lcr |= UART_LCR_EPAR; in sunplus_set_termios()
408 writel(lcr, port->membase + SUP_UART_LCR); in sunplus_set_termios()