Lines Matching refs:lcr
70 uint8_t lcr; /* line control */ member
206 port->lcr = BITS8; /* 8,n,1 */ in comc_ini()
352 if ((sp->lcr & (PAREN|PAREVN)) == (PAREN|PAREVN)) in comc_asprint_mode()
354 else if ((sp->lcr & PAREN) == PAREN) in comc_asprint_mode()
360 (sp->lcr & BITS8) == BITS8? 8:7, in comc_asprint_mode()
361 par, (sp->lcr & STOP2) == STOP2? 2:1); in comc_asprint_mode()
370 int lcr; in comc_parse_mode() local
389 case 7: lcr = BITS7; in comc_parse_mode()
391 case 8: lcr = BITS8; in comc_parse_mode()
401 case 'e': lcr |= PAREN|PAREVN; in comc_parse_mode()
403 case 'o': lcr |= PAREN|PARODD; in comc_parse_mode()
417 case '2': lcr |= STOP2; in comc_parse_mode()
442 sp->lcr = lcr; in comc_parse_mode()
669 outb(sp->ioaddr + com_cfcr, CFCR_DLAB | sp->lcr); in comc_setup()
672 outb(sp->ioaddr + com_cfcr, sp->lcr); in comc_setup()