Lines Matching defs:lcr
66 __u32 lcr; /* line control register value */
168 priv->lcr = UART_LCR_WLEN8;
200 __u8 lcr, hcr, eval;
203 lcr = UART_LCR_WLEN(tty_get_char_size(cflag));
206 lcr |= UART_LCR_STOP;
208 lcr |= UART_LCR_PARITY;
210 lcr |= UART_LCR_EPAR;
212 lcr |= UART_LCR_SPAR;
243 lcr |= (priv->lcr & UART_LCR_SBC);
245 dev_dbg(&port->dev, "%s - setting hcr:0x%02x,lcr:0x%02x,quot:%d\n",
246 __func__, hcr, lcr, quot);
257 priv->lcr = lcr; /* need to write lcr anyway */
265 lcr|UART_LCR_DLAB);
269 /* restore lcr */
270 ark3116_write_reg(serial, UART_LCR, lcr);
278 } else if (priv->lcr != lcr) {
279 priv->lcr = lcr;
280 ark3116_write_reg(serial, UART_LCR, lcr);
446 priv->lcr |= UART_LCR_SBC;
448 priv->lcr &= ~UART_LCR_SBC;
450 ret = ark3116_write_reg(port->serial, UART_LCR, priv->lcr);