Lines Matching refs:lcr
66 __u32 lcr; /* line control register value */ member
168 priv->lcr = UART_LCR_WLEN8; in ark3116_port_probe()
212 __u8 lcr, hcr, eval; in ark3116_set_termios() local
217 lcr = UART_LCR_WLEN5; in ark3116_set_termios()
220 lcr = UART_LCR_WLEN6; in ark3116_set_termios()
223 lcr = UART_LCR_WLEN7; in ark3116_set_termios()
227 lcr = UART_LCR_WLEN8; in ark3116_set_termios()
231 lcr |= UART_LCR_STOP; in ark3116_set_termios()
233 lcr |= UART_LCR_PARITY; in ark3116_set_termios()
235 lcr |= UART_LCR_EPAR; in ark3116_set_termios()
238 lcr |= UART_LCR_SPAR; in ark3116_set_termios()
269 lcr |= (priv->lcr & UART_LCR_SBC); in ark3116_set_termios()
272 __func__, hcr, lcr, quot); in ark3116_set_termios()
283 priv->lcr = lcr; /* need to write lcr anyway */ in ark3116_set_termios()
291 lcr|UART_LCR_DLAB); in ark3116_set_termios()
296 ark3116_write_reg(serial, UART_LCR, lcr); in ark3116_set_termios()
304 } else if (priv->lcr != lcr) { in ark3116_set_termios()
305 priv->lcr = lcr; in ark3116_set_termios()
306 ark3116_write_reg(serial, UART_LCR, lcr); in ark3116_set_termios()
505 priv->lcr |= UART_LCR_SBC; in ark3116_break_ctl()
507 priv->lcr &= ~UART_LCR_SBC; in ark3116_break_ctl()
509 ark3116_write_reg(port->serial, UART_LCR, priv->lcr); in ark3116_break_ctl()