Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/tty/
Dtty_ioctl.c573 static int get_sgttyb(struct tty_struct *tty, struct sgttyb __user *sgttyb) in get_sgttyb() argument
575 struct sgttyb tmp; in get_sgttyb()
585 return copy_to_user(sgttyb, &tmp, sizeof(tmp)) ? -EFAULT : 0; in get_sgttyb()
625 static int set_sgttyb(struct tty_struct *tty, struct sgttyb __user *sgttyb) in set_sgttyb() argument
628 struct sgttyb tmp; in set_sgttyb()
635 if (copy_from_user(&tmp, sgttyb, sizeof(tmp))) in set_sgttyb()
779 return get_sgttyb(real_tty, (struct sgttyb __user *) arg); in tty_mode_ioctl()
782 return set_sgttyb(real_tty, (struct sgttyb __user *) arg); in tty_mode_ioctl()
/linux-6.1.9/arch/mips/include/uapi/asm/
Dtermios.h17 struct sgttyb { struct