Lines Matching refs:termio
15 struct termio { struct
90 #define SET_LOW_TERMIOS_BITS(termios, termio, x) { \ argument
92 get_user(__tmp,&(termio)->x); \
96 #define user_termio_to_kernel_termios(termios, termio) \ argument
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); \
108 #define kernel_termios_to_user_termio(termio, termios) \ argument
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); \