/linux-master/drivers/usb/serial/ |
H A D | whiteheat.c | 18 #include <linux/tty.h> 79 static int whiteheat_open(struct tty_struct *tty, 82 static void whiteheat_get_serial(struct tty_struct *tty, 84 static void whiteheat_set_termios(struct tty_struct *tty, 87 static int whiteheat_tiocmget(struct tty_struct *tty); 88 static int whiteheat_tiocmset(struct tty_struct *tty, 90 static int whiteheat_break_ctl(struct tty_struct *tty, int break_state); 158 static void firm_setup_port(struct tty_struct *tty); 352 static int whiteheat_open(struct tty_struct *tty, struct usb_serial_port *port) argument 374 if (tty) 402 whiteheat_tiocmget(struct tty_struct *tty) argument 417 whiteheat_tiocmset(struct tty_struct *tty, unsigned int set, unsigned int clear) argument 439 whiteheat_get_serial(struct tty_struct *tty, struct serial_struct *ss) argument 445 whiteheat_set_termios(struct tty_struct *tty, struct usb_serial_port *port, const struct ktermios *old_termios) argument 452 whiteheat_break_ctl(struct tty_struct *tty, int break_state) argument 616 firm_setup_port(struct tty_struct *tty) argument [all...] |
H A D | generic.c | 14 #include <linux/tty.h> 106 int usb_serial_generic_open(struct tty_struct *tty, struct usb_serial_port *port) argument 205 * @tty: tty for the port 213 int usb_serial_generic_write(struct tty_struct *tty, argument 233 unsigned int usb_serial_generic_write_room(struct tty_struct *tty) argument 235 struct usb_serial_port *port = tty->driver_data; 250 unsigned int usb_serial_generic_chars_in_buffer(struct tty_struct *tty) argument 252 struct usb_serial_port *port = tty->driver_data; 268 void usb_serial_generic_wait_until_sent(struct tty_struct *tty, lon argument 474 usb_serial_generic_throttle(struct tty_struct *tty) argument 482 usb_serial_generic_unthrottle(struct tty_struct *tty) argument 498 usb_serial_generic_msr_changed(struct tty_struct *tty, unsigned long arg, struct async_icount *cprev) argument 527 usb_serial_generic_tiocmiwait(struct tty_struct *tty, unsigned long arg) argument 547 usb_serial_generic_get_icount(struct tty_struct *tty, struct serial_icounter_struct *icount) argument 610 usb_serial_handle_dcd_change(struct usb_serial_port *port, struct tty_struct *tty, unsigned int status) argument [all...] |
H A D | ti_usb_3410_5052.c | 20 #include <linux/tty.h> 307 static int ti_open(struct tty_struct *tty, struct usb_serial_port *port); 309 static int ti_write(struct tty_struct *tty, struct usb_serial_port *port, 311 static unsigned int ti_write_room(struct tty_struct *tty); 312 static unsigned int ti_chars_in_buffer(struct tty_struct *tty); 314 static void ti_throttle(struct tty_struct *tty); 315 static void ti_unthrottle(struct tty_struct *tty); 316 static void ti_set_termios(struct tty_struct *tty, 319 static int ti_tiocmget(struct tty_struct *tty); 320 static int ti_tiocmset(struct tty_struct *tty, 640 ti_open(struct tty_struct *tty, struct usb_serial_port *port) argument 797 ti_write(struct tty_struct *tty, struct usb_serial_port *port, const unsigned char *data, int count) argument 817 ti_write_room(struct tty_struct *tty) argument 833 ti_chars_in_buffer(struct tty_struct *tty) argument 870 ti_throttle(struct tty_struct *tty) argument 881 ti_unthrottle(struct tty_struct *tty) argument 895 ti_set_termios(struct tty_struct *tty, struct usb_serial_port *port, const struct ktermios *old_termios) argument 1016 ti_tiocmget(struct tty_struct *tty) argument 1044 ti_tiocmset(struct tty_struct *tty, unsigned int set, unsigned int clear) argument 1074 ti_break(struct tty_struct *tty, int break_state) argument 1391 ti_get_serial_info(struct tty_struct *tty, struct serial_struct *ss) argument 1403 struct tty_struct *tty; local 1435 ti_stop_read(struct ti_port *tport, struct tty_struct *tty) argument 1448 ti_restart_read(struct ti_port *tport, struct tty_struct *tty) argument [all...] |
H A D | belkin_sa.c | 25 #include <linux/tty.h> 41 static int belkin_sa_open(struct tty_struct *tty, 46 static void belkin_sa_set_termios(struct tty_struct *tty, 49 static int belkin_sa_break_ctl(struct tty_struct *tty, int break_state); 50 static int belkin_sa_tiocmget(struct tty_struct *tty); 51 static int belkin_sa_tiocmset(struct tty_struct *tty, 146 static int belkin_sa_open(struct tty_struct *tty, argument 157 retval = usb_serial_generic_open(tty, port); 276 static void belkin_sa_set_termios(struct tty_struct *tty, argument 291 struct ktermios *termios = &tty 402 belkin_sa_break_ctl(struct tty_struct *tty, int break_state) argument 417 belkin_sa_tiocmget(struct tty_struct *tty) argument 431 belkin_sa_tiocmset(struct tty_struct *tty, unsigned int set, unsigned int clear) argument [all...] |
H A D | ssu100.c | 11 #include <linux/tty.h> 216 static void ssu100_set_termios(struct tty_struct *tty, argument 221 struct ktermios *termios = &tty->termios; 236 baud = tty_get_baud_rate(tty); 263 if (I_IXOFF(tty) || I_IXON(tty)) { 264 u16 x = ((u16)(START_CHAR(tty) << 8) | (u16)(STOP_CHAR(tty))); 278 static int ssu100_open(struct tty_struct *tty, struct usb_serial_port *port) argument 314 if (tty) 348 ssu100_tiocmget(struct tty_struct *tty) argument 379 ssu100_tiocmset(struct tty_struct *tty, unsigned int set, unsigned int clear) argument [all...] |
H A D | usb-serial.c | 23 #include <linux/tty.h> 197 * Driver tty interface functions 201 * serial_install - install tty 203 * @tty: the tty being created 205 * Initialise the termios structure for this tty. We use the default 209 * This is the first place a new tty gets used. Hence this is where we 214 static int serial_install(struct tty_driver *driver, struct tty_struct *tty) argument 216 int idx = tty->index; 232 retval = tty_standard_install(driver, tty); 254 serial_port_activate(struct tty_port *tport, struct tty_struct *tty) argument 283 serial_open(struct tty_struct *tty, struct file *filp) argument 314 serial_hangup(struct tty_struct *tty) argument 323 serial_close(struct tty_struct *tty, struct file *filp) argument 341 serial_cleanup(struct tty_struct *tty) argument 364 serial_write(struct tty_struct *tty, const u8 *buf, size_t count) argument 381 serial_write_room(struct tty_struct *tty) argument 390 serial_chars_in_buffer(struct tty_struct *tty) argument 403 serial_wait_until_sent(struct tty_struct *tty, int timeout) argument 419 serial_throttle(struct tty_struct *tty) argument 429 serial_unthrottle(struct tty_struct *tty) argument 439 serial_get_serial(struct tty_struct *tty, struct serial_struct *ss) argument 464 serial_set_serial(struct tty_struct *tty, struct serial_struct *ss) argument 500 serial_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) argument 521 serial_set_termios(struct tty_struct *tty, const struct ktermios *old) argument 534 serial_break(struct tty_struct *tty, int break_state) argument 581 serial_tiocmget(struct tty_struct *tty) argument 592 serial_tiocmset(struct tty_struct *tty, unsigned int set, unsigned int clear) argument 604 serial_get_icount(struct tty_struct *tty, struct serial_icounter_struct *icount) argument 1181 struct tty_struct *tty; local [all...] |
H A D | pl2303.c | 17 #include <linux/tty.h> 687 static void pl2303_encode_baud_rate(struct tty_struct *tty, argument 696 baud = tty_get_baud_rate(tty); 720 tty_encode_baud_rate(tty, baud, baud); 777 static bool pl2303_enable_xonxoff(struct tty_struct *tty, const struct pl2303_type_data *type) argument 779 if (!I_IXON(tty) || I_IXANY(tty)) 782 if (START_CHAR(tty) != 0x11 || STOP_CHAR(tty) != 0x13) 791 static void pl2303_set_termios(struct tty_struct *tty, argument 958 pl2303_open(struct tty_struct *tty, struct usb_serial_port *port) argument 999 pl2303_tiocmset(struct tty_struct *tty, unsigned int set, unsigned int clear) argument 1027 pl2303_tiocmget(struct tty_struct *tty) argument 1088 pl2303_break_ctl(struct tty_struct *tty, int state) argument 1102 struct tty_struct *tty; local [all...] |
H A D | symbolserial.c | 11 #include <linux/tty.h> 91 static int symbol_open(struct tty_struct *tty, struct usb_serial_port *port) argument 116 static void symbol_throttle(struct tty_struct *tty) argument 118 struct usb_serial_port *port = tty->driver_data; 126 static void symbol_unthrottle(struct tty_struct *tty) argument 128 struct usb_serial_port *port = tty->driver_data;
|
H A D | navman.c | 14 #include <linux/tty.h> 66 static int navman_open(struct tty_struct *tty, struct usb_serial_port *port) argument 87 static int navman_write(struct tty_struct *tty, struct usb_serial_port *port, argument
|
H A D | opticon.c | 12 #include <linux/tty.h> 87 * This is real data to be sent to the tty layer 128 static int opticon_open(struct tty_struct *tty, struct usb_serial_port *port) argument 144 res = usb_serial_generic_open(tty, port); 190 static int opticon_write(struct tty_struct *tty, struct usb_serial_port *port, argument 268 static unsigned int opticon_write_room(struct tty_struct *tty) argument 270 struct usb_serial_port *port = tty->driver_data; 276 * but let's pick a nice big number to tell the tty 290 static unsigned int opticon_chars_in_buffer(struct tty_struct *tty) argument 292 struct usb_serial_port *port = tty 304 opticon_tiocmget(struct tty_struct *tty) argument 322 opticon_tiocmset(struct tty_struct *tty, unsigned int set, unsigned int clear) argument [all...] |
/linux-master/drivers/tty/hvc/ |
H A D | hvcs.c | 10 * "hvcs". The IBM hvcs provides a tty driver interface to allow Linux 31 * partition; attempts to open the tty device to the partition's console using 68 #include <linux/tty.h> 97 * align with how the tty layer always assigns the lowest index available. This 126 * hypervisor before allowing the tty to complete a close operation. 132 * addition of tty derived devices and we shouldn't allocate thousands of 209 * index element with the numerically equal tty->index. This means that a 256 * specific tty index. 278 * Any variable below is valid before a tty is connected and 279 * stays valid after the tty i 485 hvcs_unthrottle(struct tty_struct *tty) argument 496 hvcs_throttle(struct tty_struct *tty) argument 528 struct tty_struct *tty = hvcsd->port.tty; local 558 struct tty_struct *tty; local 802 struct tty_struct *tty; local 1058 hvcs_install(struct tty_driver *driver, struct tty_struct *tty) argument 1135 hvcs_open(struct tty_struct *tty, struct file *filp) argument 1153 hvcs_close(struct tty_struct *tty, struct file *filp) argument 1206 hvcs_cleanup(struct tty_struct * tty) argument 1220 hvcs_hangup(struct tty_struct * tty) argument 1258 hvcs_write(struct tty_struct *tty, const u8 *buf, size_t count) argument 1363 hvcs_write_room(struct tty_struct *tty) argument 1373 hvcs_chars_in_buffer(struct tty_struct *tty) argument [all...] |
H A D | hvsi.c | 32 #include <linux/tty.h> 226 struct tty_struct *tty, struct hvsi_struct **to_handshake) 236 if (tty && !C_CLOCAL(tty)) 237 tty_hangup(tty); 342 * We could get 252 bytes of data at once here. But the tty layer only 345 * buffer, which will give the tty buffer a chance to throttle us. Should the 384 * Used both to get packets for tty connections and to advance the state 385 * machine during console handshaking (in which case tty = NULL and we ignore 388 static int hvsi_load_chunk(struct hvsi_struct *hp, struct tty_struct *tty, argument 225 hvsi_recv_control(struct hvsi_struct *hp, uint8_t *packet, struct tty_struct *tty, struct hvsi_struct **to_handshake) argument 479 struct tty_struct *tty; local 699 hvsi_open(struct tty_struct *tty, struct file *filp) argument 762 hvsi_close(struct tty_struct *tty, struct file *filp) argument 814 hvsi_hangup(struct tty_struct *tty) argument 893 hvsi_write_room(struct tty_struct *tty) argument 900 hvsi_chars_in_buffer(struct tty_struct *tty) argument 907 hvsi_write(struct tty_struct *tty, const u8 *source, size_t count) argument 965 hvsi_throttle(struct tty_struct *tty) argument 974 hvsi_unthrottle(struct tty_struct *tty) argument 992 hvsi_tiocmget(struct tty_struct *tty) argument 1000 hvsi_tiocmset(struct tty_struct *tty, unsigned int set, unsigned int clear) argument [all...] |
/linux-master/drivers/s390/char/ |
H A D | con3215.c | 15 #include <linux/tty.h> 79 struct ccw_device *cdev; /* device for tty driver */ 332 * Try to start the next IO and wake up processes waiting on the tty. 334 static void raw3215_next_io(struct raw3215_info *raw, struct tty_struct *tty) argument 338 if (tty && RAW3215_BUFFER_SIZE - raw->count >= RAW3215_MIN_SPACE) 339 tty_wakeup(tty); 350 struct tty_struct *tty; local 356 tty = tty_port_tty_get(&raw->port); 360 raw3215_next_io(raw, tty); 370 raw3215_next_io(raw, tty); 957 tty3215_install(struct tty_driver *driver, struct tty_struct *tty) argument 975 tty3215_open(struct tty_struct *tty, struct file * filp) argument 993 tty3215_close(struct tty_struct *tty, struct file * filp) argument 1009 tty3215_write_room(struct tty_struct *tty) argument 1023 tty3215_write(struct tty_struct *tty, const u8 *buf, size_t count) argument 1033 tty3215_put_char(struct tty_struct *tty, u8 ch) argument 1042 tty3215_flush_chars(struct tty_struct *tty) argument 1049 tty3215_chars_in_buffer(struct tty_struct *tty) argument 1056 tty3215_flush_buffer(struct tty_struct *tty) argument 1067 tty3215_throttle(struct tty_struct *tty) argument 1077 tty3215_unthrottle(struct tty_struct *tty) argument 1093 tty3215_stop(struct tty_struct *tty) argument 1103 tty3215_start(struct tty_struct *tty) argument [all...] |
/linux-master/drivers/nfc/nfcmrvl/ |
H A D | uart.c | 96 struct device *dev = nu->tty->dev; 149 if (priv->config.break_control && nu->tty->ops->break_ctl) { 150 nu->tty->ops->break_ctl(nu->tty, 0); 167 if (priv->config.break_control && nu->tty->ops->break_ctl) { 168 nu->tty->ops->break_ctl(nu->tty, -1);
|
/linux-master/arch/xtensa/platforms/iss/ |
H A D | console.c | 28 #include <linux/tty.h> 40 static int rs_open(struct tty_struct *tty, struct file * filp) argument 42 if (tty->count == 1) 48 static void rs_close(struct tty_struct *tty, struct file * filp) argument 50 if (tty->count == 1) 55 static ssize_t rs_write(struct tty_struct * tty, const u8 *buf, size_t count) argument 84 static unsigned int rs_write_room(struct tty_struct *tty) argument 158 * other tty drivers that depend on tty_init and which must use
|
/linux-master/drivers/isdn/capi/ |
H A D | capi.c | 27 #include <linux/tty.h> 309 struct tty_struct *tty; local 312 tty = tty_port_tty_get(&mp->port); 313 if (tty) { 314 tty_vhangup(tty); 315 tty_kref_put(tty); 326 struct tty_struct *tty; local 329 tty = tty_port_tty_get(&mp->port); 330 if (tty) { 331 count = tty 410 struct tty_struct *tty; local 494 struct tty_struct *tty; local 1043 capinc_tty_install(struct tty_driver *driver, struct tty_struct *tty) argument 1055 capinc_tty_cleanup(struct tty_struct *tty) argument 1062 capinc_tty_open(struct tty_struct *tty, struct file *filp) argument 1075 capinc_tty_close(struct tty_struct *tty, struct file *filp) argument 1082 capinc_tty_write(struct tty_struct *tty, const u8 *buf, size_t count) argument 1117 capinc_tty_put_char(struct tty_struct *tty, u8 ch) argument 1158 capinc_tty_flush_chars(struct tty_struct *tty) argument 1178 capinc_tty_write_room(struct tty_struct *tty) argument 1189 capinc_tty_chars_in_buffer(struct tty_struct *tty) argument 1200 capinc_tty_throttle(struct tty_struct *tty) argument 1206 capinc_tty_unthrottle(struct tty_struct *tty) argument 1214 capinc_tty_stop(struct tty_struct *tty) argument 1221 capinc_tty_start(struct tty_struct *tty) argument 1229 capinc_tty_hangup(struct tty_struct *tty) argument 1236 capinc_tty_send_xchar(struct tty_struct *tty, u8 ch) argument [all...] |
/linux-master/drivers/net/mctp/ |
H A D | mctp-serial.c | 11 * tty device, by setting the N_MCTP line discipline on the tty. 20 #include <linux/tty.h> 55 struct tty_struct *tty; member in struct:mctp_serial 104 return dev->tty->ops->write(dev->tty, buf, len); 222 clear_bit(TTY_DO_WRITE_WAKEUP, &dev->tty->flags); 252 set_bit(TTY_DO_WRITE_WAKEUP, &dev->tty->flags); 260 static void mctp_serial_tty_write_wakeup(struct tty_struct *tty) argument 262 struct mctp_serial *dev = tty 393 mctp_serial_tty_receive_buf(struct tty_struct *tty, const u8 *c, const u8 *f, size_t len) argument 438 mctp_serial_open(struct tty_struct *tty) argument 489 mctp_serial_close(struct tty_struct *tty) argument [all...] |
/linux-master/drivers/net/ppp/ |
H A D | ppp_async.c | 20 #include <linux/tty.h> 42 struct tty_struct *tty; member in struct:asyncppp 120 * We have a potential race on dereferencing tty->disc_data, 121 * because the tty layer provides no locking at all - thus one 123 * calls ppp_asynctty_close, which zeroes tty->disc_data and 125 * way to fix this is to use a rwlock in the tty struct, but for now 133 static struct asyncppp *ap_get(struct tty_struct *tty) argument 138 ap = tty->disc_data; 152 * Called when a tty is put into PPP line discipline. Called in process 156 ppp_asynctty_open(struct tty_struct *tty) argument 216 ppp_asynctty_close(struct tty_struct *tty) argument 251 ppp_asynctty_hangup(struct tty_struct *tty) argument 261 ppp_asynctty_read(struct tty_struct *tty, struct file *file, u8 *buf, size_t count, void **cookie, unsigned long offset) argument 272 ppp_asynctty_write(struct tty_struct *tty, struct file *file, const u8 *buf, size_t count) argument 284 ppp_asynctty_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) argument 333 ppp_asynctty_receive(struct tty_struct *tty, const u8 *buf, const u8 *cflags, size_t count) argument 351 ppp_asynctty_wakeup(struct tty_struct *tty) argument 645 struct tty_struct *tty = ap->tty; local [all...] |
/linux-master/drivers/usb/gadget/function/ |
H A D | u_serial.c | 21 #include <linux/tty.h> 62 * gs_port is the I/O nexus, used by the tty driver 63 * tty_struct links to the tty/filesystem framework 294 if (do_tty_wake && port->port.tty) 295 tty_wakeup(port->port.tty); 314 struct tty_struct *tty; local 317 tty = port->port.tty; 318 if (!tty) 364 struct tty_struct *tty; local 596 gs_open(struct tty_struct *tty, struct file *file) argument 678 gs_close(struct tty_struct *tty, struct file *file) argument 737 gs_write(struct tty_struct *tty, const u8 *buf, size_t count) argument 756 gs_put_char(struct tty_struct *tty, u8 ch) argument 772 gs_flush_chars(struct tty_struct *tty) argument 785 gs_write_room(struct tty_struct *tty) argument 802 gs_chars_in_buffer(struct tty_struct *tty) argument 819 gs_unthrottle(struct tty_struct *tty) argument 836 gs_break_ctl(struct tty_struct *tty, int duration) argument [all...] |
/linux-master/drivers/ipack/devices/ |
H A D | ipoctal.c | 14 #include <linux/tty.h> 70 static int ipoctal_port_activate(struct tty_port *port, struct tty_struct *tty) argument 74 channel = dev_get_drvdata(tty->dev); 85 static int ipoctal_install(struct tty_driver *driver, struct tty_struct *tty) argument 87 struct ipoctal_channel *channel = dev_get_drvdata(tty->dev); 88 struct ipoctal *ipoctal = chan_to_ipoctal(channel, tty->index); 94 res = tty_standard_install(driver, tty); 98 tty->driver_data = channel; 108 static int ipoctal_open(struct tty_struct *tty, struct file *file) argument 110 struct ipoctal_channel *channel = tty 133 ipoctal_close(struct tty_struct *tty, struct file *filp) argument 141 ipoctal_get_icount(struct tty_struct *tty, struct serial_icounter_struct *icount) argument 459 ipoctal_write_tty(struct tty_struct *tty, const u8 *buf, size_t count) argument 482 ipoctal_write_room(struct tty_struct *tty) argument 489 ipoctal_chars_in_buffer(struct tty_struct *tty) argument 496 ipoctal_set_termios(struct tty_struct *tty, const struct ktermios *old_termios) argument 630 ipoctal_hangup(struct tty_struct *tty) argument 651 ipoctal_shutdown(struct tty_struct *tty) argument 662 ipoctal_cleanup(struct tty_struct *tty) argument [all...] |
/linux-master/drivers/tty/serial/ |
H A D | serial_core.c | 11 #include <linux/tty.h> 124 static void uart_stop(struct tty_struct *tty) argument 126 struct uart_state *state = tty->driver_data; 165 static void uart_start(struct tty_struct *tty) argument 167 struct uart_state *state = tty->driver_data; 202 static void uart_change_line_settings(struct tty_struct *tty, struct uart_state *state, argument 210 * If we have no tty, termios, or the port does not exist, 213 if (!tty || uport->type == PORT_UNKNOWN) 216 termios = &tty->termios; 250 static int uart_port_startup(struct tty_struct *tty, struc argument 322 uart_startup(struct tty_struct *tty, struct uart_state *state, bool init_hw) argument 355 uart_shutdown(struct tty_struct *tty, struct uart_state *state) argument 564 uart_put_char(struct tty_struct *tty, u8 c) argument 588 uart_flush_chars(struct tty_struct *tty) argument 593 uart_write(struct tty_struct *tty, const u8 *buf, size_t count) argument 633 uart_write_room(struct tty_struct *tty) argument 646 uart_chars_in_buffer(struct tty_struct *tty) argument 659 uart_flush_buffer(struct tty_struct *tty) argument 702 uart_send_xchar(struct tty_struct *tty, u8 ch) argument 724 uart_throttle(struct tty_struct *tty) argument 753 uart_unthrottle(struct tty_struct *tty) argument 825 uart_get_info_user(struct tty_struct *tty, struct serial_struct *ss) argument 834 uart_set_info(struct tty_struct *tty, struct tty_port *port, struct uart_state *state, struct serial_struct *new_info) argument 1038 uart_set_info_user(struct tty_struct *tty, struct serial_struct *ss) argument 1065 uart_get_lsr_info(struct tty_struct *tty, struct uart_state *state, unsigned int __user *value) argument 1087 uart_tiocmget(struct tty_struct *tty) argument 1111 uart_tiocmset(struct tty_struct *tty, unsigned int set, unsigned int clear) argument 1132 uart_break_ctl(struct tty_struct *tty, int break_state) argument 1152 uart_do_autoconfig(struct tty_struct *tty, struct uart_state *state) argument 1283 uart_get_icount(struct tty_struct *tty, struct serial_icounter_struct *icount) argument 1483 uart_set_rs485_config(struct tty_struct *tty, struct uart_port *port, struct serial_rs485 __user *rs485_user) argument 1584 uart_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) argument 1674 uart_set_ldisc(struct tty_struct *tty) argument 1690 uart_set_termios(struct tty_struct *tty, const struct ktermios *old_termios) argument 1753 uart_close(struct tty_struct *tty, struct file *filp) argument 1815 uart_wait_until_sent(struct tty_struct *tty, int timeout) argument 1883 uart_hangup(struct tty_struct *tty) argument 1972 uart_install(struct tty_driver *driver, struct tty_struct *tty) argument 1992 uart_open(struct tty_struct *tty, struct file *filp) argument 2004 uart_port_activate(struct tty_port *port, struct tty_struct *tty) argument 2528 struct tty_struct *tty = port->tty; local 3251 struct tty_struct *tty; local 3484 struct tty_struct *tty = port->tty; local [all...] |
/linux-master/drivers/tty/ |
H A D | nozomi.c | 35 #include <linux/tty.h> 335 spinlock_t spin_mutex; /* secures access to registers and tty */ 358 static inline struct nozomi *get_dc_by_tty(const struct tty_struct *tty) argument 360 return tty ? ndevs[tty->index / MAX_PORT] : NULL; 363 static inline struct port *get_port_by_tty(const struct tty_struct *tty) argument 365 struct nozomi *ndev = get_dc_by_tty(tty); 366 return ndev ? &ndev->port[tty->index % MAX_PORT] : NULL; 732 /* Get data from tty and place in buf for now */ 758 struct tty_struct *tty local 1485 set_rts(const struct tty_struct *tty, int rts) argument 1494 set_dtr(const struct tty_struct *tty, int dtr) argument 1511 ntty_install(struct tty_driver *driver, struct tty_struct *tty) argument 1524 ntty_cleanup(struct tty_struct *tty) argument 1529 ntty_activate(struct tty_port *tport, struct tty_struct *tty) argument 1545 ntty_open(struct tty_struct *tty, struct file *filp) argument 1566 ntty_close(struct tty_struct *tty, struct file *filp) argument 1573 ntty_hangup(struct tty_struct *tty) argument 1583 ntty_write(struct tty_struct *tty, const u8 *buffer, size_t count) argument 1623 ntty_write_room(struct tty_struct *tty) argument 1636 ntty_tiocmget(struct tty_struct *tty) argument 1653 ntty_tiocmset(struct tty_struct *tty, unsigned int set, unsigned int clear) argument 1690 ntty_tiocgicount(struct tty_struct *tty, struct serial_icounter_struct *icount) argument 1710 ntty_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg) argument 1736 ntty_unthrottle(struct tty_struct *tty) argument 1752 ntty_throttle(struct tty_struct *tty) argument 1763 ntty_chars_in_buffer(struct tty_struct *tty) argument [all...] |
/linux-master/arch/mips/rb532/ |
H A D | serial.c | 29 #include <linux/tty.h>
|
/linux-master/drivers/tty/ipwireless/ |
H A D | network.h | 43 unsigned int channel_idx, struct ipw_tty *tty);
|
/linux-master/arch/mips/fw/arc/ |
H A D | arc_con.c | 10 #include <linux/tty.h>
|