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

Lines Matching full:termio

52 struct termio {
95 * Translate a "termio" structure into a "termios". Ugh.
97 #define user_termio_to_kernel_termios(termios, termio) \
100 get_user(tmp, &(termio)->c_iflag); \
102 get_user(tmp, &(termio)->c_oflag); \
104 get_user(tmp, &(termio)->c_cflag); \
106 get_user(tmp, &(termio)->c_lflag); \
108 get_user((termios)->c_line, &(termio)->c_line); \
109 copy_from_user((termios)->c_cc, (termio)->c_cc, NCC); \
113 * Translate a "termios" structure into a "termio". Ugh.
115 #define kernel_termios_to_user_termio(termio, termios) \
117 put_user((termios)->c_iflag, &(termio)->c_iflag); \
118 put_user((termios)->c_oflag, &(termio)->c_oflag); \
119 put_user((termios)->c_cflag, &(termio)->c_cflag); \
120 put_user((termios)->c_lflag, &(termio)->c_lflag); \
121 put_user((termios)->c_line, &(termio)->c_line); \
122 copy_to_user((termio)->c_cc, (termios)->c_cc, NCC); \