Lines Matching refs:mr1
757 unsigned char mr1, mr2; in mpc52xx_uart_set_termios() local
762 mr1 = 0; in mpc52xx_uart_set_termios()
765 case CS5: mr1 |= MPC52xx_PSC_MODE_5_BITS; in mpc52xx_uart_set_termios()
767 case CS6: mr1 |= MPC52xx_PSC_MODE_6_BITS; in mpc52xx_uart_set_termios()
769 case CS7: mr1 |= MPC52xx_PSC_MODE_7_BITS; in mpc52xx_uart_set_termios()
772 default: mr1 |= MPC52xx_PSC_MODE_8_BITS; in mpc52xx_uart_set_termios()
776 mr1 |= (new->c_cflag & PARODD) ? in mpc52xx_uart_set_termios()
779 mr1 |= MPC52xx_PSC_MODE_PARNONE; in mpc52xx_uart_set_termios()
792 mr1 |= MPC52xx_PSC_MODE_RXRTS; in mpc52xx_uart_set_termios()
820 out_8(&psc->mode, mr1); in mpc52xx_uart_set_termios()
1105 unsigned char mr1; in mpc52xx_console_get_options() local
1111 mr1 = in_8(&psc->mode); in mpc52xx_console_get_options()
1117 switch (mr1 & MPC52xx_PSC_MODE_BITS_MASK) { in mpc52xx_console_get_options()
1132 if (mr1 & MPC52xx_PSC_MODE_PARNONE) in mpc52xx_console_get_options()
1135 *parity = mr1 & MPC52xx_PSC_MODE_PARODD ? 'o' : 'e'; in mpc52xx_console_get_options()