Lines Matching refs:mr1
567 unsigned char mr1, mr2; in mpc52xx_uart_set_termios() local
572 mr1 = 0; in mpc52xx_uart_set_termios()
575 case CS5: mr1 |= MPC52xx_PSC_MODE_5_BITS; in mpc52xx_uart_set_termios()
577 case CS6: mr1 |= MPC52xx_PSC_MODE_6_BITS; in mpc52xx_uart_set_termios()
579 case CS7: mr1 |= MPC52xx_PSC_MODE_7_BITS; in mpc52xx_uart_set_termios()
582 default: mr1 |= MPC52xx_PSC_MODE_8_BITS; in mpc52xx_uart_set_termios()
586 mr1 |= (new->c_cflag & PARODD) ? in mpc52xx_uart_set_termios()
589 mr1 |= MPC52xx_PSC_MODE_PARNONE; in mpc52xx_uart_set_termios()
602 mr1 |= MPC52xx_PSC_MODE_RXRTS; in mpc52xx_uart_set_termios()
637 out_8(&psc->mode, mr1); in mpc52xx_uart_set_termios()
907 unsigned char mr1; in mpc52xx_console_get_options() local
913 mr1 = in_8(&psc->mode); in mpc52xx_console_get_options()
919 switch (mr1 & MPC52xx_PSC_MODE_BITS_MASK) { in mpc52xx_console_get_options()
934 if (mr1 & MPC52xx_PSC_MODE_PARNONE) in mpc52xx_console_get_options()
937 *parity = mr1 & MPC52xx_PSC_MODE_PARODD ? 'o' : 'e'; in mpc52xx_console_get_options()