Home
last modified time | relevance | path

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

1234

/external/kernel-headers/original/asm-mips/
Dtermios.h97 #define user_termio_to_kernel_termios(termios, termio) \ argument
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)->c_lflag)) | tmp; \
108 get_user((termios)->c_line, &(termio)->c_line); \
109 copy_from_user((termios)->c_cc, (termio)->c_cc, NCC); \
115 #define kernel_termios_to_user_termio(termio, termios) \ argument
117 put_user((termios)->c_iflag, &(termio)->c_iflag); \
118 put_user((termios)->c_oflag, &(termio)->c_oflag); \
[all …]
/external/kernel-headers/original/asm-arm/
Dtermios.h75 #define SET_LOW_TERMIOS_BITS(termios, termio, x) { \ argument
78 *(unsigned short *) &(termios)->x = __tmp; \
81 #define user_termio_to_kernel_termios(termios, termio) \ argument
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); \
93 #define kernel_termios_to_user_termio(termio, termios) \ argument
95 put_user((termios)->c_iflag, &(termio)->c_iflag); \
[all …]
Dtermbits.h9 struct termios { struct
/external/kernel-headers/original/asm-x86/
Dtermios.h90 #define SET_LOW_TERMIOS_BITS(termios, termio, x) { \ argument
93 *(unsigned short *) &(termios)->x = __tmp; \
96 #define user_termio_to_kernel_termios(termios, termio) \ argument
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); \
108 #define kernel_termios_to_user_termio(termio, termios) \ argument
110 put_user((termios)->c_iflag, &(termio)->c_iflag); \
[all …]
/external/kernel-headers/original/linux/
Dtty.h81 #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->c_cc[VSTART])
90 #define STOP_CHAR(tty) ((tty)->termios->c_cc[VSTOP])
[all …]
Dserial_core.h167 void (*set_termios)(struct uart_port *, struct termios *new,
168 struct termios *old);
361 unsigned int uart_get_baud_rate(struct uart_port *port, struct termios *termios,
362 struct termios *old, unsigned int min,
/external/openssh/openbsd-compat/
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);
Dbsd-nextstep.c47 tcgetattr(int fd, struct termios *t) in tcgetattr()
53 tcsetattr(int fd, int opt, const struct termios *t) in tcsetattr()
55 struct termios localterm; in tcsetattr()
80 speed_t cfgetospeed(const struct termios *t) in cfgetospeed()
85 speed_t cfgetispeed(const struct termios *t) in cfgetispeed()
91 cfsetospeed(struct termios *t,int speed) in cfsetospeed()
98 cfsetispeed(struct termios *t, int speed) in cfsetispeed()
Dbsd-openpty.c73 openpty(int *amaster, int *aslave, char *name, struct termios *termp, in openpty()
186 struct termios tio; in openpty()
/external/grub/grub/
Dasmstub.c1105 struct termios termios; in serial_hw_init() local
1132 if (tcgetattr (serial_fd, &termios)) in serial_hw_init()
1136 cfmakeraw (&termios); in serial_hw_init()
1143 cfsetispeed (&termios, termios_speed); in serial_hw_init()
1144 cfsetospeed (&termios, termios_speed); in serial_hw_init()
1147 termios.c_cflag &= ~CSIZE; in serial_hw_init()
1151 termios.c_cflag |= CS5; in serial_hw_init()
1154 termios.c_cflag |= CS6; in serial_hw_init()
1157 termios.c_cflag |= CS7; in serial_hw_init()
1160 termios.c_cflag |= CS8; in serial_hw_init()
[all …]
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
Duserial_linux.c895 struct termios termios; in USERIAL_Open() local
1018 tcgetattr(linux_cb.sock, &termios); in USERIAL_Open()
1020 termios.c_cflag &= ~(CSIZE | PARENB); in USERIAL_Open()
1021 termios.c_cflag = CLOCAL|CREAD|data_bits|stop_bits|parity; in USERIAL_Open()
1023 termios.c_cflag |= IGNPAR; in USERIAL_Open()
1025 termios.c_oflag = 0; in USERIAL_Open()
1026 termios.c_lflag &= ~(ECHO | ECHONL | ICANON | IEXTEN | ISIG); in USERIAL_Open()
1027 termios.c_iflag &= ~(BRKINT | ICRNL | INLCR | ISTRIP | IXON | IGNBRK | PARMRK | INPCK); in USERIAL_Open()
1028 termios.c_lflag = 0; in USERIAL_Open()
1029 termios.c_iflag = 0; in USERIAL_Open()
[all …]
/external/openssh/
Dsshtty.c47 static struct termios _saved_tio;
50 struct termios *
71 struct termios tio; in enter_raw_mode()
Dttymodes.c281 tty_make_modes(int fd, struct termios *tiop) in tty_make_modes()
283 struct termios tio; in tty_make_modes()
351 struct termios tio; in tty_parse_modes()
Dsshpty.h19 struct termios *get_saved_tio(void);
Dclientloop.h45 void client_session2_setup(int, int, int, const char *, struct termios *,
/external/llvm/test/CodeGen/X86/
D2009-01-25-NoSSE.ll11 %termios = alloca %struct.ktermios, align 8
12 %termios1 = bitcast %struct.ktermios* %termios to i8*
14 call void @bar(%struct.ktermios* %termios) nounwind
/external/libppp/src/
Dprompt.h61 struct termios oldtio; /* Original tty mode */
62 struct termios comtio; /* Command level tty mode */
Dtty.c101 struct termios ios; /* To be able to reset from raw mode */
435 struct termios ios; in tty_Raw()
482 struct termios tio; in tty_Offline()
534 struct termios ios; in tty_Speed()
678 struct termios ios; in tty_Create()
/external/e2fsprogs/e2fsck/
Dutil.c142 struct termios termios, tmp; in ask_yn() local
144 tcgetattr (0, &termios); in ask_yn()
145 tmp = termios; in ask_yn()
165 tcsetattr (0, TCSANOW, &termios); in ask_yn()
191 tcsetattr (0, TCSANOW, &termios); in ask_yn()
/external/libnfc-nxp/Linux_x86/
DphDal4Nfc_uart.c55 struct termios nIoConfigBackup;
56 struct termios nIoConfig;
194 memset((void *)&gComPortContext.nIoConfig, (int)0, (size_t)sizeof(struct termios)); in phDal4Nfc_uart_open_and_configure()
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/
DSDL_wsconsvideo.h72 struct termios saved_tty;
/external/dropbear/
Dnetbsd_getpass.c63 struct termios term;
Dcli-chansession.c110 struct termios tio; in cli_tty_setup()
166 struct termios tio; in put_termcodes()
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/
DSDL_gsvideo.h52 struct termios saved_kbd_termios;
/external/e2fsprogs/lib/et/
Dcom_err.c51 struct termios t; in default_com_err_proc()

1234