Lines Matching defs:tty_ldisc_ops
114 struct tty_ldisc_ops { struct
115 int magic;
116 char *name;
117 int num;
118 int flags;
123 int (*open)(struct tty_struct *);
124 void (*close)(struct tty_struct *);
125 void (*flush_buffer)(struct tty_struct *tty);
126 ssize_t (*chars_in_buffer)(struct tty_struct *tty);
127 ssize_t (*read)(struct tty_struct * tty, struct file * file,
129 ssize_t (*write)(struct tty_struct * tty, struct file * file,
131 int (*ioctl)(struct tty_struct * tty, struct file * file,
155 struct tty_ldisc_ops *ops; argument