Home
last modified time | relevance | path

Searched refs:c_ispeed (Results 1 – 25 of 25) sorted by relevance

/freebsd-11-stable/lib/libc/gen/
HDtermios.c135 return (t->c_ispeed); in cfgetispeed()
150 t->c_ispeed = speed; in cfsetispeed()
158 t->c_ispeed = t->c_ospeed = speed; in cfsetspeed()
192 t->c_ispeed = TTYDEF_SPEED; in cfmakesane()
/freebsd-11-stable/contrib/tcsh/
HDmi.termios.c58 return termios_p->c_ispeed;
71 termios_p->c_ispeed = speed;
261 termios_p->c_ispeed =
300 if ((termios_p->c_ispeed != 0 && termios_p->c_ispeed != termios_p->c_ospeed)
/freebsd-11-stable/sys/kern/
HDtty_compat.c110 else if (speed != ttcompatspeedtab(tp->t_termios.c_ispeed, in ttsetcompat()
112 term->c_ispeed = compatspcodes[speed]; in ttsetcompat()
114 term->c_ispeed = tp->t_termios.c_ispeed; in ttsetcompat()
208 if (tp->t_termios.c_ispeed == 0) in tty_ioctl_compat()
211 sg->sg_ispeed = ttcompatspeedtab(tp->t_termios.c_ispeed, in tty_ioctl_compat()
HDtty.c122 bs = MIN(tp->t_termios.c_ispeed / 5, TTYBUF_MAX); in tty_watermarks()
607 if (lock->c_ispeed) in ttydev_ioctl()
608 new->c_ispeed = old->c_ispeed; in ttydev_ioctl()
883 t->c_ispeed = TTYDEF_SPEED; in tty_init_termios()
897 ti->c_ispeed = ti->c_ospeed = s; in tty_init_console()
898 to->c_ispeed = to->c_ospeed = s; in tty_init_console()
962 if (t->c_ispeed < B50) in ttydevsw_defparam()
963 t->c_ispeed = B50; in ttydevsw_defparam()
964 else if (t->c_ispeed > B115200) in ttydevsw_defparam()
965 t->c_ispeed = B115200; in ttydevsw_defparam()
[all …]
/freebsd-11-stable/crypto/openssh/openbsd-compat/
HDbsd-nextstep.c87 return (t->c_ispeed); in cfgetispeed()
100 t->c_ispeed = speed; in cfsetispeed()
/freebsd-11-stable/sys/dev/rc/
HDrc.c875 || ts->c_ispeed < 0 || ts->c_ispeed > 76800 in rc_param()
878 if (ts->c_ispeed == 0) in rc_param()
879 ts->c_ispeed = ts->c_ospeed; in rc_param()
881 idivs = RC_BRD(ts->c_ispeed); in rc_param()
912 if (ts->c_ispeed > 0) { in rc_param()
913 int itm = ts->c_ispeed > 2400 ? 5 : 10000 / ts->c_ispeed + 1; in rc_param()
/freebsd-11-stable/contrib/ncurses/include/
HDncurses_mingw.h66 speed_t c_ispeed; /* input speed */ member
/freebsd-11-stable/contrib/llvm-project/lldb/tools/driver/
HDPlatform.h57 speed_t c_ispeed; // input speed member
/freebsd-11-stable/sys/dev/sio/
HDsio.c360 tp->t_init_in.c_ispeed = tp->t_init_in.c_ospeed = in sysctl_machdep_comdefaultrate()
361 tp->t_lock_in.c_ispeed = tp->t_lock_in.c_ospeed = in sysctl_machdep_comdefaultrate()
362 tp->t_init_out.c_ispeed = tp->t_init_out.c_ospeed = in sysctl_machdep_comdefaultrate()
363 tp->t_lock_out.c_ispeed = tp->t_lock_out.c_ospeed = comdefaultrate; in sysctl_machdep_comdefaultrate()
366 tp->t_termios.c_ispeed = in sysctl_machdep_comdefaultrate()
948 error = siosetwater(com, tp->t_init_in.c_ispeed);
1790 if (t->c_ispeed != (t->c_ospeed != 0 ? t->c_ospeed : tp->t_ospeed))
1792 divisor = siodivisor(com->rclk, t->c_ispeed);
1840 : t->c_ispeed <= 4800
1859 (void) siosetwater(com, t->c_ispeed);
/freebsd-11-stable/sys/sys/
HD_termios.h224 speed_t c_ispeed; /* input speed */ member
/freebsd-11-stable/bin/stty/
HDgfmt.c101 tp->c_ispeed = tmp; in gread()
/freebsd-11-stable/sys/i386/ibcs2/
HDibcs2_termios.h62 char c_ispeed; member
HDibcs2_ioctl.c162 bt->c_ispeed = bt->c_ospeed = s2btab[l & 0x0000000f];
/freebsd-11-stable/sys/pc98/cbus/
HDsio.c692 tp->t_init_in.c_ispeed = tp->t_init_in.c_ospeed = in sysctl_machdep_comdefaultrate()
693 tp->t_lock_in.c_ispeed = tp->t_lock_in.c_ospeed = in sysctl_machdep_comdefaultrate()
694 tp->t_init_out.c_ispeed = tp->t_init_out.c_ospeed = in sysctl_machdep_comdefaultrate()
695 tp->t_lock_out.c_ispeed = tp->t_lock_out.c_ospeed = comdefaultrate; in sysctl_machdep_comdefaultrate()
698 tp->t_termios.c_ispeed = in sysctl_machdep_comdefaultrate()
1512 error = siosetwater(com, tp->t_init_in.c_ispeed);
2760 if (t->c_ispeed != (t->c_ospeed != 0 ? t->c_ospeed : tp->t_ospeed))
2762 divisor = siodivisor(com->rclk, t->c_ispeed);
2824 : t->c_ispeed <= 4800
2846 (void) siosetwater(com, t->c_ispeed);
/freebsd-11-stable/sys/dev/syscons/
HDsysmouse.c225 t->c_ispeed = TTYDEF_SPEED; in smdev_param()
/freebsd-11-stable/sys/dev/usb/serial/
HDusb_serial.c1239 if (t->c_ispeed && (t->c_ispeed != t->c_ospeed)) { in ucom_param()
1245 t->c_ispeed = t->c_ospeed; in ucom_param()
/freebsd-11-stable/sys/dev/nmdm/
HDnmdm.c343 speed = imin(tp2->t_termios.c_ospeed, t->c_ispeed); in nmdm_param()
/freebsd-11-stable/sys/dev/cy/
HDcy.c421 if (cysetwater(com, tp->t_init_in.c_ispeed) != 0) { in cyattach_common()
1250 idivisor = cyspeed(t->c_ispeed, cy_clock, &iprescaler); in cyparam()
1265 (void) cysetwater(com, t->c_ispeed); in cyparam()
1350 itimeout = howmany(1000 * bits, t->c_ispeed); in cyparam()
/freebsd-11-stable/sys/compat/svr4/
HDsvr4_termios.c321 bt->c_ispeed = svr4_to_bsd_speed(st->c_cflag, SVR4_CIBAUD);
423 st->c_cflag |= bsd_to_svr4_speed(bt->c_ispeed, SVR4_CIBAUD);
/freebsd-11-stable/sys/dev/uart/
HDuart_tty.c266 if (t->c_ispeed != t->c_ospeed && t->c_ospeed != 0) in uart_tty_param()
/freebsd-11-stable/sys/dev/rp/
HDrp.c1012 ospeed = rp_convert_baud(t->c_ispeed);
1013 if(ospeed < 0 || t->c_ispeed != t->c_ospeed)
/freebsd-11-stable/sys/dev/digi/
HDdigi.c995 if (t->c_ispeed == 0) in digiparam()
996 t->c_ispeed = t->c_ospeed; in digiparam()
1000 if (cflag < 0 || (cflag > 0 && t->c_ispeed != t->c_ospeed)) in digiparam()
/freebsd-11-stable/sys/dev/si/
HDsi.c830 ispeed = t->c_ispeed ? in siparam()
831 si_speedtab(t->c_ispeed, bdrates) : ospeed; in siparam()
/freebsd-11-stable/sys/dev/cx/
HDif_cx.c2143 if (t->c_ispeed && (t->c_ispeed < 300 || t->c_ispeed > 256*1024)) { in cx_param()
2150 tp->t_ispeed = t->c_ispeed = tp->t_ospeed = t->c_ospeed; in cx_param()
/freebsd-11-stable/sys/compat/linux/
HDlinux_ioctl.c416 bios->c_ispeed, bios->c_ospeed); in bsd_to_linux_termios()
460 lios->c_cflag = bsd_to_linux_speed(bios->c_ispeed, sptab); in bsd_to_linux_termios()
672 bios->c_ispeed = bios->c_ospeed = in linux_to_bsd_termios()
680 bios->c_ispeed, bios->c_ospeed); in linux_to_bsd_termios()