Home
last modified time | relevance | path

Searched refs:t_termios (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/kern/
H A Dtty_compat.c106 else if (speed != ttcompatspeedtab(tp->t_termios.c_ispeed, in ttsetcompat()
110 term->c_ispeed = tp->t_termios.c_ispeed; in ttsetcompat()
113 else if (speed != ttcompatspeedtab(tp->t_termios.c_ospeed, in ttsetcompat()
117 term->c_ospeed = tp->t_termios.c_ospeed; in ttsetcompat()
193 term = tp->t_termios; in tty_ioctl_compat()
200 cc_t *cc = tp->t_termios.c_cc; in tty_ioctl_compat()
202 sg->sg_ospeed = ttcompatspeedtab(tp->t_termios.c_ospeed, in tty_ioctl_compat()
204 if (tp->t_termios.c_ispeed == 0) in tty_ioctl_compat()
207 sg->sg_ispeed = ttcompatspeedtab(tp->t_termios.c_ispeed, in tty_ioctl_compat()
216 cc_t *cc = tp->t_termios.c_cc; in tty_ioctl_compat()
[all …]
H A Dtty_ttydisc.c61 #define CMP_CC(v,c) (tp->t_termios.c_cc[v] != _POSIX_VDISABLE && \
62 tp->t_termios.c_cc[v] == (c))
63 #define CMP_FLAG(field,opt) (tp->t_termios.c_ ## field ## flag & (opt))
103 tp->t_termios.c_lflag &= ~FLUSHO; in ttydisc_close()
129 if (tp->t_termios.c_cc[c] != _POSIX_VDISABLE) \ in ttydisc_read_break()
130 breakc[n++] = tp->t_termios.c_cc[c]; \ in ttydisc_read_break()
269 size_t vmin = tp->t_termios.c_cc[VMIN]; in ttydisc_read_raw_no_timer()
273 MPASS(tp->t_termios.c_cc[VTIME] == 0); in ttydisc_read_raw_no_timer()
309 size_t vmin = MAX(tp->t_termios.c_cc[VMIN], 1); in ttydisc_read_raw_read_timer()
310 unsigned int vtime = tp->t_termios.c_cc[VTIME]; in ttydisc_read_raw_read_timer()
[all …]
H A Dtty.c130 if (tp->t_termios.c_cflag & CREAD) in tty_watermarks()
131 bs = MIN(tp->t_termios.c_ispeed / 5, TTYBUF_MAX); in tty_watermarks()
140 bs = MIN(tp->t_termios.c_ospeed / 5, TTYBUF_MAX); in tty_watermarks()
321 tp->t_termios = tp->t_termios_init_out; in ttydev_open()
323 tp->t_termios = tp->t_termios_init_in; in ttydev_open()
324 ttydevsw_param(tp, &tp->t_termios); in ttydev_open()
327 tp->t_termios.c_cflag |= CLOCAL; in ttydev_open()
329 if ((tp->t_termios.c_cflag & CNO_RTSDTR) == 0) in ttydev_open()
344 (tp->t_termios.c_cflag & CLOCAL) == 0) { in ttydev_open()
532 if (tp->t_termios.c_lflag & TOSTOP) { in ttydev_write()
[all …]
H A Dtty_pts.c308 *(struct termios*)data = tp->t_termios; in ptsdev_ioctl()
/freebsd/sys/dev/nmdm/
H A Dnmdm.c327 if (!((t->c_cflag | tp2->t_termios.c_cflag) & CDSR_OFLOW)) { in nmdm_param()
340 bpc = imax(bits_per_char(t), bits_per_char(&tp2->t_termios)); in nmdm_param()
344 speed = imin(tp2->t_termios.c_ospeed, t->c_ispeed); in nmdm_param()
369 t = &tp2->t_termios; in nmdm_param()
/freebsd/sys/dev/uart/
H A Duart_tty.c213 if ((tp->t_termios.c_cflag & CCTS_OFLOW) && !sc->sc_hwoflow && in uart_tty_outwakeup()
232 if ((tp->t_termios.c_cflag & CRTS_IFLOW) && !sc->sc_hwiflow) in uart_tty_inwakeup()
347 if ((tp->t_termios.c_cflag & CRTS_IFLOW) && in uart_tty_intr()
/freebsd/sys/sys/
H A Dtty.h110 struct termios t_termios; /* (t) I/O processing flags. */ member
/freebsd/sys/dev/usb/serial/
H A Dusb_serial.c696 if (tp->t_termios.c_cflag & HUPCL) { in ucom_shutdown()
842 if (sc->sc_tty == NULL || (sc->sc_tty->t_termios.c_cflag & CNO_RTSDTR) == 0) in ucom_open()
H A Dumcs.c498 if (ucom->sc_tty == NULL || (ucom->sc_tty->t_termios.c_cflag & CNO_RTSDTR) == 0) in umcs7840_cfg_open()
/freebsd/sys/dev/syscons/
H A Dsyscons.c743 tp->t_termios.c_cc[VERASE] = key.key.map[0]; in sctty_open()