Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/tty/
Dtty_ioctl.c585 static int get_sgttyb(struct tty_struct *tty, struct sgttyb __user *sgttyb) in get_sgttyb() argument
587 struct sgttyb tmp; in get_sgttyb()
597 return copy_to_user(sgttyb, &tmp, sizeof(tmp)) ? -EFAULT : 0; in get_sgttyb()
637 static int set_sgttyb(struct tty_struct *tty, struct sgttyb __user *sgttyb) in set_sgttyb() argument
640 struct sgttyb tmp; in set_sgttyb()
647 if (copy_from_user(&tmp, sgttyb, sizeof(tmp))) in set_sgttyb()
791 return get_sgttyb(real_tty, (struct sgttyb __user *) arg); in tty_mode_ioctl()
794 return set_sgttyb(real_tty, (struct sgttyb __user *) arg); in tty_mode_ioctl()
/Linux-v6.6/arch/mips/include/uapi/asm/
Dtermios.h17 struct sgttyb { struct