Home | History | Annotate | Download | only in asm-x86

Lines Matching full:termio

15 struct termio {
88 * Translate a "termio" structure into a "termios". Ugh.
90 #define SET_LOW_TERMIOS_BITS(termios, termio, x) { \
92 get_user(__tmp,&(termio)->x); \
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" structure into a "termio". Ugh.
108 #define kernel_termios_to_user_termio(termio, termios) \
110 put_user((termios)->c_iflag, &(termio)->c_iflag); \
111 put_user((termios)->c_oflag, &(termio)->c_oflag); \
112 put_user((termios)->c_cflag, &(termio)->c_cflag); \
113 put_user((termios)->c_lflag, &(termio)->c_lflag); \
114 put_user((termios)->c_line, &(termio)->c_line); \
115 copy_to_user((termio)->c_cc, (termios)->c_cc, NCC); \