Lines Matching defs:lcr
312 int lcr, prediv;
339 lcr = readb(&uart->iu_lcr);
341 writeb(lcr | UART_LCR_DLAB, &uart->iu_lcr);
345 writeb((unsigned char)lcr, &uart->iu_lcr);
587 char lcr, sizebits;
627 /* Clear relevant fields in lcr */
628 lcr = readb(&port->ip_uart_regs->iu_lcr);
629 lcr &= ~(LCR_MASK_BITS_CHAR | UART_LCR_EPAR |
632 /* Set byte size in lcr */
633 lcr |= sizebits;
637 lcr |= UART_LCR_PARITY;
639 lcr |= UART_LCR_EPAR;
644 lcr |= UART_LCR_STOP /* 2 stop bits */ ;
646 writeb(lcr, &port->ip_uart_regs->iu_lcr);