Lines Matching refs:termio
15 struct termio { struct
46 #define SET_LOW_TERMIOS_BITS(termios, termio, x) { \ argument
48 get_user(__tmp, &(termio)->x); \
52 #define user_termio_to_kernel_termios(termios, termio) \ argument
54 SET_LOW_TERMIOS_BITS(termios, termio, c_iflag); \
55 SET_LOW_TERMIOS_BITS(termios, termio, c_oflag); \
56 SET_LOW_TERMIOS_BITS(termios, termio, c_cflag); \
57 SET_LOW_TERMIOS_BITS(termios, termio, c_lflag); \
58 copy_from_user((termios)->c_cc, (termio)->c_cc, NCC); \
64 #define kernel_termios_to_user_termio(termio, termios) \ argument
66 put_user((termios)->c_iflag, &(termio)->c_iflag); \
67 put_user((termios)->c_oflag, &(termio)->c_oflag); \
68 put_user((termios)->c_cflag, &(termio)->c_cflag); \
69 put_user((termios)->c_lflag, &(termio)->c_lflag); \
70 put_user((termios)->c_line, &(termio)->c_line); \
71 copy_to_user((termio)->c_cc, (termios)->c_cc, NCC); \