Lines Matching refs:cval
575 unsigned char cval; in mxser_set_baud() local
608 cval = inb(info->ioaddr + UART_LCR); in mxser_set_baud()
610 outb(cval | UART_LCR_DLAB, info->ioaddr + UART_LCR); /* set DLAB */ in mxser_set_baud()
614 outb(cval, info->ioaddr + UART_LCR); /* reset DLAB */ in mxser_set_baud()
642 unsigned cflag, cval, fcr; in mxser_change_speed() local
656 cval = 0x00; in mxser_change_speed()
659 cval = 0x01; in mxser_change_speed()
662 cval = 0x02; in mxser_change_speed()
665 cval = 0x03; in mxser_change_speed()
668 cval = 0x00; in mxser_change_speed()
672 cval |= 0x04; in mxser_change_speed()
674 cval |= UART_LCR_PARITY; in mxser_change_speed()
676 cval |= UART_LCR_EPAR; in mxser_change_speed()
678 cval |= UART_LCR_SPAR; in mxser_change_speed()
808 outb(cval, info->ioaddr + UART_LCR); in mxser_change_speed()