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

12345678

/linux-master/tools/perf/util/
H A Dterm.h5 struct termios;
9 void set_term_quiet_input(struct termios *old);
H A Dterm.c4 #include <termios.h>
30 void set_term_quiet_input(struct termios *old)
32 struct termios tc;
/linux-master/arch/alpha/kernel/
H A Dtermios.c4 int user_termio_to_kernel_termios(struct ktermios *termios, argument
13 termios->c_iflag = (0xffff0000 & termios->c_iflag) | v.c_iflag;
14 termios->c_oflag = (0xffff0000 & termios->c_oflag) | v.c_oflag;
15 termios->c_cflag = (0xffff0000 & termios->c_cflag) | v.c_cflag;
16 termios->c_lflag = (0xffff0000 & termios->c_lflag) | v.c_lflag;
17 termios
32 kernel_termios_to_user_termio(struct termio __user *termio, struct ktermios *termios) argument
[all...]
/linux-master/include/uapi/linux/
H A Dtermios.h6 #include <asm/termios.h>
/linux-master/drivers/tty/
H A Dtty_baudrate.c8 #include <linux/termios.h>
48 * @termios: termios structure
50 * Convert termios baud rate data into a speed. This should be called
51 * with the termios lock held if this termios is a terminal termios
58 speed_t tty_termios_baud_rate(const struct ktermios *termios) argument
62 cbaud = termios->c_cflag & CBAUD;
66 return termios
88 tty_termios_input_baud_rate(const struct ktermios *termios) argument
129 tty_termios_encode_baud_rate(struct ktermios *termios, speed_t ibaud, speed_t obaud) argument
[all...]
H A Dtty_ioctl.c12 #include <linux/termios.h>
34 * Internal flag options for termios setting behavior
96 * its own termios data at this point when implementing software flow control.
208 struct ktermios *termios = &tty->termios; local
214 NOSET_MASK(termios->c_iflag, old->c_iflag, locked->c_iflag);
215 NOSET_MASK(termios->c_oflag, old->c_oflag, locked->c_oflag);
216 NOSET_MASK(termios->c_cflag, old->c_cflag, locked->c_cflag);
217 NOSET_MASK(termios->c_lflag, old->c_lflag, locked->c_lflag);
218 termios
364 user_termio_to_kernel_termios(struct ktermios *termios, struct termio __user *termio) argument
384 kernel_termios_to_user_termio(struct termio __user *termio, struct ktermios *termios) argument
592 set_sgflags(struct ktermios *termios, int flags) argument
633 struct ktermios termios; local
[all...]
/linux-master/include/linux/
H A Dtermios_internal.h6 #include <asm/termios.h>
42 int user_termios_to_kernel_termios_1(struct ktermios *, struct termios __user *);
43 int kernel_termios_to_user_termios_1(struct termios __user *, struct ktermios *);
45 int user_termios_to_kernel_termios(struct ktermios *, struct termios __user *);
46 int kernel_termios_to_user_termios(struct termios __user *, struct ktermios *);
H A Dtty.h7 #include <linux/termios.h>
34 #define INTR_CHAR(tty) ((tty)->termios.c_cc[VINTR])
35 #define QUIT_CHAR(tty) ((tty)->termios.c_cc[VQUIT])
36 #define ERASE_CHAR(tty) ((tty)->termios.c_cc[VERASE])
37 #define KILL_CHAR(tty) ((tty)->termios.c_cc[VKILL])
38 #define EOF_CHAR(tty) ((tty)->termios.c_cc[VEOF])
39 #define TIME_CHAR(tty) ((tty)->termios.c_cc[VTIME])
40 #define MIN_CHAR(tty) ((tty)->termios.c_cc[VMIN])
41 #define SWTC_CHAR(tty) ((tty)->termios.c_cc[VSWTC])
42 #define START_CHAR(tty) ((tty)->termios
208 struct ktermios termios, termios_locked; member in struct:tty_struct
[all...]
/linux-master/drivers/usb/serial/
H A Dempeg.c80 struct ktermios *termios = &tty->termios; local
91 termios->c_iflag
101 termios->c_oflag
104 termios->c_lflag
111 termios->c_cflag
116 termios->c_cflag
/linux-master/arch/sparc/kernel/
H A Dtermios.c16 struct ktermios *termios)
20 v.c_iflag = termios->c_iflag;
21 v.c_oflag = termios->c_oflag;
22 v.c_cflag = termios->c_cflag;
23 v.c_lflag = termios->c_lflag;
24 v.c_line = termios->c_line;
25 memcpy(v.c_cc, termios->c_cc, NCC);
27 v.c_cc[_VMIN] = termios->c_cc[VMIN];
28 v.c_cc[_VTIME] = termios->c_cc[VTIME];
78 struct termios __use
15 kernel_termios_to_user_termio(struct termio __user *termio, struct ktermios *termios) argument
[all...]
/linux-master/drivers/tty/serial/8250/
H A D8250_dwlib.c95 void dw8250_do_set_termios(struct uart_port *p, struct ktermios *termios, argument
99 if (termios->c_cflag & CRTSCTS)
102 serial8250_do_set_termios(p, termios, old);
139 struct ktermios *termios)
145 if (termios)
146 termios->c_cflag |= ADDRB;
180 static int dw8250_rs485_config(struct uart_port *p, struct ktermios *termios, argument
198 if (termios)
199 termios->c_cflag &= ~ADDRB;
217 dw8250_rs485_set_addr(p, rs485, termios);
138 dw8250_rs485_set_addr(struct uart_port *p, struct serial_rs485 *rs485, struct ktermios *termios) argument
[all...]
/linux-master/arch/parisc/include/uapi/asm/
H A Dioctls.h9 #define TCGETS _IOR('T', 16, struct termios) /* TCGETATTR */
10 #define TCSETS _IOW('T', 17, struct termios) /* TCSETATTR */
11 #define TCSETSW _IOW('T', 18, struct termios) /* TCSETATTRD */
12 #define TCSETSF _IOW('T', 19, struct termios) /* TCSETATTRF */
/linux-master/drivers/tty/serial/
H A D21285.c224 serial21285_set_termios(struct uart_port *port, struct ktermios *termios, argument
233 termios->c_cflag &= ~(HUPCL | CRTSCTS | CMSPAR);
234 termios->c_cflag |= CLOCAL;
239 termios->c_iflag &= ~(IGNBRK | BRKINT);
244 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16);
247 tty_termios_encode_baud_rate(termios, b, b);
249 switch (termios->c_cflag & CSIZE) {
264 if (termios->c_cflag & CSTOPB)
266 if (termios->c_cflag & PARENB) {
268 if (!(termios
[all...]
H A Damba-pl010.c351 pl010_set_termios(struct uart_port *port, struct ktermios *termios, argument
361 baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 16);
364 switch (termios->c_cflag & CSIZE) {
378 if (termios->c_cflag & CSTOPB)
380 if (termios->c_cflag & PARENB) {
382 if (!(termios->c_cflag & PARODD))
393 uart_update_timeout(port, termios->c_cflag, baud);
396 if (termios->c_iflag & INPCK)
398 if (termios->c_iflag & (IGNBRK | BRKINT | PARMRK))
405 if (termios
444 pl010_set_ldisc(struct uart_port *port, struct ktermios *termios) argument
[all...]
H A Dsunplus-uart.c333 struct ktermios *termios,
340 baud = uart_get_baud_rate(port, termios, oldtermios, 0, port->uartclk / 16);
350 switch (termios->c_cflag & CSIZE) {
365 if (termios->c_cflag & CSTOPB)
368 if (termios->c_cflag & PARENB) {
371 if (!(termios->c_cflag & PARODD))
377 uart_update_timeout(port, termios->c_cflag, baud);
380 if (termios->c_iflag & INPCK)
383 if (termios->c_iflag & (BRKINT | PARMRK))
388 if (termios
332 sunplus_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *oldtermios) argument
413 sunplus_set_ldisc(struct uart_port *port, struct ktermios *termios) argument
[all...]
H A Dfsl_linflexuart.c402 linflex_set_termios(struct uart_port *port, struct ktermios *termios, argument
432 while ((termios->c_cflag & CSIZE) != CS8 &&
433 (termios->c_cflag & CSIZE) != CS7) {
434 termios->c_cflag &= ~CSIZE;
435 termios->c_cflag |= old_csize;
439 if ((termios->c_cflag & CSIZE) == CS7) {
444 if ((termios->c_cflag & CSIZE) == CS8) {
449 if (termios->c_cflag & CMSPAR) {
450 if ((termios->c_cflag & CSIZE) != CS8) {
451 termios
[all...]
H A Dvt8500_serial.c336 struct ktermios *termios,
348 baud = uart_get_baud_rate(port, termios, old, 900, 921600);
350 if (tty_termios_baud_rate(termios))
351 tty_termios_encode_baud_rate(termios, baud, baud);
356 if (termios->c_cflag & PARENB) {
358 termios->c_cflag &= ~CMSPAR;
359 if (termios->c_cflag & PARODD)
365 switch (termios->c_cflag & CSIZE) {
371 termios->c_cflag &= ~CSIZE;
372 termios
335 vt8500_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old) argument
[all...]
H A Ddz.c560 static void dz_set_termios(struct uart_port *uport, struct ktermios *termios, argument
570 switch (termios->c_cflag & CSIZE) {
585 if (termios->c_cflag & CSTOPB)
587 if (termios->c_cflag & PARENB)
589 if (termios->c_cflag & PARODD)
592 baud = uart_get_baud_rate(uport, termios, old_termios, 50, 9600);
604 tty_termios_encode_baud_rate(termios, baud, baud);
608 if (termios->c_cflag & CREAD)
613 uart_update_timeout(uport, termios->c_cflag, baud);
620 if (termios
[all...]
/linux-master/drivers/tty/serial/jsm/
H A Djsm_tty.c153 struct ktermios *termios; local
156 termios = &port->state->port.tty->termios;
157 if (ch == termios->c_cc[VSTART])
160 if (ch == termios->c_cc[VSTOP])
194 struct ktermios *termios; local
245 termios = &port->state->port.tty->termios;
246 channel->ch_c_cflag = termios->c_cflag;
247 channel->ch_c_iflag = termios
302 jsm_tty_set_termios(struct uart_port *port, struct ktermios *termios, const struct ktermios *old_termios) argument
[all...]
/linux-master/arch/um/drivers/
H A Dtty.c8 #include <termios.h>
16 struct termios tt;
H A Dfd.c10 #include <termios.h>
18 struct termios tt;
/linux-master/arch/powerpc/include/uapi/asm/
H A Dioctls.h21 #define TCGETS _IOR('t', 19, struct termios)
22 #define TCSETS _IOW('t', 20, struct termios)
23 #define TCSETSW _IOW('t', 21, struct termios)
24 #define TCSETSF _IOW('t', 22, struct termios)
/linux-master/arch/alpha/include/uapi/asm/
H A Dioctls.h21 #define TCGETS _IOR('t', 19, struct termios)
22 #define TCSETS _IOW('t', 20, struct termios)
23 #define TCSETSW _IOW('t', 21, struct termios)
24 #define TCSETSF _IOW('t', 22, struct termios)
/linux-master/arch/sparc/include/uapi/asm/
H A Dioctls.h15 #define TCGETS _IOR('T', 8, struct termios)
16 #define TCSETS _IOW('T', 9, struct termios)
17 #define TCSETSW _IOW('T', 10, struct termios)
18 #define TCSETSF _IOW('T', 11, struct termios)
/linux-master/drivers/misc/ibmasm/
H A Duart.c11 #include <linux/termios.h>

Completed in 648 milliseconds

12345678