Lines Matching defs:tty_struct
1700 struct tty_struct;
1736 struct tty_struct *tty;
15085 struct tty_struct {
15122 struct tty_struct *link;
15192 struct tty_struct * (*lookup)(struct tty_driver *, struct file *, int);
15193 int (*install)(struct tty_driver *, struct tty_struct *);
15194 void (*remove)(struct tty_driver *, struct tty_struct *);
15195 int (*open)(struct tty_struct *, struct file *);
15196 void (*close)(struct tty_struct *, struct file *);
15197 void (*shutdown)(struct tty_struct *);
15198 void (*cleanup)(struct tty_struct *);
15199 int (*write)(struct tty_struct *, const unsigned char *, int);
15200 int (*put_char)(struct tty_struct *, unsigned char);
15201 void (*flush_chars)(struct tty_struct *);
15202 unsigned int (*write_room)(struct tty_struct *);
15203 unsigned int (*chars_in_buffer)(struct tty_struct *);
15204 int (*ioctl)(struct tty_struct *, unsigned int, long unsigned int);
15205 long int (*compat_ioctl)(struct tty_struct *, unsigned int, long unsigned int);
15206 void (*set_termios)(struct tty_struct *, struct ktermios *);
15207 void (*throttle)(struct tty_struct *);
15208 void (*unthrottle)(struct tty_struct *);
15209 void (*stop)(struct tty_struct *);
15210 void (*start)(struct tty_struct *);
15211 void (*hangup)(struct tty_struct *);
15212 int (*break_ctl)(struct tty_struct *, int);
15213 void (*flush_buffer)(struct tty_struct *);
15214 void (*set_ldisc)(struct tty_struct *);
15215 void (*wait_until_sent)(struct tty_struct *, int);
15216 void (*send_xchar)(struct tty_struct *, char);
15217 int (*tiocmget)(struct tty_struct *);
15218 int (*tiocmset)(struct tty_struct *, unsigned int, unsigned int);
15219 int (*resize)(struct tty_struct *, struct winsize *);
15220 int (*get_icount)(struct tty_struct *, struct serial_icounter_struct *);
15221 int (*get_serial)(struct tty_struct *, struct serial_struct *);
15222 int (*set_serial)(struct tty_struct *, struct serial_struct *);
15223 void (*show_fdinfo)(struct tty_struct *, struct seq_file *);
15247 struct tty_struct **ttys;
15269 struct tty_struct *tty;
15270 struct tty_struct *itty;
15305 int (*open)(struct tty_struct *);
15306 void (*close)(struct tty_struct *);
15307 void (*flush_buffer)(struct tty_struct *);
15308 ssize_t (*read)(struct tty_struct *, struct file *, unsigned char *, size_t, void **, long unsigned int);
15309 ssize_t (*write)(struct tty_struct *, struct file *, const unsigned char *, size_t);
15310 int (*ioctl)(struct tty_struct *, unsigned int, long unsigned int);
15311 int (*compat_ioctl)(struct tty_struct *, unsigned int, long unsigned int);
15312 void (*set_termios)(struct tty_struct *, struct ktermios *);
15313 __poll_t (*poll)(struct tty_struct *, struct file *, struct poll_table_struct *);
15314 void (*hangup)(struct tty_struct *);
15315 void (*receive_buf)(struct tty_struct *, const unsigned char *, const char *, int);
15316 void (*write_wakeup)(struct tty_struct *);
15317 void (*dcd_change)(struct tty_struct *, unsigned int);
15318 int (*receive_buf2)(struct tty_struct *, const unsigned char *, const char *, int);
15319 void (*lookahead_buf)(struct tty_struct *, const unsigned char *, const unsigned char *, unsigned int);
15325 struct tty_struct *tty;
15332 int (*activate)(struct tty_port *, struct tty_struct *);
52507 int (*open)(struct tty_struct *, struct usb_serial_port *);
52509 int (*write)(struct tty_struct *, struct usb_serial_port *, const unsigned char *, int);
52510 unsigned int (*write_room)(struct tty_struct *);
52511 int (*ioctl)(struct tty_struct *, unsigned int, long unsigned int);
52512 void (*get_serial)(struct tty_struct *, struct serial_struct *);
52513 int (*set_serial)(struct tty_struct *, struct serial_struct *);
52514 void (*set_termios)(struct tty_struct *, struct usb_serial_port *, struct ktermios *);
52515 void (*break_ctl)(struct tty_struct *, int);
52516 unsigned int (*chars_in_buffer)(struct tty_struct *);
52517 void (*wait_until_sent)(struct tty_struct *, long int);
52519 void (*throttle)(struct tty_struct *);
52520 void (*unthrottle)(struct tty_struct *);
52521 int (*tiocmget)(struct tty_struct *);
52522 int (*tiocmset)(struct tty_struct *, unsigned int, unsigned int);
52523 int (*tiocmiwait)(struct tty_struct *, long unsigned int);
52524 int (*get_icount)(struct tty_struct *, struct serial_icounter_struct *);
52527 void (*init_termios)(struct tty_struct *);
93060 struct tty_struct *tty;
134583 struct tty_struct *tty;