Searched refs:termios (Results 1 – 10 of 10) sorted by relevance
/include/asm-generic/ |
D | termios-base.h | 14 static inline int user_termio_to_kernel_termios(struct ktermios *termios, in user_termio_to_kernel_termios() argument 21 termios->c_iflag = (0xffff0000 & termios->c_iflag) | tmp; in user_termio_to_kernel_termios() 25 termios->c_oflag = (0xffff0000 & termios->c_oflag) | tmp; in user_termio_to_kernel_termios() 29 termios->c_cflag = (0xffff0000 & termios->c_cflag) | tmp; in user_termio_to_kernel_termios() 33 termios->c_lflag = (0xffff0000 & termios->c_lflag) | tmp; in user_termio_to_kernel_termios() 35 if (get_user(termios->c_line, &termio->c_line) < 0) in user_termio_to_kernel_termios() 38 if (copy_from_user(termios->c_cc, termio->c_cc, NCC) != 0) in user_termio_to_kernel_termios() 51 struct ktermios *termios) in kernel_termios_to_user_termio() argument 53 if (put_user(termios->c_iflag, &termio->c_iflag) < 0 || in kernel_termios_to_user_termio() 54 put_user(termios->c_oflag, &termio->c_oflag) < 0 || in kernel_termios_to_user_termio() [all …]
|
D | termios.h | 64 static inline int user_termio_to_kernel_termios(struct ktermios *termios, in user_termio_to_kernel_termios() argument 71 termios->c_iflag = (0xffff0000 & termios->c_iflag) | tmp; in user_termio_to_kernel_termios() 75 termios->c_oflag = (0xffff0000 & termios->c_oflag) | tmp; in user_termio_to_kernel_termios() 79 termios->c_cflag = (0xffff0000 & termios->c_cflag) | tmp; in user_termio_to_kernel_termios() 83 termios->c_lflag = (0xffff0000 & termios->c_lflag) | tmp; in user_termio_to_kernel_termios() 85 if (get_user(termios->c_line, &termio->c_line) < 0) in user_termio_to_kernel_termios() 88 if (copy_from_user(termios->c_cc, termio->c_cc, NCC) != 0) in user_termio_to_kernel_termios() 101 struct ktermios *termios) in kernel_termios_to_user_termio() argument 103 if (put_user(termios->c_iflag, &termio->c_iflag) < 0 || in kernel_termios_to_user_termio() 104 put_user(termios->c_oflag, &termio->c_oflag) < 0 || in kernel_termios_to_user_termio() [all …]
|
D | Kbuild | 31 header-y += termios.h
|
D | Kbuild.asm | 43 header-y += termios.h
|
D | termbits.h | 11 struct termios { struct
|
/include/linux/ |
D | tty.h | 106 #define INTR_CHAR(tty) ((tty)->termios->c_cc[VINTR]) 107 #define QUIT_CHAR(tty) ((tty)->termios->c_cc[VQUIT]) 108 #define ERASE_CHAR(tty) ((tty)->termios->c_cc[VERASE]) 109 #define KILL_CHAR(tty) ((tty)->termios->c_cc[VKILL]) 110 #define EOF_CHAR(tty) ((tty)->termios->c_cc[VEOF]) 111 #define TIME_CHAR(tty) ((tty)->termios->c_cc[VTIME]) 112 #define MIN_CHAR(tty) ((tty)->termios->c_cc[VMIN]) 113 #define SWTC_CHAR(tty) ((tty)->termios->c_cc[VSWTC]) 114 #define START_CHAR(tty) ((tty)->termios->c_cc[VSTART]) 115 #define STOP_CHAR(tty) ((tty)->termios->c_cc[VSTOP]) [all …]
|
D | serial_8250.h | 82 struct ktermios *termios, struct ktermios *old);
|
D | tty_driver.h | 316 struct ktermios **termios; member
|
D | serial_core.h | 442 unsigned int uart_get_baud_rate(struct uart_port *port, struct ktermios *termios,
|
D | Kbuild | 369 header-y += termios.h
|