tag | line | file | source code |
termios | 118 | drivers/char/console.c | static struct termios *console_termios[MAX_NR_CONSOLES]; |
termios | 119 | drivers/char/console.c | static struct termios *console_termios_locked[MAX_NR_CONSOLES]; |
termios | 1973 | drivers/char/console.c | console_driver.termios = console_termios; |
termios | 367 | drivers/char/cyclades.c | static struct termios *serial_termios[NR_PORTS]; |
termios | 368 | drivers/char/cyclades.c | static struct termios *serial_termios_locked[NR_PORTS]; |
termios | 1320 | drivers/char/cyclades.c | if (!info->tty || (info->tty->termios->c_cflag & HUPCL)) { |
termios | 1356 | drivers/char/cyclades.c | if (!info->tty || !info->tty->termios){ |
termios | 1362 | drivers/char/cyclades.c | cflag = info->tty->termios->c_cflag; |
termios | 1385 | drivers/char/cyclades.c | info->tty->termios->c_cflag &= ~CBAUDEX; |
termios | 2240 | drivers/char/cyclades.c | tty->termios->c_cflag = |
termios | 2241 | drivers/char/cyclades.c | ((tty->termios->c_cflag & ~CLOCAL) | |
termios | 2282 | drivers/char/cyclades.c | cy_set_termios(struct tty_struct *tty, struct termios * old_termios) |
termios | 2290 | drivers/char/cyclades.c | if (tty->termios->c_cflag == old_termios->c_cflag) |
termios | 2295 | drivers/char/cyclades.c | !(tty->termios->c_cflag & CRTSCTS)) { |
termios | 2301 | drivers/char/cyclades.c | (tty->termios->c_cflag & CLOCAL)) |
termios | 2369 | drivers/char/cyclades.c | info->normal_termios = *tty->termios; |
termios | 2371 | drivers/char/cyclades.c | info->callout_termios = *tty->termios; |
termios | 2627 | drivers/char/cyclades.c | *tty->termios = info->normal_termios; |
termios | 2629 | drivers/char/cyclades.c | *tty->termios = info->callout_termios; |
termios | 2787 | drivers/char/cyclades.c | cy_serial_driver.termios = serial_termios; |
termios | 183 | drivers/char/istallion.c | static struct termios *stli_termios[STL_MAXDEVS]; |
termios | 184 | drivers/char/istallion.c | static struct termios *stli_termioslocked[STL_MAXDEVS]; |
termios | 216 | drivers/char/istallion.c | static struct termios stli_deftermios = { |
termios | 264 | drivers/char/istallion.c | struct termios normaltermios; |
termios | 265 | drivers/char/istallion.c | struct termios callouttermios; |
termios | 590 | drivers/char/istallion.c | static void stli_settermios(struct tty_struct *tty, struct termios *old); |
termios | 618 | drivers/char/istallion.c | static void stli_mkasyport(stliport_t *portp, asyport_t *pp, struct termios *tiosp); |
termios | 928 | drivers/char/istallion.c | *tty->termios = portp->normaltermios; |
termios | 930 | drivers/char/istallion.c | *tty->termios = portp->callouttermios; |
termios | 969 | drivers/char/istallion.c | portp->normaltermios = *tty->termios; |
termios | 971 | drivers/char/istallion.c | portp->callouttermios = *tty->termios; |
termios | 990 | drivers/char/istallion.c | if (tty->termios->c_cflag & HUPCL) { |
termios | 1050 | drivers/char/istallion.c | stli_mkasyport(portp, &aport, tty->termios); |
termios | 1289 | drivers/char/istallion.c | stli_mkasyport(portp, &aport, portp->tty->termios); |
termios | 1352 | drivers/char/istallion.c | ((portp->tty->termios->c_cflag & CLOCAL) || |
termios | 1828 | drivers/char/istallion.c | put_fs_long(((tty->termios->c_cflag & CLOCAL) ? 1 : 0), (unsigned long *) arg); |
termios | 1833 | drivers/char/istallion.c | tty->termios->c_cflag = (tty->termios->c_cflag & ~CLOCAL) | (arg ? CLOCAL : 0); |
termios | 1895 | drivers/char/istallion.c | static void stli_settermios(struct tty_struct *tty, struct termios *old) |
termios | 1899 | drivers/char/istallion.c | struct termios *tiosp; |
termios | 1915 | drivers/char/istallion.c | tiosp = tty->termios; |
termios | 2109 | drivers/char/istallion.c | if (tty->termios->c_cflag & HUPCL) { |
termios | 2601 | drivers/char/istallion.c | static void stli_mkasyport(stliport_t *portp, asyport_t *pp, struct termios *tiosp) |
termios | 4013 | drivers/char/istallion.c | stli_serial.termios = stli_termios; |
termios | 624 | drivers/char/n_tty.c | static void n_tty_set_termios(struct tty_struct *tty, struct termios * old) |
termios | 55 | drivers/char/pty.c | static struct termios *pty_termios[NR_PTYS]; |
termios | 56 | drivers/char/pty.c | static struct termios *pty_termios_locked[NR_PTYS]; |
termios | 58 | drivers/char/pty.c | static struct termios *ttyp_termios[NR_PTYS]; |
termios | 59 | drivers/char/pty.c | static struct termios *ttyp_termios_locked[NR_PTYS]; |
termios | 236 | drivers/char/pty.c | pty_driver.termios = pty_termios; |
termios | 256 | drivers/char/pty.c | pty_slave_driver.termios = ttyp_termios; |
termios | 223 | drivers/char/scc.c | static void scc_set_termios(struct tty_struct *tty, struct termios *old_termios); |
termios | 256 | drivers/char/scc.c | static struct termios scc_termios[2 * MAXSCC]; |
termios | 257 | drivers/char/scc.c | static struct termios scc_termios_locked[2 * MAXSCC]; |
termios | 272 | drivers/char/scc.c | static struct termios scc_std_termios; |
termios | 1975 | drivers/char/scc.c | tty->termios->c_cflag &= ~CBAUD; |
termios | 2064 | drivers/char/scc.c | speed = baud_table[scc->tty->termios->c_cflag & CBAUD]; |
termios | 2327 | drivers/char/scc.c | error = verify_area(VERIFY_WRITE, (void *) arg, sizeof(struct termios)); |
termios | 2333 | drivers/char/scc.c | memcpy_tofs((void *) arg, scc->tty->termios, sizeof(struct termios)); |
termios | 2342 | drivers/char/scc.c | memcpy_fromfs(scc->tty->termios, (void *) arg, sizeof(struct termios)); |
termios | 2637 | drivers/char/scc.c | scc_set_termios(struct tty_struct * tty, struct termios * old_termios) |
termios | 2644 | drivers/char/scc.c | if (old_termios && (tty->termios->c_cflag == old_termios->c_cflag)) |
termios | 2670 | drivers/char/scc.c | memset(&scc_std_termios, 0, sizeof(struct termios)); |
termios | 2685 | drivers/char/scc.c | scc_driver.termios = (struct termios **) scc_termios; |
termios | 2686 | drivers/char/scc.c | scc_driver.termios_locked = (struct termios **) scc_termios_locked; |
termios | 189 | drivers/char/serial.c | static struct termios *serial_termios[NR_PORTS]; |
termios | 190 | drivers/char/serial.c | static struct termios *serial_termios_locked[NR_PORTS]; |
termios | 1105 | drivers/char/serial.c | if (!info->tty || (info->tty->termios->c_cflag & HUPCL)) { |
termios | 1134 | drivers/char/serial.c | if (!info->tty || !info->tty->termios) |
termios | 1136 | drivers/char/serial.c | cflag = info->tty->termios->c_cflag; |
termios | 1143 | drivers/char/serial.c | info->tty->termios->c_cflag &= ~CBAUDEX; |
termios | 1902 | drivers/char/serial.c | tty->termios->c_cflag = |
termios | 1903 | drivers/char/serial.c | ((tty->termios->c_cflag & ~CLOCAL) | |
termios | 2027 | drivers/char/serial.c | static void rs_set_termios(struct tty_struct *tty, struct termios *old_termios) |
termios | 2031 | drivers/char/serial.c | if (tty->termios->c_cflag == old_termios->c_cflag) |
termios | 2037 | drivers/char/serial.c | !(tty->termios->c_cflag & CRTSCTS)) { |
termios | 2050 | drivers/char/serial.c | (tty->termios->c_cflag & CLOCAL)) |
termios | 2111 | drivers/char/serial.c | info->normal_termios = *tty->termios; |
termios | 2113 | drivers/char/serial.c | info->callout_termios = *tty->termios; |
termios | 2157 | drivers/char/serial.c | tty->termios->c_line = N_TTY; |
termios | 2257 | drivers/char/serial.c | if (tty->termios->c_cflag & CLOCAL) |
termios | 2376 | drivers/char/serial.c | *tty->termios = info->normal_termios; |
termios | 2378 | drivers/char/serial.c | *tty->termios = info->callout_termios; |
termios | 2681 | drivers/char/serial.c | serial_driver.termios = serial_termios; |
termios | 153 | drivers/char/stallion.c | static struct termios *stl_termios[STL_MAXDEVS]; |
termios | 154 | drivers/char/stallion.c | static struct termios *stl_termioslocked[STL_MAXDEVS]; |
termios | 172 | drivers/char/stallion.c | static struct termios stl_deftermios = { |
termios | 245 | drivers/char/stallion.c | struct termios normaltermios; |
termios | 246 | drivers/char/stallion.c | struct termios callouttermios; |
termios | 466 | drivers/char/stallion.c | static void stl_settermios(struct tty_struct *tty, struct termios *old); |
termios | 485 | drivers/char/stallion.c | static void stl_setport(stlport_t *portp, struct termios *tiosp); |
termios | 672 | drivers/char/stallion.c | stl_setport(portp, tty->termios); |
termios | 724 | drivers/char/stallion.c | *tty->termios = portp->normaltermios; |
termios | 726 | drivers/char/stallion.c | *tty->termios = portp->callouttermios; |
termios | 727 | drivers/char/stallion.c | stl_setport(portp, tty->termios); |
termios | 771 | drivers/char/stallion.c | ((portp->tty->termios->c_cflag & CLOCAL) || |
termios | 820 | drivers/char/stallion.c | portp->normaltermios = *tty->termios; |
termios | 822 | drivers/char/stallion.c | portp->callouttermios = *tty->termios; |
termios | 837 | drivers/char/stallion.c | if (tty->termios->c_cflag & HUPCL) |
termios | 1158 | drivers/char/stallion.c | stl_setport(portp, portp->tty->termios); |
termios | 1197 | drivers/char/stallion.c | put_fs_long(((tty->termios->c_cflag & CLOCAL) ? 1 : 0), (unsigned long *) arg); |
termios | 1202 | drivers/char/stallion.c | tty->termios->c_cflag = (tty->termios->c_cflag & ~CLOCAL) | (arg ? CLOCAL : 0); |
termios | 1254 | drivers/char/stallion.c | static void stl_settermios(struct tty_struct *tty, struct termios *old) |
termios | 1257 | drivers/char/stallion.c | struct termios *tiosp; |
termios | 1269 | drivers/char/stallion.c | tiosp = tty->termios; |
termios | 1309 | drivers/char/stallion.c | if (tty->termios->c_iflag & IXOFF) { |
termios | 1314 | drivers/char/stallion.c | if (tty->termios->c_cflag & CRTSCTS) { |
termios | 1347 | drivers/char/stallion.c | if (tty->termios->c_iflag & IXOFF) { |
termios | 1358 | drivers/char/stallion.c | if (tty->termios->c_cflag & CRTSCTS) { |
termios | 1437 | drivers/char/stallion.c | if (tty->termios->c_cflag & HUPCL) |
termios | 1956 | drivers/char/stallion.c | static void stl_setport(stlport_t *portp, struct termios *tiosp) |
termios | 2893 | drivers/char/stallion.c | stl_serial.termios = stl_termios; |
termios | 91 | drivers/char/tty_io.c | struct termios tty_std_termios; /* for the benefit of tty drivers */ |
termios | 243 | drivers/char/tty_io.c | tty->termios->c_line = ldisc; |
termios | 248 | drivers/char/tty_io.c | tty->termios->c_line = tty->ldisc.num; |
termios | 251 | drivers/char/tty_io.c | tty->termios->c_line = N_TTY; |
termios | 408 | drivers/char/tty_io.c | tty->termios->c_line = N_TTY; |
termios | 433 | drivers/char/tty_io.c | *tty->termios = tty->driver.init_termios; |
termios | 797 | drivers/char/tty_io.c | struct termios *tp, **tp_loc, *o_tp, **o_tp_loc; |
termios | 798 | drivers/char/tty_io.c | struct termios *ltp, **ltp_loc, *o_ltp, **o_ltp_loc; |
termios | 815 | drivers/char/tty_io.c | tp_loc = &driver->termios[idx]; |
termios | 834 | drivers/char/tty_io.c | tp = (struct termios *) kmalloc(sizeof(struct termios), |
termios | 842 | drivers/char/tty_io.c | ltp = (struct termios *) kmalloc(sizeof(struct termios), |
termios | 846 | drivers/char/tty_io.c | memset(ltp, 0, sizeof(struct termios)); |
termios | 851 | drivers/char/tty_io.c | o_tp_loc = &driver->other->termios[idx]; |
termios | 869 | drivers/char/tty_io.c | o_tp = (struct termios *) |
termios | 870 | drivers/char/tty_io.c | kmalloc(sizeof(struct termios), GFP_KERNEL); |
termios | 877 | drivers/char/tty_io.c | o_ltp = (struct termios *) |
termios | 878 | drivers/char/tty_io.c | kmalloc(sizeof(struct termios), GFP_KERNEL); |
termios | 881 | drivers/char/tty_io.c | memset(o_ltp, 0, sizeof(struct termios)); |
termios | 896 | drivers/char/tty_io.c | tty->termios = *tp_loc; |
termios | 929 | drivers/char/tty_io.c | o_tty->termios = *o_tp_loc; |
termios | 957 | drivers/char/tty_io.c | kfree_s(tp, sizeof(struct termios)); |
termios | 959 | drivers/char/tty_io.c | kfree_s(o_tp, sizeof(struct termios)); |
termios | 961 | drivers/char/tty_io.c | kfree_s(ltp, sizeof(struct termios)); |
termios | 963 | drivers/char/tty_io.c | kfree_s(o_ltp, sizeof(struct termios)); |
termios | 975 | drivers/char/tty_io.c | struct termios *tp, *o_tp, *ltp, *o_ltp; |
termios | 987 | drivers/char/tty_io.c | tp = tty->termios; |
termios | 1002 | drivers/char/tty_io.c | if (tp != tty->driver.termios[idx]) { |
termios | 1022 | drivers/char/tty_io.c | o_tp = (o_tty) ? o_tty->termios : NULL; |
termios | 1033 | drivers/char/tty_io.c | if (o_tp != tty->driver.other->termios[idx]) { |
termios | 1078 | drivers/char/tty_io.c | tty->driver.other->termios[idx] = NULL; |
termios | 1079 | drivers/char/tty_io.c | kfree_s(o_tp, sizeof(struct termios)); |
termios | 1107 | drivers/char/tty_io.c | tty->termios->c_line = N_TTY; |
termios | 1116 | drivers/char/tty_io.c | tty->driver.termios[idx] = NULL; |
termios | 1117 | drivers/char/tty_io.c | kfree_s(tp, sizeof(struct termios)); |
termios | 1800 | drivers/char/tty_io.c | memset(&tty_std_termios, 0, sizeof(struct termios)); |
termios | 74 | drivers/char/tty_ioctl.c | static void unset_locked_termios(struct termios *termios, |
termios | 75 | drivers/char/tty_ioctl.c | struct termios *old, |
termios | 76 | drivers/char/tty_ioctl.c | struct termios *locked) |
termios | 87 | drivers/char/tty_ioctl.c | NOSET_MASK(termios->c_iflag, old->c_iflag, locked->c_iflag); |
termios | 88 | drivers/char/tty_ioctl.c | NOSET_MASK(termios->c_oflag, old->c_oflag, locked->c_oflag); |
termios | 89 | drivers/char/tty_ioctl.c | NOSET_MASK(termios->c_cflag, old->c_cflag, locked->c_cflag); |
termios | 90 | drivers/char/tty_ioctl.c | NOSET_MASK(termios->c_lflag, old->c_lflag, locked->c_lflag); |
termios | 91 | drivers/char/tty_ioctl.c | termios->c_line = locked->c_line ? old->c_line : termios->c_line; |
termios | 93 | drivers/char/tty_ioctl.c | termios->c_cc[i] = locked->c_cc[i] ? |
termios | 94 | drivers/char/tty_ioctl.c | old->c_cc[i] : termios->c_cc[i]; |
termios | 97 | drivers/char/tty_ioctl.c | static void change_termios(struct tty_struct * tty, struct termios * new_termios) |
termios | 100 | drivers/char/tty_ioctl.c | struct termios old_termios = *tty->termios; |
termios | 103 | drivers/char/tty_ioctl.c | *tty->termios = *new_termios; |
termios | 104 | drivers/char/tty_ioctl.c | unset_locked_termios(tty->termios, &old_termios, tty->termios_locked); |
termios | 105 | drivers/char/tty_ioctl.c | canon_change = (old_termios.c_lflag ^ tty->termios->c_lflag) & ICANON; |
termios | 145 | drivers/char/tty_ioctl.c | struct termios tmp_termios; |
termios | 157 | drivers/char/tty_ioctl.c | tmp_termios = *tty->termios; |
termios | 162 | drivers/char/tty_ioctl.c | retval = verify_area(VERIFY_READ, (void *) arg, sizeof(struct termios)); |
termios | 165 | drivers/char/tty_ioctl.c | memcpy_fromfs(&tmp_termios, (struct termios *) arg, |
termios | 166 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 187 | drivers/char/tty_ioctl.c | trans_to_termio(tty->termios, &tmp_termio); |
termios | 221 | drivers/char/tty_ioctl.c | if (!(tty->termios->c_lflag & ICANON)) |
termios | 222 | drivers/char/tty_ioctl.c | if (tty->termios->c_lflag & ISIG) |
termios | 226 | drivers/char/tty_ioctl.c | if (tty->termios->c_lflag & ECHO) |
termios | 228 | drivers/char/tty_ioctl.c | if (tty->termios->c_oflag & OPOST) |
termios | 229 | drivers/char/tty_ioctl.c | if (tty->termios->c_oflag & ONLCR) |
termios | 244 | drivers/char/tty_ioctl.c | tmp.sg_erase = tty->termios->c_cc[VERASE]; |
termios | 245 | drivers/char/tty_ioctl.c | tmp.sg_kill = tty->termios->c_cc[VKILL]; |
termios | 251 | drivers/char/tty_ioctl.c | static void set_sgflags(struct termios * termios, int flags) |
termios | 253 | drivers/char/tty_ioctl.c | termios->c_iflag = ICRNL | IXON; |
termios | 254 | drivers/char/tty_ioctl.c | termios->c_oflag = 0; |
termios | 255 | drivers/char/tty_ioctl.c | termios->c_lflag = ISIG | ICANON; |
termios | 257 | drivers/char/tty_ioctl.c | termios->c_iflag = 0; |
termios | 258 | drivers/char/tty_ioctl.c | termios->c_lflag &= ~ICANON; |
termios | 261 | drivers/char/tty_ioctl.c | termios->c_lflag |= ECHO | ECHOE | ECHOK | ECHOCTL | ECHOKE | IEXTEN; |
termios | 264 | drivers/char/tty_ioctl.c | termios->c_oflag |= OPOST | ONLCR; |
termios | 267 | drivers/char/tty_ioctl.c | termios->c_iflag = 0; |
termios | 268 | drivers/char/tty_ioctl.c | termios->c_lflag &= ~(ISIG | ICANON); |
termios | 270 | drivers/char/tty_ioctl.c | if (!(termios->c_lflag & ICANON)) { |
termios | 271 | drivers/char/tty_ioctl.c | termios->c_cc[VMIN] = 1; |
termios | 272 | drivers/char/tty_ioctl.c | termios->c_cc[VTIME] = 0; |
termios | 280 | drivers/char/tty_ioctl.c | struct termios termios; |
termios | 288 | drivers/char/tty_ioctl.c | termios = *tty->termios; |
termios | 290 | drivers/char/tty_ioctl.c | termios.c_cc[VERASE] = tmp.sg_erase; |
termios | 291 | drivers/char/tty_ioctl.c | termios.c_cc[VKILL] = tmp.sg_kill; |
termios | 292 | drivers/char/tty_ioctl.c | set_sgflags(&termios, tmp.sg_flags); |
termios | 293 | drivers/char/tty_ioctl.c | change_termios(tty, &termios); |
termios | 307 | drivers/char/tty_ioctl.c | tmp.t_intrc = tty->termios->c_cc[VINTR]; |
termios | 308 | drivers/char/tty_ioctl.c | tmp.t_quitc = tty->termios->c_cc[VQUIT]; |
termios | 309 | drivers/char/tty_ioctl.c | tmp.t_startc = tty->termios->c_cc[VSTART]; |
termios | 310 | drivers/char/tty_ioctl.c | tmp.t_stopc = tty->termios->c_cc[VSTOP]; |
termios | 311 | drivers/char/tty_ioctl.c | tmp.t_eofc = tty->termios->c_cc[VEOF]; |
termios | 312 | drivers/char/tty_ioctl.c | tmp.t_brkc = tty->termios->c_cc[VEOL2]; /* what is brkc anyway? */ |
termios | 326 | drivers/char/tty_ioctl.c | tty->termios->c_cc[VINTR] = tmp.t_intrc; |
termios | 327 | drivers/char/tty_ioctl.c | tty->termios->c_cc[VQUIT] = tmp.t_quitc; |
termios | 328 | drivers/char/tty_ioctl.c | tty->termios->c_cc[VSTART] = tmp.t_startc; |
termios | 329 | drivers/char/tty_ioctl.c | tty->termios->c_cc[VSTOP] = tmp.t_stopc; |
termios | 330 | drivers/char/tty_ioctl.c | tty->termios->c_cc[VEOF] = tmp.t_eofc; |
termios | 331 | drivers/char/tty_ioctl.c | tty->termios->c_cc[VEOL2] = tmp.t_brkc; /* what is brkc anyway? */ |
termios | 345 | drivers/char/tty_ioctl.c | tmp.t_suspc = tty->termios->c_cc[VSUSP]; |
termios | 346 | drivers/char/tty_ioctl.c | tmp.t_dsuspc = tty->termios->c_cc[VSUSP]; /* what is dsuspc anyway? */ |
termios | 347 | drivers/char/tty_ioctl.c | tmp.t_rprntc = tty->termios->c_cc[VREPRINT]; |
termios | 348 | drivers/char/tty_ioctl.c | tmp.t_flushc = tty->termios->c_cc[VEOL2]; /* what is flushc anyway? */ |
termios | 349 | drivers/char/tty_ioctl.c | tmp.t_werasc = tty->termios->c_cc[VWERASE]; |
termios | 350 | drivers/char/tty_ioctl.c | tmp.t_lnextc = tty->termios->c_cc[VLNEXT]; |
termios | 364 | drivers/char/tty_ioctl.c | tty->termios->c_cc[VSUSP] = tmp.t_suspc; |
termios | 365 | drivers/char/tty_ioctl.c | tty->termios->c_cc[VEOL2] = tmp.t_dsuspc; /* what is dsuspc anyway? */ |
termios | 366 | drivers/char/tty_ioctl.c | tty->termios->c_cc[VREPRINT] = tmp.t_rprntc; |
termios | 367 | drivers/char/tty_ioctl.c | tty->termios->c_cc[VEOL2] = tmp.t_flushc; /* what is flushc anyway? */ |
termios | 368 | drivers/char/tty_ioctl.c | tty->termios->c_cc[VWERASE] = tmp.t_werasc; |
termios | 369 | drivers/char/tty_ioctl.c | tty->termios->c_cc[VLNEXT] = tmp.t_lnextc; |
termios | 409 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 412 | drivers/char/tty_ioctl.c | memcpy_tofs((struct termios *) arg, |
termios | 413 | drivers/char/tty_ioctl.c | real_tty->termios, |
termios | 414 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 501 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 504 | drivers/char/tty_ioctl.c | memcpy_tofs((struct termios *) arg, |
termios | 506 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 512 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 516 | drivers/char/tty_ioctl.c | (struct termios *) arg, |
termios | 517 | drivers/char/tty_ioctl.c | sizeof (struct termios)); |
termios | 47 | include/asm-alpha/termios.h | #define TCGETS _IOR('t', 19, struct termios) |
termios | 48 | include/asm-alpha/termios.h | #define TCSETS _IOW('t', 20, struct termios) |
termios | 49 | include/asm-alpha/termios.h | #define TCSETSW _IOW('t', 21, struct termios) |
termios | 50 | include/asm-alpha/termios.h | #define TCSETSF _IOW('t', 22, struct termios) |
termios | 345 | include/asm-alpha/termios.h | struct termios * termios) |
termios | 348 | include/asm-alpha/termios.h | SET_LOW_BITS(termios->c_iflag, termio->c_iflag); |
termios | 349 | include/asm-alpha/termios.h | SET_LOW_BITS(termios->c_oflag, termio->c_oflag); |
termios | 350 | include/asm-alpha/termios.h | SET_LOW_BITS(termios->c_cflag, termio->c_cflag); |
termios | 351 | include/asm-alpha/termios.h | SET_LOW_BITS(termios->c_lflag, termio->c_lflag); |
termios | 353 | include/asm-alpha/termios.h | termios->c_cc[VINTR] = termio->c_cc[_VINTR]; |
termios | 354 | include/asm-alpha/termios.h | termios->c_cc[VQUIT] = termio->c_cc[_VQUIT]; |
termios | 355 | include/asm-alpha/termios.h | termios->c_cc[VERASE]= termio->c_cc[_VERASE]; |
termios | 356 | include/asm-alpha/termios.h | termios->c_cc[VKILL] = termio->c_cc[_VKILL]; |
termios | 357 | include/asm-alpha/termios.h | termios->c_cc[VEOF] = termio->c_cc[_VEOF]; |
termios | 358 | include/asm-alpha/termios.h | termios->c_cc[VMIN] = termio->c_cc[_VMIN]; |
termios | 359 | include/asm-alpha/termios.h | termios->c_cc[VEOL] = termio->c_cc[_VEOL]; |
termios | 360 | include/asm-alpha/termios.h | termios->c_cc[VTIME] = termio->c_cc[_VTIME]; |
termios | 361 | include/asm-alpha/termios.h | termios->c_cc[VEOL2] = termio->c_cc[_VEOL2]; |
termios | 362 | include/asm-alpha/termios.h | termios->c_cc[VSWTC] = termio->c_cc[_VSWTC]; |
termios | 370 | include/asm-alpha/termios.h | extern inline void trans_to_termio(struct termios * termios, |
termios | 373 | include/asm-alpha/termios.h | termio->c_iflag = termios->c_iflag; |
termios | 374 | include/asm-alpha/termios.h | termio->c_oflag = termios->c_oflag; |
termios | 375 | include/asm-alpha/termios.h | termio->c_cflag = termios->c_cflag; |
termios | 376 | include/asm-alpha/termios.h | termio->c_lflag = termios->c_lflag; |
termios | 377 | include/asm-alpha/termios.h | termio->c_line = termios->c_line; |
termios | 378 | include/asm-alpha/termios.h | termio->c_cc[_VINTR] = termios->c_cc[VINTR]; |
termios | 379 | include/asm-alpha/termios.h | termio->c_cc[_VQUIT] = termios->c_cc[VQUIT]; |
termios | 380 | include/asm-alpha/termios.h | termio->c_cc[_VERASE]= termios->c_cc[VERASE]; |
termios | 381 | include/asm-alpha/termios.h | termio->c_cc[_VKILL] = termios->c_cc[VKILL]; |
termios | 382 | include/asm-alpha/termios.h | termio->c_cc[_VEOF] = termios->c_cc[VEOF]; |
termios | 383 | include/asm-alpha/termios.h | termio->c_cc[_VEOL] = termios->c_cc[VEOL]; |
termios | 384 | include/asm-alpha/termios.h | termio->c_cc[_VEOL2] = termios->c_cc[VEOL2]; |
termios | 385 | include/asm-alpha/termios.h | termio->c_cc[_VSWTC] = termios->c_cc[VSWTC]; |
termios | 386 | include/asm-alpha/termios.h | if (!(termios->c_lflag & ICANON)) { |
termios | 387 | include/asm-alpha/termios.h | termio->c_cc[_VMIN] = termios->c_cc[VMIN]; |
termios | 388 | include/asm-alpha/termios.h | termio->c_cc[_VTIME] = termios->c_cc[VTIME]; |
termios | 275 | include/asm-i386/termios.h | struct termios * termios) |
termios | 278 | include/asm-i386/termios.h | SET_LOW_BITS(termios->c_iflag, termio->c_iflag); |
termios | 279 | include/asm-i386/termios.h | SET_LOW_BITS(termios->c_oflag, termio->c_oflag); |
termios | 280 | include/asm-i386/termios.h | SET_LOW_BITS(termios->c_cflag, termio->c_cflag); |
termios | 281 | include/asm-i386/termios.h | SET_LOW_BITS(termios->c_lflag, termio->c_lflag); |
termios | 283 | include/asm-i386/termios.h | memcpy(termios->c_cc, termio->c_cc, NCC); |
termios | 289 | include/asm-i386/termios.h | extern inline void trans_to_termio(struct termios * termios, |
termios | 292 | include/asm-i386/termios.h | termio->c_iflag = termios->c_iflag; |
termios | 293 | include/asm-i386/termios.h | termio->c_oflag = termios->c_oflag; |
termios | 294 | include/asm-i386/termios.h | termio->c_cflag = termios->c_cflag; |
termios | 295 | include/asm-i386/termios.h | termio->c_lflag = termios->c_lflag; |
termios | 296 | include/asm-i386/termios.h | termio->c_line = termios->c_line; |
termios | 297 | include/asm-i386/termios.h | memcpy(termio->c_cc, termios->c_cc, NCC); |
termios | 59 | include/asm-mips/ioctls.h | #define TIOCSETA _IOW('t', 20, struct termios) /* set termios struct */ |
termios | 60 | include/asm-mips/ioctls.h | #define TIOCSETAW _IOW('t', 21, struct termios) /* drain output, set */ |
termios | 61 | include/asm-mips/ioctls.h | #define TIOCSETAF _IOW('t', 22, struct termios) /* drn out, fls in, set */ |
termios | 22 | include/asm-mips/termios.h | struct termios * termios) |
termios | 25 | include/asm-mips/termios.h | SET_LOW_BITS(termios->c_iflag, termio->c_iflag); |
termios | 26 | include/asm-mips/termios.h | SET_LOW_BITS(termios->c_oflag, termio->c_oflag); |
termios | 27 | include/asm-mips/termios.h | SET_LOW_BITS(termios->c_cflag, termio->c_cflag); |
termios | 28 | include/asm-mips/termios.h | SET_LOW_BITS(termios->c_lflag, termio->c_lflag); |
termios | 30 | include/asm-mips/termios.h | memcpy(termios->c_cc, termio->c_cc, NCC); |
termios | 36 | include/asm-mips/termios.h | extern inline void trans_to_termio(struct termios * termios, |
termios | 39 | include/asm-mips/termios.h | termio->c_iflag = termios->c_iflag; |
termios | 40 | include/asm-mips/termios.h | termio->c_oflag = termios->c_oflag; |
termios | 41 | include/asm-mips/termios.h | termio->c_cflag = termios->c_cflag; |
termios | 42 | include/asm-mips/termios.h | termio->c_lflag = termios->c_lflag; |
termios | 43 | include/asm-mips/termios.h | termio->c_line = termios->c_line; |
termios | 44 | include/asm-mips/termios.h | memcpy(termio->c_cc, termios->c_cc, NCC); |
termios | 54 | include/asm-ppc/termios.h | #define TCGETS _IOR('t', 19, struct termios) |
termios | 55 | include/asm-ppc/termios.h | #define TCSETS _IOW('t', 20, struct termios) |
termios | 56 | include/asm-ppc/termios.h | #define TCSETSW _IOW('t', 21, struct termios) |
termios | 57 | include/asm-ppc/termios.h | #define TCSETSF _IOW('t', 22, struct termios) |
termios | 349 | include/asm-ppc/termios.h | struct termios * termios) |
termios | 352 | include/asm-ppc/termios.h | SET_LOW_BITS(termios->c_iflag, termio->c_iflag); |
termios | 353 | include/asm-ppc/termios.h | SET_LOW_BITS(termios->c_oflag, termio->c_oflag); |
termios | 354 | include/asm-ppc/termios.h | SET_LOW_BITS(termios->c_cflag, termio->c_cflag); |
termios | 355 | include/asm-ppc/termios.h | SET_LOW_BITS(termios->c_lflag, termio->c_lflag); |
termios | 357 | include/asm-ppc/termios.h | termios->c_cc[VINTR] = termio->c_cc[_VINTR]; |
termios | 358 | include/asm-ppc/termios.h | termios->c_cc[VQUIT] = termio->c_cc[_VQUIT]; |
termios | 359 | include/asm-ppc/termios.h | termios->c_cc[VERASE]= termio->c_cc[_VERASE]; |
termios | 360 | include/asm-ppc/termios.h | termios->c_cc[VKILL] = termio->c_cc[_VKILL]; |
termios | 361 | include/asm-ppc/termios.h | termios->c_cc[VEOF] = termio->c_cc[_VEOF]; |
termios | 362 | include/asm-ppc/termios.h | termios->c_cc[VMIN] = termio->c_cc[_VMIN]; |
termios | 363 | include/asm-ppc/termios.h | termios->c_cc[VEOL] = termio->c_cc[_VEOL]; |
termios | 364 | include/asm-ppc/termios.h | termios->c_cc[VTIME] = termio->c_cc[_VTIME]; |
termios | 365 | include/asm-ppc/termios.h | termios->c_cc[VEOL2] = termio->c_cc[_VEOL2]; |
termios | 366 | include/asm-ppc/termios.h | termios->c_cc[VSWTC] = termio->c_cc[_VSWTC]; |
termios | 374 | include/asm-ppc/termios.h | extern inline void trans_to_termio(struct termios * termios, |
termios | 377 | include/asm-ppc/termios.h | termio->c_iflag = termios->c_iflag; |
termios | 378 | include/asm-ppc/termios.h | termio->c_oflag = termios->c_oflag; |
termios | 379 | include/asm-ppc/termios.h | termio->c_cflag = termios->c_cflag; |
termios | 380 | include/asm-ppc/termios.h | termio->c_lflag = termios->c_lflag; |
termios | 381 | include/asm-ppc/termios.h | termio->c_line = termios->c_line; |
termios | 382 | include/asm-ppc/termios.h | termio->c_cc[_VINTR] = termios->c_cc[VINTR]; |
termios | 383 | include/asm-ppc/termios.h | termio->c_cc[_VQUIT] = termios->c_cc[VQUIT]; |
termios | 384 | include/asm-ppc/termios.h | termio->c_cc[_VERASE]= termios->c_cc[VERASE]; |
termios | 385 | include/asm-ppc/termios.h | termio->c_cc[_VKILL] = termios->c_cc[VKILL]; |
termios | 386 | include/asm-ppc/termios.h | termio->c_cc[_VEOF] = termios->c_cc[VEOF]; |
termios | 387 | include/asm-ppc/termios.h | termio->c_cc[_VEOL] = termios->c_cc[VEOL]; |
termios | 388 | include/asm-ppc/termios.h | termio->c_cc[_VEOL2] = termios->c_cc[VEOL2]; |
termios | 389 | include/asm-ppc/termios.h | termio->c_cc[_VSWTC] = termios->c_cc[VSWTC]; |
termios | 390 | include/asm-ppc/termios.h | if (!(termios->c_lflag & ICANON)) { |
termios | 391 | include/asm-ppc/termios.h | termio->c_cc[_VMIN] = termios->c_cc[VMIN]; |
termios | 392 | include/asm-ppc/termios.h | termio->c_cc[_VTIME] = termios->c_cc[VTIME]; |
termios | 48 | include/asm-sparc/termios.h | #define TCGETS _IOR('T', 8, struct termios) |
termios | 49 | include/asm-sparc/termios.h | #define TCSETS _IOW('T', 9, struct termios) |
termios | 50 | include/asm-sparc/termios.h | #define TCSETSW _IOW('T', 10, struct termios) |
termios | 51 | include/asm-sparc/termios.h | #define TCSETSF _IOW('T', 11, struct termios) |
termios | 357 | include/asm-sparc/termios.h | struct termios * termios) |
termios | 360 | include/asm-sparc/termios.h | SET_LOW_BITS(termios->c_iflag, termio->c_iflag); |
termios | 361 | include/asm-sparc/termios.h | SET_LOW_BITS(termios->c_oflag, termio->c_oflag); |
termios | 362 | include/asm-sparc/termios.h | SET_LOW_BITS(termios->c_cflag, termio->c_cflag); |
termios | 363 | include/asm-sparc/termios.h | SET_LOW_BITS(termios->c_lflag, termio->c_lflag); |
termios | 365 | include/asm-sparc/termios.h | memcpy(termios->c_cc, termio->c_cc, NCC); |
termios | 371 | include/asm-sparc/termios.h | extern inline void trans_to_termio(struct termios * termios, |
termios | 374 | include/asm-sparc/termios.h | termio->c_iflag = termios->c_iflag; |
termios | 375 | include/asm-sparc/termios.h | termio->c_oflag = termios->c_oflag; |
termios | 376 | include/asm-sparc/termios.h | termio->c_cflag = termios->c_cflag; |
termios | 377 | include/asm-sparc/termios.h | termio->c_lflag = termios->c_lflag; |
termios | 378 | include/asm-sparc/termios.h | termio->c_line = termios->c_line; |
termios | 379 | include/asm-sparc/termios.h | memcpy(termio->c_cc, termios->c_cc, NCC); |
termios | 103 | include/linux/cyclades.h | struct termios normal_termios; |
termios | 104 | include/linux/cyclades.h | struct termios callout_termios; |
termios | 164 | include/linux/serial.h | struct termios normal_termios; |
termios | 165 | include/linux/serial.h | struct termios callout_termios; |
termios | 105 | include/linux/tty.h | #define INTR_CHAR(tty) ((tty)->termios->c_cc[VINTR]) |
termios | 106 | include/linux/tty.h | #define QUIT_CHAR(tty) ((tty)->termios->c_cc[VQUIT]) |
termios | 107 | include/linux/tty.h | #define ERASE_CHAR(tty) ((tty)->termios->c_cc[VERASE]) |
termios | 108 | include/linux/tty.h | #define KILL_CHAR(tty) ((tty)->termios->c_cc[VKILL]) |
termios | 109 | include/linux/tty.h | #define EOF_CHAR(tty) ((tty)->termios->c_cc[VEOF]) |
termios | 110 | include/linux/tty.h | #define TIME_CHAR(tty) ((tty)->termios->c_cc[VTIME]) |
termios | 111 | include/linux/tty.h | #define MIN_CHAR(tty) ((tty)->termios->c_cc[VMIN]) |
termios | 112 | include/linux/tty.h | #define SWTC_CHAR(tty) ((tty)->termios->c_cc[VSWTC]) |
termios | 113 | include/linux/tty.h | #define START_CHAR(tty) ((tty)->termios->c_cc[VSTART]) |
termios | 114 | include/linux/tty.h | #define STOP_CHAR(tty) ((tty)->termios->c_cc[VSTOP]) |
termios | 115 | include/linux/tty.h | #define SUSP_CHAR(tty) ((tty)->termios->c_cc[VSUSP]) |
termios | 116 | include/linux/tty.h | #define EOL_CHAR(tty) ((tty)->termios->c_cc[VEOL]) |
termios | 117 | include/linux/tty.h | #define REPRINT_CHAR(tty) ((tty)->termios->c_cc[VREPRINT]) |
termios | 118 | include/linux/tty.h | #define DISCARD_CHAR(tty) ((tty)->termios->c_cc[VDISCARD]) |
termios | 119 | include/linux/tty.h | #define WERASE_CHAR(tty) ((tty)->termios->c_cc[VWERASE]) |
termios | 120 | include/linux/tty.h | #define LNEXT_CHAR(tty) ((tty)->termios->c_cc[VLNEXT]) |
termios | 121 | include/linux/tty.h | #define EOL2_CHAR(tty) ((tty)->termios->c_cc[VEOL2]) |
termios | 123 | include/linux/tty.h | #define _I_FLAG(tty,f) ((tty)->termios->c_iflag & (f)) |
termios | 124 | include/linux/tty.h | #define _O_FLAG(tty,f) ((tty)->termios->c_oflag & (f)) |
termios | 125 | include/linux/tty.h | #define _C_FLAG(tty,f) ((tty)->termios->c_cflag & (f)) |
termios | 126 | include/linux/tty.h | #define _L_FLAG(tty,f) ((tty)->termios->c_lflag & (f)) |
termios | 203 | include/linux/tty.h | struct termios *termios, *termios_locked; |
termios | 269 | include/linux/tty.h | extern struct termios tty_std_termios; |
termios | 108 | include/linux/tty_driver.h | struct termios init_termios; /* Initial termios */ |
termios | 117 | include/linux/tty_driver.h | struct termios **termios; |
termios | 118 | include/linux/tty_driver.h | struct termios **termios_locked; |
termios | 134 | include/linux/tty_driver.h | void (*set_termios)(struct tty_struct *tty, struct termios * old); |
termios | 28 | include/linux/tty_ldisc.h | void (*set_termios)(struct tty_struct *tty, struct termios * old); |