Lines Matching refs:ctrl_val
514 u32 ctrl_val; in asc_set_termios() local
530 ctrl_val = asc_in(port, ASC_CTL); in asc_set_termios()
533 asc_out(port, ASC_CTL, (ctrl_val & ~ASC_CTL_RUN)); in asc_set_termios()
534 ctrl_val = ASC_CTL_RXENABLE | ASC_CTL_FIFOENABLE; in asc_set_termios()
542 ctrl_val |= ASC_CTL_MODE_7BIT_PAR; in asc_set_termios()
544 ctrl_val |= (cflag & PARENB) ? ASC_CTL_MODE_8BIT_PAR : in asc_set_termios()
549 ctrl_val |= (cflag & CSTOPB) ? ASC_CTL_STOP_2BIT : ASC_CTL_STOP_1BIT; in asc_set_termios()
553 ctrl_val |= ASC_CTL_PARITYODD; in asc_set_termios()
557 ctrl_val |= ASC_CTL_CTSENABLE; in asc_set_termios()
599 ctrl_val |= ASC_CTL_BAUDMODE; in asc_set_termios()
636 asc_out(port, ASC_CTL, (ctrl_val | ASC_CTL_RUN)); in asc_set_termios()