Lines Matching refs:cflag
91 unsigned int cflag; member
482 sunsu_change_speed(struct uart_port *port, unsigned int cflag,
487 unsigned int cur_cflag = up->cflag; in sunsu_change_mouse_baud()
490 up->cflag &= ~CBAUD; in sunsu_change_mouse_baud()
491 up->cflag |= suncore_mouse_baud_cflag_next(cur_cflag, &new_baud); in sunsu_change_mouse_baud()
495 sunsu_change_speed(&up->port, up->cflag, 0, quot); in sunsu_change_mouse_baud()
771 sunsu_change_speed(struct uart_port *port, unsigned int cflag, in sunsu_change_speed() argument
779 switch (cflag & CSIZE) { in sunsu_change_speed()
795 if (cflag & CSTOPB) in sunsu_change_speed()
797 if (cflag & PARENB) in sunsu_change_speed()
799 if (!(cflag & PARODD)) in sunsu_change_speed()
801 if (cflag & CMSPAR) in sunsu_change_speed()
835 uart_update_timeout(port, cflag, (port->uartclk / (16 * quot))); in sunsu_change_speed()
862 if ((cflag & CREAD) == 0) in sunsu_change_speed()
869 if (UART_ENABLE_MS(&up->port, cflag)) in sunsu_change_speed()
876 serial_outp(up, UART_EFR, cflag & CRTSCTS ? UART_EFR_CTS :0); in sunsu_change_speed()
893 up->cflag = cflag; in sunsu_change_speed()
1195 up->cflag = B1200 | CS8 | CLOCAL | CREAD; in sunsu_kbd_ms_init()
1198 up->cflag = B4800 | CS8 | CLOCAL | CREAD; in sunsu_kbd_ms_init()
1238 sunsu_change_speed(&up->port, up->cflag, 0, quot); in sunsu_kbd_ms_init()
1353 termios.c_cflag = co->cflag; in sunsu_console_setup()