/arch/mips/include/asm/ |
D | termios.h | 29 static inline int user_termio_to_kernel_termios(struct ktermios *termios, in user_termio_to_kernel_termios() argument 39 termios->c_iflag = (termios->c_iflag & 0xffff0000) | iflag; in user_termio_to_kernel_termios() 41 termios->c_oflag = (termios->c_oflag & 0xffff0000) | oflag; in user_termio_to_kernel_termios() 43 termios->c_cflag = (termios->c_cflag & 0xffff0000) | cflag; in user_termio_to_kernel_termios() 45 termios->c_lflag = (termios->c_lflag & 0xffff0000) | lflag; in user_termio_to_kernel_termios() 46 err |=__get_user(termios->c_line, &termio->c_line); in user_termio_to_kernel_termios() 50 if (__copy_from_user(termios->c_cc, termio->c_cc, NCC)) in user_termio_to_kernel_termios() 60 struct ktermios *termios) in kernel_termios_to_user_termio() argument 67 err = __put_user(termios->c_iflag, &termio->c_iflag); in kernel_termios_to_user_termio() 68 err |= __put_user(termios->c_oflag, &termio->c_oflag); in kernel_termios_to_user_termio() [all …]
|
/arch/ia64/include/asm/ |
D | termios.h | 25 #define SET_LOW_TERMIOS_BITS(termios, termio, x) { \ argument 28 *(unsigned short *) &(termios)->x = __tmp; \ 31 #define user_termio_to_kernel_termios(termios, termio) \ argument 33 SET_LOW_TERMIOS_BITS(termios, termio, c_iflag); \ 34 SET_LOW_TERMIOS_BITS(termios, termio, c_oflag); \ 35 SET_LOW_TERMIOS_BITS(termios, termio, c_cflag); \ 36 SET_LOW_TERMIOS_BITS(termios, termio, c_lflag); \ 37 copy_from_user((termios)->c_cc, (termio)->c_cc, NCC); \ 43 #define kernel_termios_to_user_termio(termio, termios) \ argument 45 put_user((termios)->c_iflag, &(termio)->c_iflag); \ [all …]
|
/arch/parisc/include/asm/ |
D | termios.h | 19 #define SET_LOW_TERMIOS_BITS(termios, termio, x) { \ argument 22 *(unsigned short *) &(termios)->x = __tmp; \ 25 #define user_termio_to_kernel_termios(termios, termio) \ argument 27 SET_LOW_TERMIOS_BITS(termios, termio, c_iflag); \ 28 SET_LOW_TERMIOS_BITS(termios, termio, c_oflag); \ 29 SET_LOW_TERMIOS_BITS(termios, termio, c_cflag); \ 30 SET_LOW_TERMIOS_BITS(termios, termio, c_lflag); \ 31 copy_from_user((termios)->c_cc, (termio)->c_cc, NCC); \ 37 #define kernel_termios_to_user_termio(termio, termios) \ argument 39 put_user((termios)->c_iflag, &(termio)->c_iflag); \ [all …]
|
/arch/sparc/include/asm/ |
D | termios.h | 30 #define user_termio_to_kernel_termios(termios, termio) \ argument 35 (termios)->c_iflag = (0xffff0000 & ((termios)->c_iflag)) | tmp; \ 37 (termios)->c_oflag = (0xffff0000 & ((termios)->c_oflag)) | tmp; \ 39 (termios)->c_cflag = (0xffff0000 & ((termios)->c_cflag)) | tmp; \ 41 (termios)->c_lflag = (0xffff0000 & ((termios)->c_lflag)) | tmp; \ 42 err |= copy_from_user((termios)->c_cc, (termio)->c_cc, NCC); \ 51 #define kernel_termios_to_user_termio(termio, termios) \ argument 54 err = put_user((termios)->c_iflag, &(termio)->c_iflag); \ 55 err |= put_user((termios)->c_oflag, &(termio)->c_oflag); \ 56 err |= put_user((termios)->c_cflag, &(termio)->c_cflag); \ [all …]
|
/arch/parisc/include/uapi/asm/ |
D | ioctls.h | 9 #define TCGETS _IOR('T', 16, struct termios) /* TCGETATTR */ 10 #define TCSETS _IOW('T', 17, struct termios) /* TCSETATTR */ 11 #define TCSETSW _IOW('T', 18, struct termios) /* TCSETATTRD */ 12 #define TCSETSF _IOW('T', 19, struct termios) /* TCSETATTRF */
|
D | termbits.h | 12 struct termios { struct
|
/arch/powerpc/include/uapi/asm/ |
D | ioctls.h | 21 #define TCGETS _IOR('t', 19, struct termios) 22 #define TCSETS _IOW('t', 20, struct termios) 23 #define TCSETSW _IOW('t', 21, struct termios) 24 #define TCSETSF _IOW('t', 22, struct termios)
|
D | termbits.h | 23 struct termios { struct
|
/arch/alpha/include/uapi/asm/ |
D | ioctls.h | 21 #define TCGETS _IOR('t', 19, struct termios) 22 #define TCSETS _IOW('t', 20, struct termios) 23 #define TCSETSW _IOW('t', 21, struct termios) 24 #define TCSETSF _IOW('t', 22, struct termios)
|
D | termbits.h | 18 struct termios { struct
|
/arch/sparc/include/uapi/asm/ |
D | ioctls.h | 15 #define TCGETS _IOR('T', 8, struct termios) 16 #define TCSETS _IOW('T', 9, struct termios) 17 #define TCSETSW _IOW('T', 10, struct termios) 18 #define TCSETSF _IOW('T', 11, struct termios)
|
D | termbits.h | 27 struct termios { struct 37 #define SIZEOF_USER_TERMIOS sizeof (struct termios) - (2*sizeof (cc_t)) argument
|
/arch/alpha/include/asm/ |
D | termios.h | 82 copy_from_user(k, u, sizeof(struct termios)) 85 copy_to_user(u, k, sizeof(struct termios))
|
/arch/um/drivers/ |
D | tty.c | 16 struct termios tt;
|
D | fd.c | 18 struct termios tt;
|
D | pty.c | 22 struct termios tt;
|
D | xterm.c | 24 struct termios tt;
|
D | port_user.c | 19 struct termios tt;
|
D | chan_user.c | 77 struct termios save, new; in generic_console_write()
|
D | slip_user.c | 30 struct termios tios; in set_up_tty()
|
/arch/um/os-Linux/ |
D | util.c | 28 struct termios tt; in raw()
|
/arch/ia64/include/uapi/asm/ |
D | termbits.h | 21 struct termios { struct
|
/arch/xtensa/include/uapi/asm/ |
D | termbits.h | 25 struct termios { struct
|
/arch/mips/include/uapi/asm/ |
D | termbits.h | 25 struct termios { struct
|