/linux-6.1.9/arch/alpha/kernel/ |
D | termios.c | 5 struct termio __user *termio) in user_termio_to_kernel_termios() argument 7 struct termio v; in user_termio_to_kernel_termios() 10 if (copy_from_user(&v, termio, sizeof(struct termio))) in user_termio_to_kernel_termios() 32 int kernel_termios_to_user_termio(struct termio __user *termio, in kernel_termios_to_user_termio() argument 35 struct termio v; in kernel_termios_to_user_termio() 38 memset(&v, 0, sizeof(struct termio)); in kernel_termios_to_user_termio() 55 return copy_to_user(termio, &v, sizeof(struct termio)); in kernel_termios_to_user_termio()
|
/linux-6.1.9/arch/parisc/include/uapi/asm/ |
D | ioctls.h | 13 #define TCGETA _IOR('T', 1, struct termio) 14 #define TCSETA _IOW('T', 2, struct termio) 15 #define TCSETAW _IOW('T', 3, struct termio) 16 #define TCSETAF _IOW('T', 4, struct termio)
|
/linux-6.1.9/arch/powerpc/include/uapi/asm/ |
D | ioctls.h | 26 #define TCGETA _IOR('t', 23, struct termio) 27 #define TCSETA _IOW('t', 24, struct termio) 28 #define TCSETAW _IOW('t', 25, struct termio) 29 #define TCSETAF _IOW('t', 28, struct termio)
|
D | termios.h | 54 struct termio { struct
|
/linux-6.1.9/arch/alpha/include/uapi/asm/ |
D | ioctls.h | 26 #define TCGETA _IOR('t', 23, struct termio) 27 #define TCSETA _IOW('t', 24, struct termio) 28 #define TCSETAW _IOW('t', 25, struct termio) 29 #define TCSETAF _IOW('t', 28, struct termio)
|
D | termios.h | 42 struct termio { struct
|
/linux-6.1.9/arch/sparc/kernel/ |
D | termios.c | 15 int kernel_termios_to_user_termio(struct termio __user *termio, in kernel_termios_to_user_termio() argument 18 struct termio v; in kernel_termios_to_user_termio() 19 memset(&v, 0, sizeof(struct termio)); in kernel_termios_to_user_termio() 30 return copy_to_user(termio, &v, sizeof(struct termio)); in kernel_termios_to_user_termio()
|
/linux-6.1.9/arch/sparc/include/uapi/asm/ |
D | ioctls.h | 8 #define TCGETA _IOR('T', 1, struct termio) 9 #define TCSETA _IOW('T', 2, struct termio) 10 #define TCSETAW _IOW('T', 3, struct termio) 11 #define TCSETAF _IOW('T', 4, struct termio)
|
D | termbits.h | 14 struct termio { struct
|
/linux-6.1.9/drivers/tty/ |
D | tty_ioctl.c | 383 struct termio __user *termio) in user_termio_to_kernel_termios() argument 385 struct termio v; in user_termio_to_kernel_termios() 387 if (copy_from_user(&v, termio, sizeof(struct termio))) in user_termio_to_kernel_termios() 402 __weak int kernel_termios_to_user_termio(struct termio __user *termio, in kernel_termios_to_user_termio() argument 405 struct termio v; in kernel_termios_to_user_termio() 406 memset(&v, 0, sizeof(struct termio)); in kernel_termios_to_user_termio() 413 return copy_to_user(termio, &v, sizeof(struct termio)); in kernel_termios_to_user_termio() 480 (struct termio __user *)arg)) in set_termios() 540 static int get_termio(struct tty_struct *tty, struct termio __user *termio) in get_termio() argument 544 if (kernel_termios_to_user_termio(termio, &kterm)) in get_termio()
|
D | moxa.c | 2046 static int MoxaPortSetTermio(struct moxa_port *port, struct ktermios *termio, in MoxaPortSetTermio() argument 2054 mode = termio->c_cflag & CSIZE; in MoxaPortSetTermio() 2064 if (termio->c_cflag & CSTOPB) { in MoxaPortSetTermio() 2072 if (termio->c_cflag & PARENB) { in MoxaPortSetTermio() 2073 if (termio->c_cflag & PARODD) { in MoxaPortSetTermio() 2074 if (termio->c_cflag & CMSPAR) in MoxaPortSetTermio() 2079 if (termio->c_cflag & CMSPAR) in MoxaPortSetTermio() 2094 if (termio->c_iflag & (IXON | IXOFF | IXANY)) { in MoxaPortSetTermio() 2096 writeb(termio->c_cc[VSTART], ofsAddr + FuncArg); in MoxaPortSetTermio() 2097 writeb(termio->c_cc[VSTOP], ofsAddr + FuncArg1); in MoxaPortSetTermio()
|
/linux-6.1.9/include/linux/ |
D | termios_internal.h | 37 int user_termio_to_kernel_termios(struct ktermios *, struct termio __user *); 38 int kernel_termios_to_user_termio(struct termio __user *, struct ktermios *);
|
/linux-6.1.9/include/uapi/asm-generic/ |
D | termios.h | 23 struct termio { struct
|
/linux-6.1.9/arch/mips/include/uapi/asm/ |
D | termios.h | 54 struct termio { struct
|