Lines Matching full:termio
15 struct termio {
53 * Translate a "termio" structure into a "termios". Ugh.
55 #define SET_LOW_TERMIOS_BITS(termios, termio, x) { \
57 get_user(__tmp,&(termio)->x); \
61 #define user_termio_to_kernel_termios(termios, termio) \
63 SET_LOW_TERMIOS_BITS(termios, termio, c_iflag); \
64 SET_LOW_TERMIOS_BITS(termios, termio, c_oflag); \
65 SET_LOW_TERMIOS_BITS(termios, termio, c_cflag); \
66 SET_LOW_TERMIOS_BITS(termios, termio, c_lflag); \
67 copy_from_user((termios)->c_cc, (termio)->c_cc, NCC); \
71 * Translate a "termios" structure into a "termio". Ugh.
73 #define kernel_termios_to_user_termio(termio, termios) \
75 put_user((termios)->c_iflag, &(termio)->c_iflag); \
76 put_user((termios)->c_oflag, &(termio)->c_oflag); \
77 put_user((termios)->c_cflag, &(termio)->c_cflag); \
78 put_user((termios)->c_lflag, &(termio)->c_lflag); \
79 put_user((termios)->c_line, &(termio)->c_line); \
80 copy_to_user((termio)->c_cc, (termios)->c_cc, NCC); \