Home
last modified time | relevance | path

Searched refs:termio (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/arch/alpha/kernel/
Dtermios.c5 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/
Dioctls.h13 #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/
Dioctls.h26 #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)
Dtermios.h54 struct termio { struct
/linux-6.1.9/arch/alpha/include/uapi/asm/
Dioctls.h26 #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)
Dtermios.h42 struct termio { struct
/linux-6.1.9/arch/sparc/kernel/
Dtermios.c15 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/
Dioctls.h8 #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)
Dtermbits.h14 struct termio { struct
/linux-6.1.9/drivers/tty/
Dtty_ioctl.c383 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()
Dmoxa.c2046 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/
Dtermios_internal.h37 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/
Dtermios.h23 struct termio { struct
/linux-6.1.9/arch/mips/include/uapi/asm/
Dtermios.h54 struct termio { struct