Lines Matching refs:linux_tty
88 static int ipw_open(struct tty_struct *linux_tty, struct file *filp) in ipw_open() argument
90 struct ipw_tty *tty = get_tty(linux_tty->index); in ipw_open()
101 tty->port.tty = linux_tty; in ipw_open()
102 linux_tty->driver_data = tty; in ipw_open()
117 struct tty_struct *linux_tty = tty->port.tty; in do_ipw_close() local
119 if (linux_tty != NULL) { in do_ipw_close()
121 linux_tty->driver_data = NULL; in do_ipw_close()
129 static void ipw_hangup(struct tty_struct *linux_tty) in ipw_hangup() argument
131 struct ipw_tty *tty = linux_tty->driver_data; in ipw_hangup()
147 static void ipw_close(struct tty_struct *linux_tty, struct file *filp) in ipw_close() argument
149 ipw_hangup(linux_tty); in ipw_close()
189 static ssize_t ipw_write(struct tty_struct *linux_tty, const u8 *buf, in ipw_write() argument
192 struct ipw_tty *tty = linux_tty->driver_data; in ipw_write()
230 static unsigned int ipw_write_room(struct tty_struct *linux_tty) in ipw_write_room() argument
232 struct ipw_tty *tty = linux_tty->driver_data; in ipw_write_room()
249 static int ipwireless_get_serial_info(struct tty_struct *linux_tty, in ipwireless_get_serial_info() argument
252 struct ipw_tty *tty = linux_tty->driver_data; in ipwireless_get_serial_info()
266 static int ipwireless_set_serial_info(struct tty_struct *linux_tty, in ipwireless_set_serial_info() argument
272 static unsigned int ipw_chars_in_buffer(struct tty_struct *linux_tty) in ipw_chars_in_buffer() argument
274 struct ipw_tty *tty = linux_tty->driver_data; in ipw_chars_in_buffer()
352 static int ipw_tiocmget(struct tty_struct *linux_tty) in ipw_tiocmget() argument
354 struct ipw_tty *tty = linux_tty->driver_data; in ipw_tiocmget()
367 ipw_tiocmset(struct tty_struct *linux_tty, in ipw_tiocmset() argument
370 struct ipw_tty *tty = linux_tty->driver_data; in ipw_tiocmset()
382 static int ipw_ioctl(struct tty_struct *linux_tty, in ipw_ioctl() argument
385 struct ipw_tty *tty = linux_tty->driver_data; in ipw_ioctl()
429 return tty_perform_flush(linux_tty, arg); in ipw_ioctl()