Lines Matching refs:tty_struct
195 struct tty_struct *tty; /* The tty our ldisc is bound to */
1027 static void gsm_process_modem(struct tty_struct *tty, struct gsm_dlci *dlci, in gsm_process_modem()
1097 struct tty_struct *tty; in gsm_control_modem()
1555 struct tty_struct *tty; in gsm_dlci_data()
1713 struct tty_struct *tty = tty_port_tty_get(&dlci->port); in gsm_dlci_release()
2231 static int gsmld_attach_gsm(struct tty_struct *tty, struct gsm_mux *gsm) in gsmld_attach_gsm()
2259 static void gsmld_detach_gsm(struct tty_struct *tty, struct gsm_mux *gsm) in gsmld_detach_gsm()
2272 static void gsmld_receive_buf(struct tty_struct *tty, const unsigned char *cp, in gsmld_receive_buf()
2318 static ssize_t gsmld_chars_in_buffer(struct tty_struct *tty) in gsmld_chars_in_buffer()
2332 static void gsmld_flush_buffer(struct tty_struct *tty) in gsmld_flush_buffer()
2346 static void gsmld_close(struct tty_struct *tty) in gsmld_close()
2367 static int gsmld_open(struct tty_struct *tty) in gsmld_open()
2403 static void gsmld_write_wakeup(struct tty_struct *tty) in gsmld_write_wakeup()
2433 static ssize_t gsmld_read(struct tty_struct *tty, struct file *file, in gsmld_read()
2453 static ssize_t gsmld_write(struct tty_struct *tty, struct file *file, in gsmld_write()
2477 static unsigned int gsmld_poll(struct tty_struct *tty, struct file *file, in gsmld_poll()
2494 static int gsmld_config(struct tty_struct *tty, struct gsm_mux *gsm, in gsmld_config()
2577 static int gsmld_ioctl(struct tty_struct *tty, struct file *file, in gsmld_ioctl()
2901 static int gsmtty_install(struct tty_driver *driver, struct tty_struct *tty) in gsmtty_install()
2957 static int gsmtty_open(struct tty_struct *tty, struct file *filp) in gsmtty_open()
2975 static void gsmtty_close(struct tty_struct *tty, struct file *filp) in gsmtty_close()
3000 static void gsmtty_hangup(struct tty_struct *tty) in gsmtty_hangup()
3009 static int gsmtty_write(struct tty_struct *tty, const unsigned char *buf, in gsmtty_write()
3023 static int gsmtty_write_room(struct tty_struct *tty) in gsmtty_write_room()
3031 static int gsmtty_chars_in_buffer(struct tty_struct *tty) in gsmtty_chars_in_buffer()
3039 static void gsmtty_flush_buffer(struct tty_struct *tty) in gsmtty_flush_buffer()
3052 static void gsmtty_wait_until_sent(struct tty_struct *tty, int timeout) in gsmtty_wait_until_sent()
3059 static int gsmtty_tiocmget(struct tty_struct *tty) in gsmtty_tiocmget()
3067 static int gsmtty_tiocmset(struct tty_struct *tty, in gsmtty_tiocmset()
3086 static int gsmtty_ioctl(struct tty_struct *tty, in gsmtty_ioctl()
3119 static void gsmtty_set_termios(struct tty_struct *tty, struct ktermios *old) in gsmtty_set_termios()
3132 static void gsmtty_throttle(struct tty_struct *tty) in gsmtty_throttle()
3144 static void gsmtty_unthrottle(struct tty_struct *tty) in gsmtty_unthrottle()
3156 static int gsmtty_break_ctl(struct tty_struct *tty, int state) in gsmtty_break_ctl()
3174 static void gsmtty_cleanup(struct tty_struct *tty) in gsmtty_cleanup()