Searched refs:termios (Results 1 - 25 of 167) sorted by relevance

1234567

/external/openssh/openbsd-compat/
H A Dbsd-nextstep.h51 int tcgetattr(int, struct termios *);
52 int tcsetattr(int, int, const struct termios *);
54 speed_t cfgetospeed(const struct termios *);
55 speed_t cfgetispeed(const struct termios *);
56 int cfsetospeed(struct termios *, int);
57 int cfsetispeed(struct termios *, int);
H A Dbsd-nextstep.c47 tcgetattr(int fd, struct termios *t)
53 tcsetattr(int fd, int opt, const struct termios *t)
55 struct termios localterm;
80 speed_t cfgetospeed(const struct termios *t)
85 speed_t cfgetispeed(const struct termios *t)
91 cfsetospeed(struct termios *t,int speed)
98 cfsetispeed(struct termios *t, int speed)
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
H A Dtcgetattr.c8 int tcgetattr(int fd, struct termios* termios_p) {
H A Dtcsetattr.c8 int tcsetattr(int fd, int optional_actions, const struct termios* termios_p) {
/external/kernel-headers/original/linux/
H A Dtermios.h5 #include <asm/termios.h>
H A Dtty.h13 #include <linux/termios.h>
81 #define INTR_CHAR(tty) ((tty)->termios->c_cc[VINTR])
82 #define QUIT_CHAR(tty) ((tty)->termios->c_cc[VQUIT])
83 #define ERASE_CHAR(tty) ((tty)->termios->c_cc[VERASE])
84 #define KILL_CHAR(tty) ((tty)->termios->c_cc[VKILL])
85 #define EOF_CHAR(tty) ((tty)->termios->c_cc[VEOF])
86 #define TIME_CHAR(tty) ((tty)->termios->c_cc[VTIME])
87 #define MIN_CHAR(tty) ((tty)->termios->c_cc[VMIN])
88 #define SWTC_CHAR(tty) ((tty)->termios->c_cc[VSWTC])
89 #define START_CHAR(tty) ((tty)->termios
180 struct termios *termios, *termios_locked; member in struct:tty_struct
[all...]
/external/kernel-headers/original/asm-arm/
H A Dtermios.h73 * Translate a "termio" structure into a "termios". Ugh.
75 #define SET_LOW_TERMIOS_BITS(termios, termio, x) { \
78 *(unsigned short *) &(termios)->x = __tmp; \
81 #define user_termio_to_kernel_termios(termios, termio) \
83 SET_LOW_TERMIOS_BITS(termios, termio, c_iflag); \
84 SET_LOW_TERMIOS_BITS(termios, termio, c_oflag); \
85 SET_LOW_TERMIOS_BITS(termios, termio, c_cflag); \
86 SET_LOW_TERMIOS_BITS(termios, termio, c_lflag); \
87 copy_from_user((termios)->c_cc, (termio)->c_cc, NCC); \
91 * Translate a "termios" structur
[all...]
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dostermios.h10 #include <termios.h>
21 struct termios { struct
35 int tcgetattr(int fd,struct termios *termios_p);
36 int tcsetattr(int fd,int optional_actions,const struct termios *termios_p);
H A Dmount_node_tty.h37 virtual Error Tcgetattr(struct termios* termios_p);
39 const struct termios *termios_p);
55 struct termios termios_;
/external/openssh/
H A Dsshpty.h17 #include <termios.h>
19 struct termios *get_saved_tio(void);
H A Dclientloop.h38 #include <termios.h>
45 void client_session2_setup(int, int, int, const char *, struct termios *,
H A Dsshtty.c42 #include <termios.h>
47 static struct termios _saved_tio;
50 struct termios *
71 struct termios tio;
/external/kernel-headers/original/asm-mips/
H A Dtermios.h95 * Translate a "termio" structure into a "termios". Ugh.
97 #define user_termio_to_kernel_termios(termios, termio) \
101 (termios)->c_iflag = (0xffff0000 & ((termios)->c_iflag)) | tmp; \
103 (termios)->c_oflag = (0xffff0000 & ((termios)->c_oflag)) | tmp; \
105 (termios)->c_cflag = (0xffff0000 & ((termios)->c_cflag)) | tmp; \
107 (termios)->c_lflag = (0xffff0000 & ((termios)
[all...]
/external/kernel-headers/original/asm-x86/
H A Dtermios.h88 * Translate a "termio" structure into a "termios". Ugh.
90 #define SET_LOW_TERMIOS_BITS(termios, termio, x) { \
93 *(unsigned short *) &(termios)->x = __tmp; \
96 #define user_termio_to_kernel_termios(termios, termio) \
98 SET_LOW_TERMIOS_BITS(termios, termio, c_iflag); \
99 SET_LOW_TERMIOS_BITS(termios, termio, c_oflag); \
100 SET_LOW_TERMIOS_BITS(termios, termio, c_cflag); \
101 SET_LOW_TERMIOS_BITS(termios, termio, c_lflag); \
102 copy_from_user((termios)->c_cc, (termio)->c_cc, NCC); \
106 * Translate a "termios" structur
[all...]
/external/compiler-rt/lib/msan/lit_tests/Linux/
H A Dtcgetattr.cc7 #include <termios.h>
14 struct termios t;
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/
H A DSDL_wsconsvideo.h28 #include <termios.h>
72 struct termios saved_tty;
/external/chromium_org/cloud_print/gcp20/prototype/
H A Dconio_posix.cc10 #include <termios.h>
14 static termios oldt, newt;
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/include/sys/
H A Dtermios.h107 struct termios { struct
124 int tcgetattr(int fd, struct termios *termios_p);
125 int tcsetattr(int fd, int optional_actions, const struct termios *termios_p);
/external/chromium_org/tools/
H A Dsort-headers.py26 import termios namespace
29 old_settings = termios.tcgetattr(fd)
35 termios.tcsetattr(fd, termios.TCSADRAIN, old_settings)
/external/dropbear/
H A Dnetbsd_getpass.c50 #include <termios.h>
63 struct termios term;
/external/libppp/src/
H A Dprompt.h61 struct termios oldtio; /* Original tty mode */
62 struct termios comtio; /* Command level tty mode */
H A Dsync.c32 #include <termios.h>
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/
H A DSDL_gsvideo.h28 #include <termios.h>
52 struct termios saved_kbd_termios;
/external/grub/grub/
H A Dasmstub.c43 #include <termios.h>
1105 struct termios termios; local
1131 /* Get the termios parameters. */
1132 if (tcgetattr (serial_fd, &termios))
1136 cfmakeraw (&termios);
1143 cfsetispeed (&termios, termios_speed);
1144 cfsetospeed (&termios, termios_speed);
1147 termios.c_cflag &= ~CSIZE;
1151 termios
[all...]
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A Duserial_linux.c28 #include <termios.h>
898 struct termios termios; local
1020 tcgetattr(linux_cb.sock, &termios);
1022 termios.c_cflag &= ~(CSIZE | PARENB);
1023 termios.c_cflag = CLOCAL|CREAD|data_bits|stop_bits|parity;
1025 termios.c_cflag |= IGNPAR;
1026 // termios.c_cflag &= ~CRTSCTS;
1027 termios.c_oflag = 0;
1028 termios
1240 struct termios termios; local
[all...]

Completed in 740 milliseconds

1234567