/linux-master/drivers/usb/serial/ |
H A D | upd78f0730.c | 23 #include <linux/tty.h> 183 static int upd78f0730_tiocmget(struct tty_struct *tty) argument 186 struct usb_serial_port *port = tty->driver_data; 204 static int upd78f0730_tiocmset(struct tty_struct *tty, argument 207 struct usb_serial_port *port = tty->driver_data; 241 static int upd78f0730_break_ctl(struct tty_struct *tty, int break_state) argument 244 struct usb_serial_port *port = tty->driver_data; 270 struct tty_struct *tty = port->port.tty; local 279 upd78f0730_tiocmset(tty, se 282 upd78f0730_get_baud_rate(struct tty_struct *tty) argument 301 upd78f0730_set_termios(struct tty_struct *tty, struct usb_serial_port *port, const struct ktermios *old_termios) argument 379 upd78f0730_open(struct tty_struct *tty, struct usb_serial_port *port) argument [all...] |
H A D | usb-wwan.h | 10 extern int usb_wwan_open(struct tty_struct *tty, struct usb_serial_port *port); 14 extern unsigned int usb_wwan_write_room(struct tty_struct *tty); 15 extern int usb_wwan_tiocmget(struct tty_struct *tty); 16 extern int usb_wwan_tiocmset(struct tty_struct *tty, 18 extern int usb_wwan_write(struct tty_struct *tty, struct usb_serial_port *port, 20 extern unsigned int usb_wwan_chars_in_buffer(struct tty_struct *tty);
|
H A D | console.c | 16 #include <linux/tty.h> 67 struct tty_struct *tty = NULL; local 132 * allocate a fake tty so the driver can initialize 136 tty = kzalloc(sizeof(*tty), GFP_KERNEL); 137 if (!tty) { 141 kref_init(&tty->kref); 142 tty->driver = usb_serial_tty_driver; 143 tty->index = co->index; 144 init_ldsem(&tty [all...] |
/linux-master/drivers/tty/ |
H A D | amiserial.c | 14 * The port is registered with the tty driver as minor device 64, and 61 #include <linux/tty.h> 96 static void change_speed(struct tty_struct *tty, struct serial_state *info, 98 static void rs_wait_until_sent(struct tty_struct *tty, int timeout); 129 * This routines are called before setting or resetting tty->flow.stopped. 133 static void rs_stop(struct tty_struct *tty) argument 135 struct serial_state *info = tty->driver_data; 150 static void rs_start(struct tty_struct *tty) argument 152 struct serial_state *info = tty->driver_data; 243 do_SAK(info->tport.tty); 441 startup(struct tty_struct *tty, struct serial_state *info) argument 516 shutdown(struct tty_struct *tty, struct serial_state *info) argument 566 change_speed(struct tty_struct *tty, struct serial_state *info, const struct ktermios *old_termios) argument 697 rs_put_char(struct tty_struct *tty, u8 ch) argument 721 rs_flush_chars(struct tty_struct *tty) argument 742 rs_write(struct tty_struct * tty, const u8 *buf, size_t count) argument 785 rs_write_room(struct tty_struct *tty) argument 792 rs_chars_in_buffer(struct tty_struct *tty) argument 799 rs_flush_buffer(struct tty_struct *tty) argument 814 rs_send_xchar(struct tty_struct *tty, u8 ch) argument 846 rs_throttle(struct tty_struct * tty) argument 865 rs_unthrottle(struct tty_struct * tty) argument 892 get_serial_info(struct tty_struct *tty, struct serial_struct *ss) argument 915 set_serial_info(struct tty_struct *tty, struct serial_struct *ss) argument 1010 rs_tiocmget(struct tty_struct *tty) argument 1030 rs_tiocmset(struct tty_struct *tty, unsigned int set, unsigned int clear) argument 1056 rs_break(struct tty_struct *tty, int break_state) argument 1076 rs_get_icount(struct tty_struct *tty, struct serial_icounter_struct *icount) argument 1101 rs_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) argument 1170 rs_set_termios(struct tty_struct *tty, const struct ktermios *old_termios) argument 1224 rs_close(struct tty_struct *tty, struct file * filp) argument 1266 rs_wait_until_sent(struct tty_struct *tty, int timeout) argument 1323 rs_hangup(struct tty_struct *tty) argument 1341 rs_open(struct tty_struct *tty, struct file * filp) argument [all...] |
H A D | ttynull.c | 11 #include <linux/tty.h> 17 static int ttynull_open(struct tty_struct *tty, struct file *filp) argument 19 return tty_port_open(&ttynull_port, tty, filp); 22 static void ttynull_close(struct tty_struct *tty, struct file *filp) argument 24 tty_port_close(&ttynull_port, tty, filp); 27 static void ttynull_hangup(struct tty_struct *tty) argument 32 static ssize_t ttynull_write(struct tty_struct *tty, const u8 *buf, argument 38 static unsigned int ttynull_write_room(struct tty_struct *tty) argument
|
H A D | n_hdlc.c | 15 * This module implements the tty line discipline N_HDLC for use with 16 * tty device drivers that support bit-synchronous HDLC communications. 20 * 1. tty write calls represent one complete transmit frame of data 33 * the tty flip buffer and call the line discipline receive 39 * tty read calls. 41 * 3. tty read calls returns an entire frame of data or nothing. 45 * of the tty flags 52 * These conventions allow the standard tty programming interface 92 #include <linux/tty.h> 94 #include <linux/string.h> /* used in new tty driver 159 flush_rx_queue(struct tty_struct *tty) argument 168 flush_tx_queue(struct tty_struct *tty) argument 194 n_hdlc_tty_close(struct tty_struct *tty) argument 222 n_hdlc_tty_open(struct tty_struct *tty) argument 264 n_hdlc_send_frames(struct n_hdlc *n_hdlc, struct tty_struct *tty) argument 344 struct tty_struct *tty = n_hdlc->tty_for_write_work; local 355 n_hdlc_tty_wakeup(struct tty_struct *tty) argument 372 n_hdlc_tty_receive(struct tty_struct *tty, const u8 *data, const u8 *flags, size_t count) argument 427 n_hdlc_tty_read(struct tty_struct *tty, struct file *file, u8 *kbuf, size_t nr, void **cookie, unsigned long offset) argument 520 n_hdlc_tty_write(struct tty_struct *tty, struct file *file, const u8 *data, size_t count) argument 583 n_hdlc_tty_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) argument 648 n_hdlc_tty_poll(struct tty_struct *tty, struct file *filp, poll_table *wait) argument [all...] |
H A D | rpmsg_tty.c | 5 * The rpmsg tty driver implements serial communication on the RPMsg bus to makes 7 * tty protocol. 9 * The remote processor can instantiate a new tty by requesting a "rpmsg-tty" RPMsg service. 10 * The "rpmsg-tty" service is directly used for data exchange. No flow control is implemented yet. 18 #include <linux/tty.h> 24 static DEFINE_IDR(tty_idr); /* tty instance id */ 50 static int rpmsg_tty_install(struct tty_driver *driver, struct tty_struct *tty) argument 52 struct rpmsg_tty_port *cport = idr_find(&tty_idr, tty->index); 55 tty 61 rpmsg_tty_cleanup(struct tty_struct *tty) argument 66 rpmsg_tty_open(struct tty_struct *tty, struct file *filp) argument 71 rpmsg_tty_close(struct tty_struct *tty, struct file *filp) argument 76 rpmsg_tty_write(struct tty_struct *tty, const u8 *buf, size_t len) argument 105 rpmsg_tty_write_room(struct tty_struct *tty) argument 117 rpmsg_tty_hangup(struct tty_struct *tty) argument [all...] |
H A D | n_null.c | 4 #include <linux/tty.h> 13 static ssize_t n_null_read(struct tty_struct *tty, struct file *file, u8 *buf, argument 19 static ssize_t n_null_write(struct tty_struct *tty, struct file *file, argument
|
H A D | mxser.c | 24 #include <linux/tty.h> 484 static int mxser_set_baud(struct tty_struct *tty, speed_t newspd) argument 486 struct mxser_port *info = tty->driver_data; 496 tty_encode_baud_rate(tty, 134, 134); 502 tty_encode_baud_rate(tty, baud, baud); 532 if (C_BAUD(tty) == BOTHER) { 549 static void mxser_handle_cts(struct tty_struct *tty, struct mxser_port *info, argument 554 if (tty->hw_stopped) { 556 tty->hw_stopped = false; 560 tty_wakeup(tty); 575 mxser_change_speed(struct tty_struct *tty, const struct ktermios *old_termios) argument 686 mxser_check_modem_status(struct tty_struct *tty, struct mxser_port *port) argument 726 mxser_activate(struct tty_port *port, struct tty_struct *tty) argument 873 mxser_open(struct tty_struct *tty, struct file *filp) argument 883 mxser_flush_buffer(struct tty_struct *tty) argument 899 mxser_close(struct tty_struct *tty, struct file *filp) argument 904 mxser_write(struct tty_struct *tty, const u8 *buf, size_t count) argument 923 mxser_put_char(struct tty_struct *tty, u8 ch) argument 937 mxser_flush_chars(struct tty_struct *tty) argument 948 mxser_write_room(struct tty_struct *tty) argument 955 mxser_chars_in_buffer(struct tty_struct *tty) argument 967 mxser_get_serial_info(struct tty_struct *tty, struct serial_struct *ss) argument 994 mxser_set_serial_info(struct tty_struct *tty, struct serial_struct *ss) argument 1097 mxser_tiocmget(struct tty_struct *tty) argument 1120 mxser_tiocmset(struct tty_struct *tty, unsigned int set, unsigned int clear) argument 1202 mxser_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) argument 1246 mxser_get_icount(struct tty_struct *tty, struct serial_icounter_struct *icount) argument 1276 mxser_throttle(struct tty_struct *tty) argument 1298 mxser_unthrottle(struct tty_struct *tty) argument 1331 mxser_stop(struct tty_struct *tty) argument 1342 mxser_start(struct tty_struct *tty) argument 1353 mxser_set_termios(struct tty_struct *tty, const struct ktermios *old_termios) argument 1397 mxser_wait_until_sent(struct tty_struct *tty, int timeout) argument 1451 mxser_hangup(struct tty_struct *tty) argument 1462 mxser_rs_break(struct tty_struct *tty, int break_state) argument 1503 mxser_receive_chars_old(struct tty_struct *tty, struct mxser_port *port, u8 status) argument 1558 mxser_receive_chars(struct tty_struct *tty, struct mxser_port *port, u8 status) argument 1569 mxser_transmit_chars(struct tty_struct *tty, struct mxser_port *port) argument 1606 struct tty_struct *tty; local [all...] |
/linux-master/drivers/s390/char/ |
H A D | ctrlchar.c | 41 * @tty: the tty struct for this console 49 ctrlchar_handle(const unsigned char *buf, int len, struct tty_struct *tty) argument 73 return INTR_CHAR(tty) | CTRLCHAR_CTRL; 75 return EOF_CHAR(tty) | CTRLCHAR_CTRL; 77 return SUSP_CHAR(tty) | CTRLCHAR_CTRL;
|
/linux-master/drivers/bluetooth/ |
H A D | hci_ldisc.c | 22 #include <linux/tty.h> 120 * tty is being closed because that is the only time the write lock is 148 struct tty_struct *tty = hu->tty; local 162 set_bit(TTY_DO_WRITE_WAKEUP, &tty->flags); 163 len = tty->ops->write(tty, skb->data, skb->len); 228 struct tty_struct *tty = hu->tty; local 230 BT_DBG("hdev %p tty 310 struct tty_struct *tty = hu->tty; local 375 struct tty_struct *tty = hu->tty; local 476 hci_uart_tty_open(struct tty_struct *tty) argument 524 hci_uart_tty_close(struct tty_struct *tty) argument 571 hci_uart_tty_wakeup(struct tty_struct *tty) argument 601 hci_uart_tty_receive(struct tty_struct *tty, const u8 *data, const u8 *flags, size_t count) argument 744 hci_uart_tty_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) argument 803 hci_uart_tty_read(struct tty_struct *tty, struct file *file, u8 *buf, size_t nr, void **cookie, unsigned long offset) argument 810 hci_uart_tty_write(struct tty_struct *tty, struct file *file, const u8 *data, size_t count) argument [all...] |
H A D | hci_ath.c | 20 #include <linux/tty.h> 50 static int ath_wakeup_ar3k(struct tty_struct *tty) argument 52 int status = tty->driver->ops->tiocmget(tty); 58 tty->driver->ops->tiocmget(tty); 59 tty->driver->ops->tiocmset(tty, 0x00, TIOCM_RTS); 63 tty->driver->ops->tiocmget(tty); 76 struct tty_struct *tty; local [all...] |
/linux-master/include/linux/ |
H A D | devpts_fs.h | 34 int ptm_open_peer(struct file *master, struct tty_struct *tty, int flags); 38 ptm_open_peer(struct file *master, struct tty_struct *tty, int flags) argument
|
/linux-master/drivers/misc/bcm-vk/ |
H A D | bcm_vk_tty.c | 6 #include <linux/tty.h> 77 /* Check the card status that the tty channel is ready */ 81 vktty = &vk->tty[i]; 83 /* Don't increment read index if tty app is closed */ 104 * insert into tty flip buffer 106 while (vk->tty[i].rd != wr) { 126 static int bcm_vk_tty_open(struct tty_struct *tty, struct file *file) argument 134 tty->driver_data = NULL; 136 vk = (struct bcm_vk *)dev_get_drvdata(tty->dev); 137 index = tty 170 bcm_vk_tty_close(struct tty_struct *tty, struct file *file) argument 189 bcm_vk_tty_write(struct tty_struct *tty, const u8 *buffer, size_t count) argument 216 bcm_vk_tty_write_room(struct tty_struct *tty) argument [all...] |
/linux-master/sound/soc/codecs/ |
H A D | cx20442.c | 12 #include <linux/tty.h> 25 struct tty_struct *tty; member in struct:cx20442_priv 162 /* tty and write pointers required for talking to the modem 164 if (!cx20442->tty || !cx20442->tty->ops->write) 193 if (cx20442->tty->ops->write(cx20442->tty, buf, len) != len) 212 static int v253_open(struct tty_struct *tty) argument 217 if (!tty->ops->write) 221 if (!tty 237 v253_close(struct tty_struct *tty) argument 255 v253_hangup(struct tty_struct *tty) argument 261 v253_receive(struct tty_struct *tty, const u8 *cp, const u8 *fp, size_t count) argument 388 struct tty_struct *tty = cx20442->tty; local [all...] |
/linux-master/include/linux/usb/ |
H A D | serial.h | 225 * the corresponding tty port functions are called. If they are not 268 /* Called by console and by the tty layer */ 269 int (*open)(struct tty_struct *tty, struct usb_serial_port *port); 271 int (*write)(struct tty_struct *tty, struct usb_serial_port *port, 273 /* Called only by the tty layer */ 274 unsigned int (*write_room)(struct tty_struct *tty); 275 int (*ioctl)(struct tty_struct *tty, 277 void (*get_serial)(struct tty_struct *tty, struct serial_struct *ss); 278 int (*set_serial)(struct tty_struct *tty, struct serial_struct *ss); 279 void (*set_termios)(struct tty_struct *tty, struc [all...] |
/linux-master/tools/arch/x86/dell-uart-backlight-emulator/ |
H A D | dell-uart-backlight-emulator.c | 44 struct termios tty, saved_tty; local 59 ret = tcgetattr(serial_fd, &tty); 64 saved_tty = tty; 66 cfsetspeed(&tty, 9600); 67 cfmakeraw(&tty); 68 tty.c_cflag &= ~CSTOPB; 69 tty.c_cflag &= ~CRTSCTS; 70 tty.c_cflag |= CLOCAL | CREAD; 72 ret = tcsetattr(serial_fd, TCSANOW, &tty);
|
/linux-master/drivers/net/caif/ |
H A D | caif_serial.c | 15 #include <linux/tty.h> 70 struct tty_struct *tty; member in struct:ser_device 85 static void ldisc_tx_wakeup(struct tty_struct *tty); 90 ser->tty->flow.stopped << 5 | 91 ser->tty->flow.tco_stopped << 3 | 92 ser->tty->ctrl.packet << 2; 94 static inline void debugfs_init(struct ser_device *ser, struct tty_struct *tty) argument 96 ser->debugfs_tty_dir = debugfs_create_dir(tty->name, debugfsdir); 139 static inline void debugfs_init(struct ser_device *ser, struct tty_struct *tty) argument 161 static void ldisc_receive(struct tty_struct *tty, cons argument 210 struct tty_struct *tty; local 286 ldisc_tx_wakeup(struct tty_struct *tty) argument 319 ldisc_open(struct tty_struct *tty) argument 368 ldisc_close(struct tty_struct *tty) argument [all...] |
/linux-master/drivers/staging/gdm724x/ |
H A D | gdm_tty.c | 8 #include <linux/tty.h> 51 static int gdm_tty_install(struct tty_driver *driver, struct tty_struct *tty) argument 57 tty->driver->driver_name); 62 gdm = gdm_table[ret][tty->index]; 70 ret = tty_standard_install(driver, tty); 77 tty->driver_data = gdm; 83 static int gdm_tty_open(struct tty_struct *tty, struct file *filp) argument 85 struct gdm *gdm = tty->driver_data; 87 return tty_port_open(&gdm->port, tty, filp); 90 static void gdm_tty_cleanup(struct tty_struct *tty) argument 97 gdm_tty_hangup(struct tty_struct *tty) argument 104 gdm_tty_close(struct tty_struct *tty, struct file *filp) argument 152 gdm_tty_write(struct tty_struct *tty, const u8 *buf, size_t len) argument 177 gdm_tty_write_room(struct tty_struct *tty) argument 235 struct tty_struct *tty; local [all...] |
/linux-master/drivers/tty/hvc/ |
H A D | hvc_console.c | 22 #include <linux/tty.h> 40 * hypervisor before allowing the tty to complete a close operation. 79 * This value is used to assign a tty->index value to a hvc_struct based 139 * console interfaces but can still be used as a tty device. This has to be 295 /* make sure no tty has been registered in this index */ 320 static void hvc_unthrottle(struct tty_struct *tty) argument 325 static int hvc_install(struct tty_driver *driver, struct tty_struct *tty) argument 331 hp = hvc_get_by_index(tty->index); 335 tty->driver_data = hp; 337 rc = tty_port_install(&hp->port, driver, tty); 347 hvc_open(struct tty_struct *tty, struct file * filp) argument 389 hvc_close(struct tty_struct *tty, struct file * filp) argument 432 hvc_cleanup(struct tty_struct *tty) argument 439 hvc_hangup(struct tty_struct *tty) argument 499 hvc_write(struct tty_struct *tty, const u8 *buf, size_t count) argument 567 struct tty_struct *tty; local 589 hvc_write_room(struct tty_struct *tty) argument 599 hvc_chars_in_buffer(struct tty_struct *tty) argument 634 struct tty_struct *tty; local 836 hvc_tiocmget(struct tty_struct *tty) argument 845 hvc_tiocmset(struct tty_struct *tty, unsigned int set, unsigned int clear) argument 863 struct tty_struct *tty = driver->ttys[0]; local 878 struct tty_struct *tty = driver->ttys[0]; local 980 struct tty_struct *tty; local [all...] |
/linux-master/drivers/char/ |
H A D | ttyprintk.c | 17 #include <linux/tty.h> 86 static int tpk_open(struct tty_struct *tty, struct file *filp) argument 88 tty->driver_data = &tpk_port; 90 return tty_port_open(&tpk_port.port, tty, filp); 96 static void tpk_close(struct tty_struct *tty, struct file *filp) argument 98 struct ttyprintk_port *tpkp = tty->driver_data; 100 tty_port_close(&tpkp->port, tty, filp); 106 static ssize_t tpk_write(struct tty_struct *tty, const u8 *buf, size_t count) argument 108 struct ttyprintk_port *tpkp = tty->driver_data; 112 /* exclusive use of tpk_printk within this tty */ 123 tpk_write_room(struct tty_struct *tty) argument 131 tpk_hangup(struct tty_struct *tty) argument [all...] |
/linux-master/drivers/mmc/core/ |
H A D | sdio_uart.c | 34 #include <linux/tty.h> 141 * the tty layer. Be careful to prevent any further access 142 * to the SDIO function and arrange for the tty layer to 411 struct tty_struct *tty; local 422 tty = tty_port_tty_get(&port->port); 424 if (tty == NULL || !kfifo_len(xmit) || 425 tty->flow.stopped || tty->hw_stopped) { 427 tty_kref_put(tty); 439 tty_wakeup(tty); 448 struct tty_struct *tty; local 576 sdio_uart_activate(struct tty_port *tport, struct tty_struct *tty) argument 708 sdio_uart_install(struct tty_driver *driver, struct tty_struct *tty) argument 730 sdio_uart_cleanup(struct tty_struct *tty) argument 741 sdio_uart_open(struct tty_struct *tty, struct file *filp) argument 747 sdio_uart_close(struct tty_struct *tty, struct file * filp) argument 753 sdio_uart_hangup(struct tty_struct *tty) argument 759 sdio_uart_write(struct tty_struct *tty, const u8 *buf, size_t count) argument 782 sdio_uart_write_room(struct tty_struct *tty) argument 788 sdio_uart_chars_in_buffer(struct tty_struct *tty) argument 794 sdio_uart_send_xchar(struct tty_struct *tty, u8 ch) argument 808 sdio_uart_throttle(struct tty_struct *tty) argument 830 sdio_uart_unthrottle(struct tty_struct *tty) argument 856 sdio_uart_set_termios(struct tty_struct *tty, const struct ktermios *old_termios) argument 896 sdio_uart_break_ctl(struct tty_struct *tty, int break_state) argument 915 sdio_uart_tiocmget(struct tty_struct *tty) argument 929 sdio_uart_tiocmset(struct tty_struct *tty, unsigned int set, unsigned int clear) argument [all...] |
/linux-master/drivers/tty/serial/ |
H A D | kgdb_nmi.c | 19 #include <linux/tty.h> 106 * Can't use port->tty->driver_data as tty might be not there. Timer 107 * will check for tty and will get the ref, but here we don't have to 208 static int kgdb_nmi_tty_activate(struct tty_port *port, struct tty_struct *tty) argument 234 static int kgdb_nmi_tty_install(struct tty_driver *drv, struct tty_struct *tty) argument 247 tty->driver_data = priv; 249 ret = tty_port_install(&priv->port, drv, tty); 251 pr_err("%s: can't install tty port: %d\n", __func__, ret); 261 static void kgdb_nmi_tty_cleanup(struct tty_struct *tty) argument 270 kgdb_nmi_tty_open(struct tty_struct *tty, struct file *file) argument 283 kgdb_nmi_tty_close(struct tty_struct *tty, struct file *file) argument 294 kgdb_nmi_tty_hangup(struct tty_struct *tty) argument 301 kgdb_nmi_tty_write_room(struct tty_struct *tty) argument 307 kgdb_nmi_tty_write(struct tty_struct *tty, const u8 *buf, size_t c) argument [all...] |
/linux-master/arch/um/drivers/ |
H A D | line.c | 50 unsigned int line_write_room(struct tty_struct *tty) argument 52 struct line *line = tty->driver_data; 63 unsigned int line_chars_in_buffer(struct tty_struct *tty) argument 65 struct line *line = tty->driver_data; 168 void line_flush_buffer(struct tty_struct *tty) argument 170 struct line *line = tty->driver_data; 182 void line_flush_chars(struct tty_struct *tty) argument 184 line_flush_buffer(tty); 187 ssize_t line_write(struct tty_struct *tty, const u8 *buf, size_t len) argument 189 struct line *line = tty 214 line_throttle(struct tty_struct *tty) argument 222 line_unthrottle(struct tty_struct *tty) argument 285 line_activate(struct tty_port *port, struct tty_struct *tty) argument 309 struct tty_struct *tty = tty_port_tty_get(port); local 323 line_open(struct tty_struct *tty, struct file *filp) argument 330 line_install(struct tty_driver *driver, struct tty_struct *tty, struct line *line) argument 344 line_close(struct tty_struct *tty, struct file * filp) argument 351 line_hangup(struct tty_struct *tty) argument 505 struct tty_struct *tty = tty_port_tty_get(&line->port); local 623 struct tty_struct *tty; local 708 unregister_winch(struct tty_struct *tty) argument [all...] |
/linux-master/net/bluetooth/rfcomm/ |
H A D | tty.c | 30 #include <linux/tty.h> 110 static int rfcomm_dev_activate(struct tty_port *port, struct tty_struct *tty) argument 117 set_bit(TTY_IO_ERROR, &tty->flags); 321 struct device *tty; local 331 tty = tty_port_register_device(&dev->port, rfcomm_tty_driver, 333 if (IS_ERR(tty)) { 335 return PTR_ERR(tty); 338 dev->tty_dev = tty; 441 struct tty_struct *tty; local 467 tty 685 rfcomm_tty_cleanup(struct tty_struct *tty) argument 708 rfcomm_tty_install(struct tty_driver *driver, struct tty_struct *tty) argument 746 rfcomm_tty_open(struct tty_struct *tty, struct file *filp) argument 772 rfcomm_tty_close(struct tty_struct *tty, struct file *filp) argument 782 rfcomm_tty_write(struct tty_struct *tty, const u8 *buf, size_t count) argument 812 rfcomm_tty_write_room(struct tty_struct *tty) argument 825 rfcomm_tty_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) argument 858 rfcomm_tty_set_termios(struct tty_struct *tty, const struct ktermios *old) argument 998 rfcomm_tty_throttle(struct tty_struct *tty) argument 1007 rfcomm_tty_unthrottle(struct tty_struct *tty) argument 1016 rfcomm_tty_chars_in_buffer(struct tty_struct *tty) argument 1031 rfcomm_tty_flush_buffer(struct tty_struct *tty) argument 1044 rfcomm_tty_send_xchar(struct tty_struct *tty, u8 ch) argument 1049 rfcomm_tty_wait_until_sent(struct tty_struct *tty, int timeout) argument 1054 rfcomm_tty_hangup(struct tty_struct *tty) argument 1063 rfcomm_tty_tiocmget(struct tty_struct *tty) argument 1072 rfcomm_tty_tiocmset(struct tty_struct *tty, unsigned int set, unsigned int clear) argument [all...] |