Lines Matching defs:lcr
66 __u32 lcr; /* line control register value */
168 priv->lcr = UART_LCR_WLEN8;
202 __u8 lcr, hcr, eval;
207 lcr = UART_LCR_WLEN5;
210 lcr = UART_LCR_WLEN6;
213 lcr = UART_LCR_WLEN7;
217 lcr = UART_LCR_WLEN8;
221 lcr |= UART_LCR_STOP;
223 lcr |= UART_LCR_PARITY;
225 lcr |= UART_LCR_EPAR;
228 lcr |= UART_LCR_SPAR;
259 lcr |= (priv->lcr & UART_LCR_SBC);
261 dev_dbg(&port->dev, "%s - setting hcr:0x%02x,lcr:0x%02x,quot:%d\n",
262 __func__, hcr, lcr, quot);
273 priv->lcr = lcr; /* need to write lcr anyway */
281 lcr|UART_LCR_DLAB);
285 /* restore lcr */
286 ark3116_write_reg(serial, UART_LCR, lcr);
294 } else if (priv->lcr != lcr) {
295 priv->lcr = lcr;
296 ark3116_write_reg(serial, UART_LCR, lcr);
473 priv->lcr |= UART_LCR_SBC;
475 priv->lcr &= ~UART_LCR_SBC;
477 ark3116_write_reg(port->serial, UART_LCR, priv->lcr);