Home
last modified time | relevance | path

Searched refs:termios (Results 1 – 24 of 24) sorted by relevance

/arch/mips/include/asm/
Dtermios.h29 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/
Dtermios.h25 #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/
Dtermios.h19 #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/
Dtermios.h30 #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/
Dioctls.h9 #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 */
Dtermbits.h12 struct termios { struct
/arch/powerpc/include/uapi/asm/
Dioctls.h21 #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)
Dtermbits.h23 struct termios { struct
/arch/alpha/include/uapi/asm/
Dioctls.h21 #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)
Dtermbits.h18 struct termios { struct
/arch/sparc/include/uapi/asm/
Dioctls.h15 #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)
Dtermbits.h27 struct termios { struct
37 #define SIZEOF_USER_TERMIOS sizeof (struct termios) - (2*sizeof (cc_t)) argument
/arch/alpha/include/asm/
Dtermios.h82 copy_from_user(k, u, sizeof(struct termios))
85 copy_to_user(u, k, sizeof(struct termios))
/arch/um/drivers/
Dtty.c16 struct termios tt;
Dfd.c18 struct termios tt;
Dpty.c22 struct termios tt;
Dxterm.c24 struct termios tt;
Dport_user.c19 struct termios tt;
Dchan_user.c77 struct termios save, new; in generic_console_write()
Dslip_user.c30 struct termios tios; in set_up_tty()
/arch/um/os-Linux/
Dutil.c28 struct termios tt; in raw()
/arch/ia64/include/uapi/asm/
Dtermbits.h21 struct termios { struct
/arch/xtensa/include/uapi/asm/
Dtermbits.h25 struct termios { struct
/arch/mips/include/uapi/asm/
Dtermbits.h25 struct termios { struct