Lines Matching refs:cval
631 unsigned int cval = 0; in cdns_uart_set_termios() local
707 cval |= CDNS_UART_MR_CHARLEN_6_BIT; in cdns_uart_set_termios()
710 cval |= CDNS_UART_MR_CHARLEN_7_BIT; in cdns_uart_set_termios()
714 cval |= CDNS_UART_MR_CHARLEN_8_BIT; in cdns_uart_set_termios()
722 cval |= CDNS_UART_MR_STOPMODE_2_BIT; /* 2 STOP bits */ in cdns_uart_set_termios()
724 cval |= CDNS_UART_MR_STOPMODE_1_BIT; /* 1 STOP bit */ in cdns_uart_set_termios()
730 cval |= CDNS_UART_MR_PARITY_MARK; in cdns_uart_set_termios()
732 cval |= CDNS_UART_MR_PARITY_SPACE; in cdns_uart_set_termios()
735 cval |= CDNS_UART_MR_PARITY_ODD; in cdns_uart_set_termios()
737 cval |= CDNS_UART_MR_PARITY_EVEN; in cdns_uart_set_termios()
740 cval |= CDNS_UART_MR_PARITY_NONE; in cdns_uart_set_termios()
742 cval |= mode_reg & 1; in cdns_uart_set_termios()
743 writel(cval, port->membase + CDNS_UART_MR_OFFSET); in cdns_uart_set_termios()