old_termios      2283 drivers/char/pcmcia/synclink_cs.c static void mgslpc_set_termios(struct tty_struct *tty, struct ktermios *old_termios)
old_termios      2293 drivers/char/pcmcia/synclink_cs.c 	if ((tty->termios.c_cflag == old_termios->c_cflag)
old_termios      2295 drivers/char/pcmcia/synclink_cs.c 		== RELEVANT_IFLAG(old_termios->c_iflag)))
old_termios      2301 drivers/char/pcmcia/synclink_cs.c 	if ((old_termios->c_cflag & CBAUD) && !C_BAUD(tty)) {
old_termios      2309 drivers/char/pcmcia/synclink_cs.c 	if (!(old_termios->c_cflag & CBAUD) && C_BAUD(tty)) {
old_termios      2319 drivers/char/pcmcia/synclink_cs.c 	if (old_termios->c_cflag & CRTSCTS && !C_CRTSCTS(tty)) {
old_termios       478 drivers/ipack/devices/ipoctal.c 				struct ktermios *old_termios)
old_termios       875 drivers/mmc/core/sdio_uart.c 						struct ktermios *old_termios)
old_termios       883 drivers/mmc/core/sdio_uart.c 	sdio_uart_change_speed(port, &tty->termios, old_termios);
old_termios       886 drivers/mmc/core/sdio_uart.c 	if ((old_termios->c_cflag & CBAUD) && !(cflag & CBAUD))
old_termios       890 drivers/mmc/core/sdio_uart.c 	if (!(old_termios->c_cflag & CBAUD) && (cflag & CBAUD)) {
old_termios       898 drivers/mmc/core/sdio_uart.c 	if ((old_termios->c_cflag & CRTSCTS) && !(cflag & CRTSCTS)) {
old_termios       904 drivers/mmc/core/sdio_uart.c 	if (!(old_termios->c_cflag & CRTSCTS) && (cflag & CRTSCTS)) {
old_termios       647 drivers/tty/amiserial.c 			 struct ktermios *old_termios)
old_termios       690 drivers/tty/amiserial.c 	if (!quot && old_termios) {
old_termios       693 drivers/tty/amiserial.c 		tty->termios.c_cflag |= (old_termios->c_cflag & CBAUD);
old_termios      1277 drivers/tty/amiserial.c static void rs_set_termios(struct tty_struct *tty, struct ktermios *old_termios)
old_termios      1283 drivers/tty/amiserial.c 	change_speed(tty, info, old_termios);
old_termios      1286 drivers/tty/amiserial.c 	if ((old_termios->c_cflag & CBAUD) && !(cflag & CBAUD)) {
old_termios      1294 drivers/tty/amiserial.c 	if (!(old_termios->c_cflag & CBAUD) && (cflag & CBAUD)) {
old_termios      1304 drivers/tty/amiserial.c 	if ((old_termios->c_cflag & CRTSCTS) && !C_CRTSCTS(tty)) {
old_termios      1316 drivers/tty/amiserial.c 	if (!(old_termios->c_cflag & CLOCAL) && C_CLOCAL(tty))
old_termios      2767 drivers/tty/cyclades.c static void cy_set_termios(struct tty_struct *tty, struct ktermios *old_termios)
old_termios      2777 drivers/tty/cyclades.c 	if ((old_termios->c_cflag & CRTSCTS) && !C_CRTSCTS(tty)) {
old_termios      2788 drivers/tty/cyclades.c 	if (!(old_termios->c_cflag & CLOCAL) && C_CLOCAL(tty))
old_termios      1154 drivers/tty/isicom.c 	struct ktermios *old_termios)
old_termios      1162 drivers/tty/isicom.c 	if (tty->termios.c_cflag == old_termios->c_cflag &&
old_termios      1163 drivers/tty/isicom.c 			tty->termios.c_iflag == old_termios->c_iflag)
old_termios      1170 drivers/tty/isicom.c 	if ((old_termios->c_cflag & CRTSCTS) && !C_CRTSCTS(tty)) {
old_termios      1307 drivers/tty/moxa.c 		struct ktermios *old_termios)
old_termios      1313 drivers/tty/moxa.c 	moxa_set_tty_param(tty, old_termios);
old_termios      1314 drivers/tty/moxa.c 	if (!(old_termios->c_cflag & CLOCAL) && C_CLOCAL(tty))
old_termios      1466 drivers/tty/moxa.c static void moxa_set_tty_param(struct tty_struct *tty, struct ktermios *old_termios)
old_termios      1485 drivers/tty/moxa.c 		baud = tty_termios_baud_rate(old_termios);
old_termios      1941 drivers/tty/mxser.c static void mxser_set_termios(struct tty_struct *tty, struct ktermios *old_termios)
old_termios      1950 drivers/tty/mxser.c 	if ((old_termios->c_cflag & CRTSCTS) && !C_CRTSCTS(tty)) {
old_termios      1956 drivers/tty/mxser.c 	if ((old_termios->c_iflag & IXON) && !I_IXON(tty)) {
old_termios       263 drivers/tty/pty.c 					struct ktermios *old_termios)
old_termios       267 drivers/tty/pty.c 		int extproc = (old_termios->c_lflag & EXTPROC) | L_EXTPROC(tty);
old_termios       268 drivers/tty/pty.c 		int old_flow = ((old_termios->c_iflag & IXON) &&
old_termios       269 drivers/tty/pty.c 				(old_termios->c_cc[VSTOP] == '\023') &&
old_termios       270 drivers/tty/pty.c 				(old_termios->c_cc[VSTART] == '\021'));
old_termios       696 drivers/tty/rocket.c 			     struct ktermios *old_termios)
old_termios       740 drivers/tty/rocket.c 	if ((divisor >= 8192 || divisor < 0) && old_termios) {
old_termios       741 drivers/tty/rocket.c 		baud = tty_termios_baud_rate(old_termios);
old_termios      1042 drivers/tty/rocket.c 			   struct ktermios *old_termios)
old_termios      1058 drivers/tty/rocket.c 		    ((cflag & ~CSIZE) | (old_termios->c_cflag & CSIZE));
old_termios      1062 drivers/tty/rocket.c 	configure_r_port(tty, info, old_termios);
old_termios      1067 drivers/tty/rocket.c 	if ((old_termios->c_cflag & CBAUD) && !C_BAUD(tty)) {
old_termios      1073 drivers/tty/rocket.c 	if (!(old_termios->c_cflag & CBAUD) && C_BAUD(tty)) {
old_termios      1078 drivers/tty/rocket.c 	if ((old_termios->c_cflag & CRTSCTS) && !C_CRTSCTS(tty))
old_termios       566 drivers/tty/serial/dz.c 			   struct ktermios *old_termios)
old_termios       597 drivers/tty/serial/dz.c 	baud = uart_get_baud_rate(uport, termios, old_termios, 50, 9600);
old_termios       600 drivers/tty/serial/dz.c 		baud = uart_get_baud_rate(uport, old_termios, NULL, 50, 9600);
old_termios      1087 drivers/tty/serial/icom.c 			     struct ktermios *old_termios)
old_termios      1140 drivers/tty/serial/icom.c 	baud = uart_get_baud_rate(port, termios, old_termios,
old_termios       301 drivers/tty/serial/jsm/jsm_tty.c 				 struct ktermios *old_termios)
old_termios       539 drivers/tty/serial/sb1250-duart.c 			    struct ktermios *old_termios)
old_termios       583 drivers/tty/serial/sb1250-duart.c 	baud = uart_get_baud_rate(uport, termios, old_termios, 1200, 5000000);
old_termios        44 drivers/tty/serial/serial_core.c 					struct ktermios *old_termios);
old_termios       501 drivers/tty/serial/serial_core.c 					struct ktermios *old_termios)
old_termios       515 drivers/tty/serial/serial_core.c 	uport->ops->set_termios(uport, termios, old_termios);
old_termios      1477 drivers/tty/serial/serial_core.c 						struct ktermios *old_termios)
old_termios      1497 drivers/tty/serial/serial_core.c 		   tty->termios.c_cc[VSTART] != old_termios->c_cc[VSTART] ||
old_termios      1498 drivers/tty/serial/serial_core.c 		   tty->termios.c_cc[VSTOP] != old_termios->c_cc[VSTOP];
old_termios      1507 drivers/tty/serial/serial_core.c 	if ((cflag ^ old_termios->c_cflag) == 0 &&
old_termios      1508 drivers/tty/serial/serial_core.c 	    tty->termios.c_ospeed == old_termios->c_ospeed &&
old_termios      1509 drivers/tty/serial/serial_core.c 	    tty->termios.c_ispeed == old_termios->c_ispeed &&
old_termios      1510 drivers/tty/serial/serial_core.c 	    ((tty->termios.c_iflag ^ old_termios->c_iflag) & iflag_mask) == 0 &&
old_termios      1515 drivers/tty/serial/serial_core.c 	uart_change_speed(tty, state, old_termios);
old_termios      1520 drivers/tty/serial/serial_core.c 	if ((old_termios->c_cflag & CBAUD) && !(cflag & CBAUD))
old_termios      1523 drivers/tty/serial/serial_core.c 	else if (!(old_termios->c_cflag & CBAUD) && (cflag & CBAUD)) {
old_termios       853 drivers/tty/serial/zs.c 			   struct ktermios *old_termios)
old_termios       915 drivers/tty/serial/zs.c 	baud = uart_get_baud_rate(uport, termios, old_termios, 0,
old_termios      3018 drivers/tty/synclink.c static void mgsl_set_termios(struct tty_struct *tty, struct ktermios *old_termios)
old_termios      3030 drivers/tty/synclink.c 	if ((old_termios->c_cflag & CBAUD) && !C_BAUD(tty)) {
old_termios      3038 drivers/tty/synclink.c 	if (!(old_termios->c_cflag & CBAUD) && C_BAUD(tty)) {
old_termios      3048 drivers/tty/synclink.c 	if (old_termios->c_cflag & CRTSCTS && !C_CRTSCTS(tty)) {
old_termios       143 drivers/tty/synclink_gt.c static void set_termios(struct tty_struct *tty, struct ktermios *old_termios);
old_termios       766 drivers/tty/synclink_gt.c static void set_termios(struct tty_struct *tty, struct ktermios *old_termios)
old_termios       776 drivers/tty/synclink_gt.c 	if ((old_termios->c_cflag & CBAUD) && !C_BAUD(tty)) {
old_termios       784 drivers/tty/synclink_gt.c 	if (!(old_termios->c_cflag & CBAUD) && C_BAUD(tty)) {
old_termios       794 drivers/tty/synclink_gt.c 	if ((old_termios->c_cflag & CRTSCTS) && !C_CRTSCTS(tty)) {
old_termios       509 drivers/tty/synclinkmp.c static void set_termios(struct tty_struct *tty, struct ktermios *old_termios);
old_termios       862 drivers/tty/synclinkmp.c static void set_termios(struct tty_struct *tty, struct ktermios *old_termios)
old_termios       874 drivers/tty/synclinkmp.c 	if ((old_termios->c_cflag & CBAUD) && !C_BAUD(tty)) {
old_termios       882 drivers/tty/synclinkmp.c 	if (!(old_termios->c_cflag & CBAUD) && C_BAUD(tty)) {
old_termios       892 drivers/tty/synclinkmp.c 	if (old_termios->c_cflag & CRTSCTS && !C_CRTSCTS(tty)) {
old_termios       316 drivers/tty/tty_ioctl.c 	struct ktermios old_termios;
old_termios       329 drivers/tty/tty_ioctl.c 	old_termios = tty->termios;
old_termios       331 drivers/tty/tty_ioctl.c 	unset_locked_termios(tty, &old_termios);
old_termios       334 drivers/tty/tty_ioctl.c 		tty->ops->set_termios(tty, &old_termios);
old_termios       336 drivers/tty/tty_ioctl.c 		tty_termios_copy_hw(&tty->termios, &old_termios);
old_termios       341 drivers/tty/tty_ioctl.c 			ld->ops->set_termios(tty, &old_termios);
old_termios       194 drivers/usb/serial/ark3116.c 				struct ktermios *old_termios)
old_termios       278 drivers/usb/serial/belkin_sa.c 		struct usb_serial_port *port, struct ktermios *old_termios)
old_termios       304 drivers/usb/serial/belkin_sa.c 	old_iflag = old_termios->c_iflag;
old_termios       305 drivers/usb/serial/belkin_sa.c 	old_cflag = old_termios->c_cflag;
old_termios       101 drivers/usb/serial/ch341.c 			      struct ktermios *old_termios);
old_termios       408 drivers/usb/serial/ch341.c 		struct usb_serial_port *port, struct ktermios *old_termios)
old_termios       417 drivers/usb/serial/ch341.c 	if (old_termios && !tty_termios_hw_change(&tty->termios, old_termios))
old_termios       454 drivers/usb/serial/ch341.c 		if (r < 0 && old_termios) {
old_termios       455 drivers/usb/serial/ch341.c 			priv->baud_rate = tty_termios_baud_rate(old_termios);
old_termios       456 drivers/usb/serial/ch341.c 			tty_termios_copy_hw(&tty->termios, old_termios);
old_termios       465 drivers/usb/serial/ch341.c 	else if (old_termios && (old_termios->c_cflag & CBAUD) == B0)
old_termios      1120 drivers/usb/serial/cp210x.c 		struct usb_serial_port *port, struct ktermios *old_termios)
old_termios      1142 drivers/usb/serial/cp210x.c 		if (old_termios)
old_termios      1143 drivers/usb/serial/cp210x.c 			baud = old_termios->c_ospeed;
old_termios      1152 drivers/usb/serial/cp210x.c 		struct usb_serial_port *port, struct ktermios *old_termios)
old_termios      1159 drivers/usb/serial/cp210x.c 	old_cflag = old_termios->c_cflag;
old_termios      1161 drivers/usb/serial/cp210x.c 	if (tty->termios.c_ospeed != old_termios->c_ospeed)
old_termios      1162 drivers/usb/serial/cp210x.c 		cp210x_change_speed(tty, port, old_termios);
old_termios       862 drivers/usb/serial/cypress_m8.c 	struct usb_serial_port *port, struct ktermios *old_termios)
old_termios       220 drivers/usb/serial/digi_acceleport.c 		struct usb_serial_port *port, struct ktermios *old_termios);
old_termios       675 drivers/usb/serial/digi_acceleport.c 		struct usb_serial_port *port, struct ktermios *old_termios)
old_termios       681 drivers/usb/serial/digi_acceleport.c 	unsigned int old_iflag = old_termios->c_iflag;
old_termios       682 drivers/usb/serial/digi_acceleport.c 	unsigned int old_cflag = old_termios->c_cflag;
old_termios       695 drivers/usb/serial/digi_acceleport.c 	if (baud != tty_termios_baud_rate(old_termios)) {
old_termios       531 drivers/usb/serial/f81232.c 		struct usb_serial_port *port, struct ktermios *old_termios)
old_termios       540 drivers/usb/serial/f81232.c 	if (old_termios && !tty_termios_hw_change(&tty->termios, old_termios))
old_termios       545 drivers/usb/serial/f81232.c 	else if (old_termios && (old_termios->c_cflag & CBAUD) == B0)
old_termios       550 drivers/usb/serial/f81232.c 		if (old_termios)
old_termios       551 drivers/usb/serial/f81232.c 			old_baud = tty_termios_baud_rate(old_termios);
old_termios       950 drivers/usb/serial/f81534.c 				struct ktermios *old_termios)
old_termios       959 drivers/usb/serial/f81534.c 	else if (old_termios && (old_termios->c_cflag & CBAUD) == B0)
old_termios       995 drivers/usb/serial/f81534.c 	if (old_termios)
old_termios       996 drivers/usb/serial/f81534.c 		old_baud = tty_termios_baud_rate(old_termios);
old_termios      2641 drivers/usb/serial/ftdi_sio.c 		struct usb_serial_port *port, struct ktermios *old_termios)
old_termios      2683 drivers/usb/serial/ftdi_sio.c 		if (old_termios)
old_termios      2684 drivers/usb/serial/ftdi_sio.c 			termios->c_cflag |= old_termios->c_cflag & CSIZE;
old_termios      2691 drivers/usb/serial/ftdi_sio.c 	if (!old_termios)
old_termios      2694 drivers/usb/serial/ftdi_sio.c 	if (old_termios->c_cflag == termios->c_cflag
old_termios      2695 drivers/usb/serial/ftdi_sio.c 	    && old_termios->c_ispeed == termios->c_ispeed
old_termios      2696 drivers/usb/serial/ftdi_sio.c 	    && old_termios->c_ospeed == termios->c_ospeed)
old_termios      2703 drivers/usb/serial/ftdi_sio.c 	if ((old_termios->c_cflag & (CSIZE|PARODD|PARENB|CMSPAR|CSTOPB)) ==
old_termios      2774 drivers/usb/serial/ftdi_sio.c 		if (old_termios && (old_termios->c_cflag & CBAUD) == B0)
old_termios       285 drivers/usb/serial/io_edgeport.c 					struct ktermios *old_termios);
old_termios       316 drivers/usb/serial/io_edgeport.c 				struct ktermios *old_termios);
old_termios      1545 drivers/usb/serial/io_edgeport.c 	struct usb_serial_port *port, struct ktermios *old_termios)
old_termios      1558 drivers/usb/serial/io_edgeport.c 	change_port_settings(tty, edge_port, old_termios);
old_termios      2447 drivers/usb/serial/io_edgeport.c 	struct edgeport_port *edge_port, struct ktermios *old_termios)
old_termios      2603 drivers/usb/serial/io_edgeport.c 		baud = tty_termios_baud_rate(old_termios);
old_termios       225 drivers/usb/serial/io_ti.c 		struct usb_serial_port *port, struct ktermios *old_termios);
old_termios      2229 drivers/usb/serial/io_ti.c 		struct edgeport_port *edge_port, struct ktermios *old_termios)
old_termios      2240 drivers/usb/serial/io_ti.c 		tty->termios = *old_termios;
old_termios      2372 drivers/usb/serial/io_ti.c 		struct usb_serial_port *port, struct ktermios *old_termios)
old_termios      2379 drivers/usb/serial/io_ti.c 	change_port_settings(tty, edge_port, old_termios);
old_termios        54 drivers/usb/serial/ir-usb.c 		struct usb_serial_port *port, struct ktermios *old_termios);
old_termios       389 drivers/usb/serial/ir-usb.c 		struct usb_serial_port *port, struct ktermios *old_termios)
old_termios       444 drivers/usb/serial/ir-usb.c 	tty_termios_copy_hw(&tty->termios, old_termios);
old_termios       878 drivers/usb/serial/iuu_phoenix.c 		struct usb_serial_port *port, struct ktermios *old_termios)
old_termios       921 drivers/usb/serial/iuu_phoenix.c 	if (old_termios)
old_termios       922 drivers/usb/serial/iuu_phoenix.c 		tty_termios_copy_hw(&tty->termios, old_termios);
old_termios       639 drivers/usb/serial/keyspan.c 		struct usb_serial_port *port, struct ktermios *old_termios)
old_termios       661 drivers/usb/serial/keyspan.c 		baud_rate = tty_termios_baud_rate(old_termios);
old_termios       314 drivers/usb/serial/keyspan_pda.c 		struct usb_serial_port *port, struct ktermios *old_termios)
old_termios       345 drivers/usb/serial/keyspan_pda.c 		speed = tty_termios_baud_rate(old_termios);
old_termios       349 drivers/usb/serial/keyspan_pda.c 	tty_termios_copy_hw(&tty->termios, old_termios);
old_termios       400 drivers/usb/serial/kl5kusb105.c 				 struct ktermios *old_termios)
old_termios       405 drivers/usb/serial/kl5kusb105.c 	unsigned int old_iflag = old_termios->c_iflag;
old_termios       407 drivers/usb/serial/kl5kusb105.c 	unsigned int old_cflag = old_termios->c_cflag;
old_termios       598 drivers/usb/serial/mct_u232.c 				 struct ktermios *old_termios)
old_termios       604 drivers/usb/serial/mct_u232.c 	unsigned int old_cflag = old_termios->c_cflag;
old_termios      1524 drivers/usb/serial/mos7720.c 				 struct ktermios *old_termios)
old_termios      1680 drivers/usb/serial/mos7720.c 		struct usb_serial_port *port, struct ktermios *old_termios)
old_termios      1696 drivers/usb/serial/mos7720.c 	change_port_settings(tty, mos7720_port, old_termios);
old_termios      1687 drivers/usb/serial/mos7840.c 	struct moschip_port *mos7840_port, struct ktermios *old_termios)
old_termios      1845 drivers/usb/serial/mos7840.c 				struct ktermios *old_termios)
old_termios      1871 drivers/usb/serial/mos7840.c 	mos7840_change_port_settings(tty, mos7840_port, old_termios);
old_termios       770 drivers/usb/serial/mxuport.c 				    struct ktermios *old_termios,
old_termios       811 drivers/usb/serial/mxuport.c 	if (!old_termios ||
old_termios       812 drivers/usb/serial/mxuport.c 	    C_CRTSCTS(tty) != (old_termios->c_cflag & CRTSCTS)) {
old_termios       820 drivers/usb/serial/mxuport.c 		if (old_termios && (old_termios->c_cflag & CBAUD) == B0) {
old_termios       844 drivers/usb/serial/mxuport.c 				struct ktermios *old_termios)
old_termios       854 drivers/usb/serial/mxuport.c 	if (old_termios &&
old_termios       855 drivers/usb/serial/mxuport.c 	    !tty_termios_hw_change(&tty->termios, old_termios) &&
old_termios       856 drivers/usb/serial/mxuport.c 	    tty->termios.c_iflag == old_termios->c_iflag) {
old_termios       915 drivers/usb/serial/mxuport.c 	err = mxuport_set_termios_flow(tty, old_termios, port, serial);
old_termios       400 drivers/usb/serial/oti6858.c 		struct usb_serial_port *port, struct ktermios *old_termios)
old_termios       599 drivers/usb/serial/pl2303.c 		struct usb_serial_port *port, struct ktermios *old_termios)
old_termios       609 drivers/usb/serial/pl2303.c 	if (old_termios && !pl2303_termios_change(&tty->termios, old_termios))
old_termios       615 drivers/usb/serial/pl2303.c 		if (old_termios)
old_termios       616 drivers/usb/serial/pl2303.c 			tty->termios = *old_termios;
old_termios       701 drivers/usb/serial/pl2303.c 	if (!old_termios || memcmp(buf, priv->line_settings, 7)) {
old_termios       712 drivers/usb/serial/pl2303.c 	else if (old_termios && (old_termios->c_cflag & CBAUD) == B0)
old_termios       265 drivers/usb/serial/quatech2.c 			    struct ktermios *old_termios)
old_termios       288 drivers/usb/serial/spcp8x5.c 		struct usb_serial_port *port, struct ktermios *old_termios)
old_termios       301 drivers/usb/serial/spcp8x5.c 	if (old_termios && !tty_termios_hw_change(&tty->termios, old_termios))
old_termios       307 drivers/usb/serial/spcp8x5.c 	if (old_termios && (old_termios->c_cflag & CBAUD) == B0) {
old_termios       309 drivers/usb/serial/spcp8x5.c 		if (!(old_termios->c_cflag & CRTSCTS))
old_termios       218 drivers/usb/serial/ssu100.c 			       struct ktermios *old_termios)
old_termios       317 drivers/usb/serial/ti_usb_3410_5052.c 		struct usb_serial_port *port, struct ktermios *old_termios);
old_termios       902 drivers/usb/serial/ti_usb_3410_5052.c 		struct usb_serial_port *port, struct ktermios *old_termios)
old_termios       306 drivers/usb/serial/upd78f0730.c 				struct ktermios *old_termios)
old_termios       312 drivers/usb/serial/upd78f0730.c 	if (old_termios && !tty_termios_hw_change(&tty->termios, old_termios))
old_termios       317 drivers/usb/serial/upd78f0730.c 	else if (old_termios && (old_termios->c_cflag & CBAUD) == B0)
old_termios       464 drivers/usb/serial/whiteheat.c 	struct usb_serial_port *port, struct ktermios *old_termios)