Lines Matching defs:tty
17 #include <linux/tty.h>
123 __u8 inbuffer [GPS_IN_BUFSIZ]; /* tty -> usb */
124 __u8 outbuffer[GPS_OUT_BUFSIZ]; /* usb -> tty */
291 the device, convert and send the next packet to tty. */
335 /* send an ack packet back to the tty */
373 * called for a complete packet received from tty layer
445 * Called for data received from tty
454 * to the bulk pipe, send an ack back to the tty.
457 * tty layer.
579 * Sends a usb packet to the tty
728 * Called for data received from tty
907 static int garmin_open(struct tty_struct *tty, struct usb_serial_port *port)
1042 static int garmin_write(struct tty_struct *tty, struct usb_serial_port *port,
1114 static unsigned int garmin_write_room(struct tty_struct *tty)
1116 struct usb_serial_port *port = tty->driver_data;
1139 send it directly to the tty port */
1291 * Sends the next queued packt to the tty port (garmin native mode only)
1317 static void garmin_throttle(struct tty_struct *tty)
1319 struct usb_serial_port *port = tty->driver_data;
1330 static void garmin_unthrottle(struct tty_struct *tty)
1332 struct usb_serial_port *port = tty->driver_data;
1340 /* in native mode send queued data to tty, in
1356 * the tty in cases where the protocol provides no own handshaking
1363 /* send the next queued packet to the tty port */
1419 .description = "Garmin GPS usb/tty",