Home
last modified time | relevance | path

Searched refs:sgttyb (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.15/arch/powerpc/include/uapi/asm/
Dioctls.h15 #define TIOCGETP _IOR('t', 8, struct sgttyb)
16 #define TIOCSETP _IOW('t', 9, struct sgttyb)
17 #define TIOCSETN _IOW('t', 10, struct sgttyb) /* TIOCSETP wo flush */
Dtermios.h20 struct sgttyb { struct
/Linux-v5.15/arch/alpha/include/uapi/asm/
Dioctls.h15 #define TIOCGETP _IOR('t', 8, struct sgttyb)
16 #define TIOCSETP _IOW('t', 9, struct sgttyb)
17 #define TIOCSETN _IOW('t', 10, struct sgttyb) /* TIOCSETP wo flush */
Dtermios.h8 struct sgttyb { struct
/Linux-v5.15/arch/sparc/include/uapi/asm/
Dioctls.h43 #define __TIOCGETP _IOR('t', 8, struct sgttyb) /* SunOS Specific */
44 #define __TIOCSETP _IOW('t', 9, struct sgttyb) /* SunOS Specific */
45 #define __TIOCSETN _IOW('t', 10, struct sgttyb) /* SunOS Specific */
Dtermios.h9 struct sgttyb { struct
/Linux-v5.15/drivers/tty/
Dtty_ioctl.c494 static int get_sgttyb(struct tty_struct *tty, struct sgttyb __user *sgttyb) in get_sgttyb() argument
496 struct sgttyb tmp; in get_sgttyb()
506 return copy_to_user(sgttyb, &tmp, sizeof(tmp)) ? -EFAULT : 0; in get_sgttyb()
546 static int set_sgttyb(struct tty_struct *tty, struct sgttyb __user *sgttyb) in set_sgttyb() argument
549 struct sgttyb tmp; in set_sgttyb()
556 if (copy_from_user(&tmp, sgttyb, sizeof(tmp))) in set_sgttyb()
706 return get_sgttyb(real_tty, (struct sgttyb __user *) arg); in tty_mode_ioctl()
709 return set_sgttyb(real_tty, (struct sgttyb __user *) arg); in tty_mode_ioctl()
/Linux-v5.15/arch/mips/include/uapi/asm/
Dtermios.h17 struct sgttyb { struct