Lines Matching refs:lcr
70 __u32 lcr; /* line control register value */ member
181 priv->lcr = UART_LCR_WLEN8; in ark3116_port_probe()
227 __u8 lcr, hcr, eval; in ark3116_set_termios() local
232 lcr = UART_LCR_WLEN5; in ark3116_set_termios()
235 lcr = UART_LCR_WLEN6; in ark3116_set_termios()
238 lcr = UART_LCR_WLEN7; in ark3116_set_termios()
242 lcr = UART_LCR_WLEN8; in ark3116_set_termios()
246 lcr |= UART_LCR_STOP; in ark3116_set_termios()
248 lcr |= UART_LCR_PARITY; in ark3116_set_termios()
250 lcr |= UART_LCR_EPAR; in ark3116_set_termios()
253 lcr |= UART_LCR_SPAR; in ark3116_set_termios()
284 lcr |= (priv->lcr & UART_LCR_SBC); in ark3116_set_termios()
287 __func__, hcr, lcr, quot); in ark3116_set_termios()
298 priv->lcr = lcr; /* need to write lcr anyway */ in ark3116_set_termios()
306 lcr|UART_LCR_DLAB); in ark3116_set_termios()
311 ark3116_write_reg(serial, UART_LCR, lcr); in ark3116_set_termios()
319 } else if (priv->lcr != lcr) { in ark3116_set_termios()
320 priv->lcr = lcr; in ark3116_set_termios()
321 ark3116_write_reg(serial, UART_LCR, lcr); in ark3116_set_termios()
504 priv->lcr |= UART_LCR_SBC; in ark3116_break_ctl()
506 priv->lcr &= ~UART_LCR_SBC; in ark3116_break_ctl()
508 ark3116_write_reg(port->serial, UART_LCR, priv->lcr); in ark3116_break_ctl()