Home
last modified time | relevance | path

Searched refs:tty (Results 1 – 7 of 7) sorted by relevance

/net/irda/ircomm/
Dircomm_tty.c52 static int ircomm_tty_open(struct tty_struct *tty, struct file *filp);
53 static void ircomm_tty_close(struct tty_struct * tty, struct file *filp);
54 static int ircomm_tty_write(struct tty_struct * tty,
56 static int ircomm_tty_write_room(struct tty_struct *tty);
57 static void ircomm_tty_throttle(struct tty_struct *tty);
58 static void ircomm_tty_unthrottle(struct tty_struct *tty);
59 static int ircomm_tty_chars_in_buffer(struct tty_struct *tty);
60 static void ircomm_tty_flush_buffer(struct tty_struct *tty);
61 static void ircomm_tty_send_xchar(struct tty_struct *tty, char ch);
62 static void ircomm_tty_wait_until_sent(struct tty_struct *tty, int timeout);
[all …]
Dircomm_tty_ioctl.c62 if (!self->tty || !self->tty->termios || !self->ircomm) in ircomm_tty_change_speed()
65 cflag = self->tty->termios->c_cflag; in ircomm_tty_change_speed()
84 baud = tty_get_baud_rate(self->tty); in ircomm_tty_change_speed()
111 if (I_INPCK(self->tty)) in ircomm_tty_change_speed()
113 if (I_BRKINT(driver->tty) || I_PARMRK(driver->tty)) in ircomm_tty_change_speed()
120 if (I_IGNPAR(driver->tty)) in ircomm_tty_change_speed()
123 if (I_IGNBRK(self->tty)) { in ircomm_tty_change_speed()
129 if (I_IGNPAR(self->tty)) in ircomm_tty_change_speed()
147 void ircomm_tty_set_termios(struct tty_struct *tty, in ircomm_tty_set_termios() argument
150 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; in ircomm_tty_set_termios()
[all …]
DMakefile5 obj-$(CONFIG_IRCOMM) += ircomm.o ircomm-tty.o
8 ircomm-tty-objs := ircomm_tty.o ircomm_tty_attach.o ircomm_tty_ioctl.o ircomm_param.o
Dircomm_tty_attach.c144 self->tty->hw_stopped = 1; in ircomm_tty_attach_cable()
406 if (!self->tty) in ircomm_tty_disconnect_indication()
413 self->tty->hw_stopped = 1; in ircomm_tty_disconnect_indication()
557 if (!self->tty) in ircomm_tty_link_established()
574 self->tty->hw_stopped = 0; in ircomm_tty_link_established()
985 if (self->tty) in ircomm_tty_state_ready()
986 tty_hangup(self->tty); in ircomm_tty_state_ready()
Dircomm_param.c101 struct tty_struct *tty; in ircomm_param_request() local
111 tty = self->tty; in ircomm_param_request()
112 if (!tty) in ircomm_param_request()
/net/bluetooth/rfcomm/
Dtty.c66 struct tty_struct *tty; member
448 if (dev->tty) in rfcomm_release_dev()
449 tty_vhangup(dev->tty); in rfcomm_release_dev()
559 struct tty_struct *tty; in rfcomm_dev_data_ready() local
566 if (!(tty = dev->tty) || !skb_queue_empty(&dev->pending)) { in rfcomm_dev_data_ready()
571 BT_DBG("dlc %p tty %p len %d", dlc, tty, skb->len); in rfcomm_dev_data_ready()
573 tty_insert_flip_string(tty, skb->data, skb->len); in rfcomm_dev_data_ready()
574 tty_flip_buffer_push(tty); in rfcomm_dev_data_ready()
591 if (!dev->tty) { in rfcomm_dev_state_change()
611 tty_hangup(dev->tty); in rfcomm_dev_state_change()
[all …]
DMakefile8 rfcomm-$(CONFIG_BT_RFCOMM_TTY) += tty.o