Lines Matching defs:lcr
711 int lcr;
729 lcr = readb(&uart->i4u_lcr);
730 writeb(lcr | UART_LCR_DLAB, &uart->i4u_lcr);
733 writeb(lcr, &uart->i4u_lcr);
1317 char lcr, sizebits;
1355 /* Clear relevant fields in lcr */
1356 lcr = readb(&port->ip_uart_regs->i4u_lcr);
1357 lcr &= ~(LCR_MASK_BITS_CHAR | UART_LCR_EPAR |
1360 /* Set byte size in lcr */
1361 lcr |= sizebits;
1365 lcr |= UART_LCR_PARITY;
1367 lcr |= UART_LCR_EPAR;
1372 lcr |= UART_LCR_STOP /* 2 stop bits */ ;
1374 writeb(lcr, &port->ip_uart_regs->i4u_lcr);