Lines Matching refs:tty_struct

14 struct tty_struct;
22 * @lookup: ``struct tty_struct *()(struct tty_driver *self, struct file *,
31 * @install: ``int ()(struct tty_driver *self, struct tty_struct *tty)``
38 * @remove: ``void ()(struct tty_driver *self, struct tty_struct *tty)``
45 * @open: ``int ()(struct tty_struct *tty, struct file *)``
53 * @close: ``void ()(struct tty_struct *tty, struct file *)``
63 * @shutdown: ``void ()(struct tty_struct *tty)``
69 * @cleanup: ``void ()(struct tty_struct *tty)``
75 * @write: ``ssize_t ()(struct tty_struct *tty, const u8 *buf, size_t count)``
87 * @put_char: ``int ()(struct tty_struct *tty, u8 ch)``
98 * @flush_chars: ``void ()(struct tty_struct *tty)``
106 * @write_room: ``unsigned int ()(struct tty_struct *tty)``
119 * @chars_in_buffer: ``unsigned int ()(struct tty_struct *tty)``
128 * @ioctl: ``int ()(struct tty_struct *tty, unsigned int cmd,
137 * @compat_ioctl: ``long ()(struct tty_struct *tty, unsigned int cmd,
144 * @set_termios: ``void ()(struct tty_struct *tty, const struct ktermios *old)``
157 * @ldisc_ok: ``int ()(struct tty_struct *tty, int ldisc)``
164 * @set_ldisc: ``void ()(struct tty_struct *tty)``
172 * @throttle: ``void ()(struct tty_struct *tty)``
184 * @unthrottle: ``void ()(struct tty_struct *tty)``
193 * @stop: ``void ()(struct tty_struct *tty)``
202 * @start: ``void ()(struct tty_struct *tty)``
211 * @hangup: ``void ()(struct tty_struct *tty)``
218 * @break_ctl: ``int ()(struct tty_struct *tty, int state)``
234 * @flush_buffer: ``void ()(struct tty_struct *tty)``
243 * @wait_until_sent: ``void ()(struct tty_struct *tty, int timeout)``
252 * @send_xchar: ``void ()(struct tty_struct *tty, u8 ch)``
260 * @tiocmget: ``int ()(struct tty_struct *tty)``
268 * @tiocmset: ``int ()(struct tty_struct *tty,
277 * @resize: ``int ()(struct tty_struct *tty, struct winsize *ws)``
288 * @get_icount: ``int ()(struct tty_struct *tty,
296 * @get_serial: ``int ()(struct tty_struct *tty, struct serial_struct *p)``
304 * @set_serial: ``int ()(struct tty_struct *tty, struct serial_struct *p)``
312 * @show_fdinfo: ``void ()(struct tty_struct *tty, struct seq_file *m)``
357 struct tty_struct * (*lookup)(struct tty_driver *driver,
359 int (*install)(struct tty_driver *driver, struct tty_struct *tty);
360 void (*remove)(struct tty_driver *driver, struct tty_struct *tty);
361 int (*open)(struct tty_struct * tty, struct file * filp);
362 void (*close)(struct tty_struct * tty, struct file * filp);
363 void (*shutdown)(struct tty_struct *tty);
364 void (*cleanup)(struct tty_struct *tty);
365 ssize_t (*write)(struct tty_struct *tty, const u8 *buf, size_t count);
366 int (*put_char)(struct tty_struct *tty, u8 ch);
367 void (*flush_chars)(struct tty_struct *tty);
368 unsigned int (*write_room)(struct tty_struct *tty);
369 unsigned int (*chars_in_buffer)(struct tty_struct *tty);
370 int (*ioctl)(struct tty_struct *tty,
372 long (*compat_ioctl)(struct tty_struct *tty,
374 void (*set_termios)(struct tty_struct *tty, const struct ktermios *old);
375 void (*throttle)(struct tty_struct * tty);
376 void (*unthrottle)(struct tty_struct * tty);
377 void (*stop)(struct tty_struct *tty);
378 void (*start)(struct tty_struct *tty);
379 void (*hangup)(struct tty_struct *tty);
380 int (*break_ctl)(struct tty_struct *tty, int state);
381 void (*flush_buffer)(struct tty_struct *tty);
382 int (*ldisc_ok)(struct tty_struct *tty, int ldisc);
383 void (*set_ldisc)(struct tty_struct *tty);
384 void (*wait_until_sent)(struct tty_struct *tty, int timeout);
385 void (*send_xchar)(struct tty_struct *tty, u8 ch);
386 int (*tiocmget)(struct tty_struct *tty);
387 int (*tiocmset)(struct tty_struct *tty,
389 int (*resize)(struct tty_struct *tty, struct winsize *ws);
390 int (*get_icount)(struct tty_struct *tty,
392 int (*get_serial)(struct tty_struct *tty, struct serial_struct *p);
393 int (*set_serial)(struct tty_struct *tty, struct serial_struct *p);
394 void (*show_fdinfo)(struct tty_struct *tty, struct seq_file *m);
423 * @ttys: array of active &struct tty_struct, set by tty_standard_install()
460 struct tty_struct **ttys;