Home
last modified time | relevance | path

Searched refs:old_cflag (Results 1 – 7 of 7) sorted by relevance

/drivers/usb/serial/
Dbelkin_sa.c289 unsigned int old_cflag = 0; in belkin_sa_set_termios() local
309 old_cflag = old_termios->c_cflag; in belkin_sa_set_termios()
312 if ((cflag & CBAUD) != (old_cflag & CBAUD)) { in belkin_sa_set_termios()
314 if ((old_cflag & CBAUD) == B0) { in belkin_sa_set_termios()
319 if (!(old_cflag & CRTSCTS)) in belkin_sa_set_termios()
353 if ((cflag ^ old_cflag) & (PARENB | PARODD)) { in belkin_sa_set_termios()
364 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { in belkin_sa_set_termios()
389 if ((cflag & CSTOPB) != (old_cflag & CSTOPB)) { in belkin_sa_set_termios()
399 ((cflag ^ old_cflag) & CRTSCTS)) { in belkin_sa_set_termios()
Dkl5kusb105.c421 unsigned int old_cflag = old_termios->c_cflag; in klsi_105_set_termios() local
438 if ((cflag & CBAUD) != (old_cflag & CBAUD)) { in klsi_105_set_termios()
440 if ((old_cflag & CBAUD) == B0) { in klsi_105_set_termios()
445 if (!(old_cflag & CRTSCTS)) in klsi_105_set_termios()
498 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { in klsi_105_set_termios()
525 if ((cflag & (PARENB|PARODD)) != (old_cflag & (PARENB|PARODD)) in klsi_105_set_termios()
526 || (cflag & CSTOPB) != (old_cflag & CSTOPB)) { in klsi_105_set_termios()
553 || (cflag & CRTSCTS) != (old_cflag & CRTSCTS)) { in klsi_105_set_termios()
Dcp210x.c694 unsigned int cflag, old_cflag; in cp210x_set_termios() local
699 old_cflag = old_termios->c_cflag; in cp210x_set_termios()
705 if ((cflag & CSIZE) != (old_cflag & CSIZE)) { in cp210x_set_termios()
739 (old_cflag & (PARENB|PARODD|CMSPAR))) { in cp210x_set_termios()
765 if ((cflag & CSTOPB) != (old_cflag & CSTOPB)) { in cp210x_set_termios()
779 if ((cflag & CRTSCTS) != (old_cflag & CRTSCTS)) { in cp210x_set_termios()
Ddigi_acceleport.c681 unsigned int old_cflag = old_termios->c_cflag; in digi_set_termios() local
690 priv->dp_port_num, iflag, old_iflag, cflag, old_cflag); in digi_set_termios()
698 if ((old_cflag&CBAUD) == B0) { in digi_set_termios()
743 if ((cflag&(PARENB|PARODD)) != (old_cflag&(PARENB|PARODD))) { in digi_set_termios()
758 if ((cflag&CSIZE) != (old_cflag&CSIZE)) { in digi_set_termios()
782 if ((cflag&CSTOPB) != (old_cflag&CSTOPB)) { in digi_set_termios()
798 || (cflag&CRTSCTS) != (old_cflag&CRTSCTS)) { in digi_set_termios()
826 || (cflag & CRTSCTS) != (old_cflag & CRTSCTS)) { in digi_set_termios()
846 if ((cflag & CREAD) != (old_cflag & CREAD)) { in digi_set_termios()
Dmct_u232.c608 unsigned int old_cflag = old_termios->c_cflag; in mct_u232_set_termios() local
627 if ((old_cflag & CBAUD) == B0) { in mct_u232_set_termios()
Dkeyspan.c104 unsigned int old_cflag; member
1030 p_priv->old_cflag = 0; in keyspan_open()
2071 if (p_priv->old_cflag != p_priv->cflag) { in keyspan_usa90_send_setup()
2072 p_priv->old_cflag = p_priv->cflag; in keyspan_usa90_send_setup()
/drivers/isdn/gigaset/
Dinterface.c407 unsigned int old_cflag; in if_set_termios() local
421 old_cflag = old ? old->c_cflag : cflag; in if_set_termios()
423 cs->minor_index, iflag, cflag, old_cflag); in if_set_termios()
436 if ((old_cflag & CBAUD) == B0) { in if_set_termios()
439 if (!(old_cflag & CRTSCTS)) in if_set_termios()