Searched refs:tty (Results 251 - 275 of 1061) sorted by relevance

<<11121314151617181920>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/usb/serial/
H A Dspcp8x5.c23 #include <linux/tty.h>
325 static void spcp8x5_init_termios(struct tty_struct *tty) argument
328 *(tty->termios) = tty_std_termios;
329 tty->termios->c_cflag = B115200 | CS8 | CREAD | HUPCL | CLOCAL;
330 tty->termios->c_ispeed = 115200;
331 tty->termios->c_ospeed = 115200;
336 static void spcp8x5_set_termios(struct tty_struct *tty, argument
342 unsigned int cflag = tty->termios->c_cflag;
352 if (!tty_termios_hw_change(tty->termios, old_termios))
372 baud = tty_get_baud_rate(tty);
449 spcp8x5_open(struct tty_struct *tty, struct usb_serial_port *port) argument
492 struct tty_struct *tty; local
580 spcp8x5_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
599 spcp8x5_tiocmset(struct tty_struct *tty, struct file *file, unsigned int set, unsigned int clear) argument
622 spcp8x5_tiocmget(struct tty_struct *tty, struct file *file) argument
[all...]
H A Dark3116.c28 #include <linux/tty.h>
216 static void ark3116_init_termios(struct tty_struct *tty) argument
218 struct ktermios *termios = tty->termios;
226 static void ark3116_set_termios(struct tty_struct *tty, argument
232 struct ktermios *termios = tty->termios;
234 int bps = tty_get_baud_rate(tty);
336 if (I_IXOFF(tty) || I_IXON(tty)) {
365 static int ark3116_open(struct tty_struct *tty, struct usb_serial_port *port) argument
376 result = usb_serial_generic_open(tty, por
414 ark3116_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
486 ark3116_tiocmget(struct tty_struct *tty, struct file *file) argument
512 ark3116_tiocmset(struct tty_struct *tty, struct file *file, unsigned set, unsigned clr) argument
548 ark3116_break_ctl(struct tty_struct *tty, int break_state) argument
678 struct tty_struct *tty; local
[all...]
H A Doti6858.c7 #include <linux/tty.h>
96 static int oti6858_open(struct tty_struct *tty, struct usb_serial_port *port);
98 static void oti6858_set_termios(struct tty_struct *tty,
100 static void oti6858_init_termios(struct tty_struct *tty);
101 static int oti6858_ioctl(struct tty_struct *tty, struct file *file,
106 static int oti6858_write(struct tty_struct *tty, struct usb_serial_port *port,
108 static int oti6858_write_room(struct tty_struct *tty);
109 static int oti6858_chars_in_buffer(struct tty_struct *tty);
110 static int oti6858_tiocmget(struct tty_struct *tty, struct file *file);
111 static int oti6858_tiocmset(struct tty_struct *tty, struc
343 oti6858_write(struct tty_struct *tty, struct usb_serial_port *port, const unsigned char *buf, int count) argument
356 oti6858_write_room(struct tty_struct *tty) argument
371 oti6858_chars_in_buffer(struct tty_struct *tty) argument
386 oti6858_init_termios(struct tty_struct *tty) argument
394 oti6858_set_termios(struct tty_struct *tty, struct usb_serial_port *port, struct ktermios *old_termios) argument
488 oti6858_open(struct tty_struct *tty, struct usb_serial_port *port) argument
576 oti6858_tiocmset(struct tty_struct *tty, struct file *file, unsigned int set, unsigned int clear) argument
608 oti6858_tiocmget(struct tty_struct *tty, struct file *file) argument
677 oti6858_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
829 struct tty_struct *tty; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/usb/serial/
H A Dkeyspan_pda.c75 #include <linux/tty.h>
176 struct tty_struct *tty = tty_port_tty_get(&port->port); local
177 tty_wakeup(tty);
178 tty_kref_put(tty);
210 struct tty_struct *tty = tty_port_tty_get(&port->port); local
239 tty_insert_flip_string(tty, data + 1,
241 tty_flip_buffer_push(tty);
270 tty_kref_put(tty);
274 static void keyspan_pda_rx_throttle(struct tty_struct *tty) argument
282 struct usb_serial_port *port = tty
288 keyspan_pda_rx_unthrottle(struct tty_struct *tty) argument
359 keyspan_pda_break_ctl(struct tty_struct *tty, int break_state) argument
384 keyspan_pda_set_termios(struct tty_struct *tty, struct usb_serial_port *port, struct ktermios *old_termios) argument
462 keyspan_pda_tiocmget(struct tty_struct *tty, struct file *file) argument
483 keyspan_pda_tiocmset(struct tty_struct *tty, struct file *file, unsigned int set, unsigned int clear) argument
508 keyspan_pda_write(struct tty_struct *tty, struct usb_serial_port *port, const unsigned char *buf, int count) argument
640 keyspan_pda_write_room(struct tty_struct *tty) argument
652 keyspan_pda_chars_in_buffer(struct tty_struct *tty) argument
685 keyspan_pda_open(struct tty_struct *tty, struct usb_serial_port *port) argument
[all...]
H A Dkl5kusb105.c42 #include <linux/tty.h>
67 static int klsi_105_open(struct tty_struct *tty, struct usb_serial_port *port);
69 static void klsi_105_set_termios(struct tty_struct *tty,
71 static int klsi_105_tiocmget(struct tty_struct *tty, struct file *file);
72 static int klsi_105_tiocmset(struct tty_struct *tty, struct file *file,
230 * Driver's tty interface functions
286 static int klsi_105_open(struct tty_struct *tty, struct usb_serial_port *port) argument
313 priv->termios.c_iflag = tty->termios->c_iflag;
314 priv->termios.c_oflag = tty->termios->c_oflag;
315 priv->termios.c_cflag = tty
417 struct tty_struct *tty; local
444 klsi_105_set_termios(struct tty_struct *tty, struct usb_serial_port *port, struct ktermios *old_termios) argument
578 klsi_105_tiocmget(struct tty_struct *tty, struct file *file) argument
602 klsi_105_tiocmset(struct tty_struct *tty, struct file *file, unsigned int set, unsigned int clear) argument
[all...]
H A Dspcp8x5.c23 #include <linux/tty.h>
325 static void spcp8x5_init_termios(struct tty_struct *tty) argument
328 *(tty->termios) = tty_std_termios;
329 tty->termios->c_cflag = B115200 | CS8 | CREAD | HUPCL | CLOCAL;
330 tty->termios->c_ispeed = 115200;
331 tty->termios->c_ospeed = 115200;
336 static void spcp8x5_set_termios(struct tty_struct *tty, argument
342 unsigned int cflag = tty->termios->c_cflag;
352 if (!tty_termios_hw_change(tty->termios, old_termios))
372 baud = tty_get_baud_rate(tty);
449 spcp8x5_open(struct tty_struct *tty, struct usb_serial_port *port) argument
492 struct tty_struct *tty; local
580 spcp8x5_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
599 spcp8x5_tiocmset(struct tty_struct *tty, struct file *file, unsigned int set, unsigned int clear) argument
622 spcp8x5_tiocmget(struct tty_struct *tty, struct file *file) argument
[all...]
H A Dark3116.c28 #include <linux/tty.h>
216 static void ark3116_init_termios(struct tty_struct *tty) argument
218 struct ktermios *termios = tty->termios;
226 static void ark3116_set_termios(struct tty_struct *tty, argument
232 struct ktermios *termios = tty->termios;
234 int bps = tty_get_baud_rate(tty);
336 if (I_IXOFF(tty) || I_IXON(tty)) {
365 static int ark3116_open(struct tty_struct *tty, struct usb_serial_port *port) argument
376 result = usb_serial_generic_open(tty, por
414 ark3116_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
486 ark3116_tiocmget(struct tty_struct *tty, struct file *file) argument
512 ark3116_tiocmset(struct tty_struct *tty, struct file *file, unsigned set, unsigned clr) argument
548 ark3116_break_ctl(struct tty_struct *tty, int break_state) argument
678 struct tty_struct *tty; local
[all...]
H A Doti6858.c7 #include <linux/tty.h>
96 static int oti6858_open(struct tty_struct *tty, struct usb_serial_port *port);
98 static void oti6858_set_termios(struct tty_struct *tty,
100 static void oti6858_init_termios(struct tty_struct *tty);
101 static int oti6858_ioctl(struct tty_struct *tty, struct file *file,
106 static int oti6858_write(struct tty_struct *tty, struct usb_serial_port *port,
108 static int oti6858_write_room(struct tty_struct *tty);
109 static int oti6858_chars_in_buffer(struct tty_struct *tty);
110 static int oti6858_tiocmget(struct tty_struct *tty, struct file *file);
111 static int oti6858_tiocmset(struct tty_struct *tty, struc
343 oti6858_write(struct tty_struct *tty, struct usb_serial_port *port, const unsigned char *buf, int count) argument
356 oti6858_write_room(struct tty_struct *tty) argument
371 oti6858_chars_in_buffer(struct tty_struct *tty) argument
386 oti6858_init_termios(struct tty_struct *tty) argument
394 oti6858_set_termios(struct tty_struct *tty, struct usb_serial_port *port, struct ktermios *old_termios) argument
488 oti6858_open(struct tty_struct *tty, struct usb_serial_port *port) argument
576 oti6858_tiocmset(struct tty_struct *tty, struct file *file, unsigned int set, unsigned int clear) argument
608 oti6858_tiocmget(struct tty_struct *tty, struct file *file) argument
677 oti6858_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
829 struct tty_struct *tty; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/char/
H A Depca.c37 #include <linux/tty.h>
162 static void shutdown(struct channel *, struct tty_struct *tty);
177 static void receive_data(struct channel *, struct tty_struct *tty);
186 static void pc_throttle(struct tty_struct *tty);
187 static void pc_unthrottle(struct tty_struct *tty);
188 static int pc_send_break(struct tty_struct *tty, int msec);
189 static void setup_empty_event(struct tty_struct *tty, struct channel *ch);
387 static struct channel *verifyChannel(struct tty_struct *tty) argument
393 * through tty->driver_data this should catch it.
395 if (tty) {
420 pc_close(struct tty_struct *tty, struct file *filp) argument
444 shutdown(struct channel *ch, struct tty_struct *tty) argument
482 pc_hangup(struct tty_struct *tty) argument
501 pc_write(struct tty_struct *tty, const unsigned char *buf, int bytesAvailable) argument
600 pc_write_room(struct tty_struct *tty) argument
639 pc_chars_in_buffer(struct tty_struct *tty) argument
694 pc_flush_buffer(struct tty_struct *tty) argument
719 pc_flush_chars(struct tty_struct *tty) argument
753 pc_open(struct tty_struct *tty, struct file *filp) argument
898 struct tty_struct *tty = tty_port_tty_get(&ch->port); local
932 info_open(struct tty_struct *tty, struct file *filp) argument
1466 static struct tty_struct *tty; local
1727 epcaparam(struct tty_struct *tty, struct channel *ch) argument
1843 receive_data(struct channel *ch, struct tty_struct *tty) argument
1921 info_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
1984 pc_tiocmget(struct tty_struct *tty, struct file *file) argument
2017 pc_tiocmset(struct tty_struct *tty, struct file *file, unsigned int set, unsigned int clear) argument
2059 pc_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
2206 pc_set_termios(struct tty_struct *tty, struct ktermios *old_termios) argument
2239 struct tty_struct *tty = tty_port_tty_get(&ch->port); local
2257 pc_stop(struct tty_struct *tty) argument
2280 pc_start(struct tty_struct *tty) argument
2316 pc_throttle(struct tty_struct *tty) argument
2337 pc_unthrottle(struct tty_struct *tty) argument
2360 pc_send_break(struct tty_struct *tty, int msec) argument
2388 setup_empty_event(struct tty_struct *tty, struct channel *ch) argument
[all...]
H A Dn_r3964.c30 * Updated to newly registered tty-ldisc number 9
62 #include <linux/tty.h>
64 #include <linux/string.h> /* used in new tty drivers */
65 #include <linux/signal.h> /* used in new tty drivers */
133 static int r3964_open(struct tty_struct *tty);
134 static void r3964_close(struct tty_struct *tty);
135 static ssize_t r3964_read(struct tty_struct *tty, struct file *file,
137 static ssize_t r3964_write(struct tty_struct *tty, struct file *file,
139 static int r3964_ioctl(struct tty_struct *tty, struct file *file,
141 static void r3964_set_termios(struct tty_struct *tty, struc
375 struct tty_struct *tty = pInfo->tty; local
382 struct tty_struct *tty = pInfo->tty; local
440 struct tty_struct *tty = pInfo->tty; local
943 r3964_open(struct tty_struct *tty) argument
1004 r3964_close(struct tty_struct *tty) argument
1058 r3964_read(struct tty_struct *tty, struct file *file, unsigned char __user * buf, size_t nr) argument
1115 r3964_write(struct tty_struct *tty, struct file *file, const unsigned char *data, size_t count) argument
1184 r3964_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
1212 r3964_set_termios(struct tty_struct *tty, struct ktermios *old) argument
1218 r3964_poll(struct tty_struct *tty, struct file *file, struct poll_table_struct *wait) argument
1243 r3964_receive_buf(struct tty_struct *tty, const unsigned char *cp, char *fp, int count) argument
[all...]
H A Dstallion.c33 #include <linux/tty.h>
105 * all the local structures required by a serial tty driver.
324 static spinlock_t stallion_lock; /* Guard the tty driver */
412 static int stl_getportstats(struct tty_struct *tty, struct stlport *portp, comstats_t __user *cp);
464 static void stl_sc26198txunflow(struct stlport *portp, struct tty_struct *tty);
618 struct tty_struct *tty = tty_port_tty_get(&portp->port); local
620 if (!tty)
630 tty_hangup(tty);
631 tty_kref_put(tty);
705 static int stl_activate(struct tty_port *port, struct tty_struct *tty) argument
723 stl_open(struct tty_struct *tty, struct file *filp) argument
779 stl_flushbuffer(struct tty_struct *tty) argument
795 stl_waituntilsent(struct tty_struct *tty, int timeout) argument
836 stl_close(struct tty_struct *tty, struct file *filp) argument
854 stl_write(struct tty_struct *tty, const unsigned char *buf, int count) argument
911 stl_putchar(struct tty_struct *tty, unsigned char ch) argument
948 stl_flushchars(struct tty_struct *tty) argument
965 stl_writeroom(struct tty_struct *tty) argument
994 stl_charsinbuffer(struct tty_struct *tty) argument
1064 stl_setserial(struct tty_struct *tty, struct serial_struct __user *sp) argument
1097 stl_tiocmget(struct tty_struct *tty, struct file *file) argument
1110 stl_tiocmset(struct tty_struct *tty, struct file *file, unsigned int set, unsigned int clear) argument
1135 stl_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
1188 stl_start(struct tty_struct *tty) argument
1202 stl_settermios(struct tty_struct *tty, struct ktermios *old) argument
1236 stl_throttle(struct tty_struct *tty) argument
1254 stl_unthrottle(struct tty_struct *tty) argument
1273 stl_stop(struct tty_struct *tty) argument
1293 stl_hangup(struct tty_struct *tty) argument
1305 stl_breakctl(struct tty_struct *tty, int state) argument
1321 stl_sendxchar(struct tty_struct *tty, char ch) argument
1647 struct tty_struct *tty; local
2317 stl_getportstats(struct tty_struct *tty, struct stlport *portp, comstats_t __user *cp) argument
3059 struct tty_struct *tty; local
3122 struct tty_struct *tty; local
3303 struct tty_struct *tty; local
3385 struct tty_struct *tty; local
3991 struct tty_struct *tty; local
4061 struct tty_struct *tty; local
4176 stl_sc26198txunflow(struct stlport *portp, struct tty_struct *tty) argument
4230 struct tty_struct *tty; local
4297 struct tty_struct *tty; local
4352 struct tty_struct *tty; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/char/
H A Depca.c37 #include <linux/tty.h>
162 static void shutdown(struct channel *, struct tty_struct *tty);
177 static void receive_data(struct channel *, struct tty_struct *tty);
186 static void pc_throttle(struct tty_struct *tty);
187 static void pc_unthrottle(struct tty_struct *tty);
188 static int pc_send_break(struct tty_struct *tty, int msec);
189 static void setup_empty_event(struct tty_struct *tty, struct channel *ch);
387 static struct channel *verifyChannel(struct tty_struct *tty) argument
393 * through tty->driver_data this should catch it.
395 if (tty) {
420 pc_close(struct tty_struct *tty, struct file *filp) argument
444 shutdown(struct channel *ch, struct tty_struct *tty) argument
482 pc_hangup(struct tty_struct *tty) argument
501 pc_write(struct tty_struct *tty, const unsigned char *buf, int bytesAvailable) argument
600 pc_write_room(struct tty_struct *tty) argument
639 pc_chars_in_buffer(struct tty_struct *tty) argument
694 pc_flush_buffer(struct tty_struct *tty) argument
719 pc_flush_chars(struct tty_struct *tty) argument
753 pc_open(struct tty_struct *tty, struct file *filp) argument
898 struct tty_struct *tty = tty_port_tty_get(&ch->port); local
932 info_open(struct tty_struct *tty, struct file *filp) argument
1466 static struct tty_struct *tty; local
1727 epcaparam(struct tty_struct *tty, struct channel *ch) argument
1843 receive_data(struct channel *ch, struct tty_struct *tty) argument
1921 info_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
1984 pc_tiocmget(struct tty_struct *tty, struct file *file) argument
2017 pc_tiocmset(struct tty_struct *tty, struct file *file, unsigned int set, unsigned int clear) argument
2059 pc_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
2206 pc_set_termios(struct tty_struct *tty, struct ktermios *old_termios) argument
2239 struct tty_struct *tty = tty_port_tty_get(&ch->port); local
2257 pc_stop(struct tty_struct *tty) argument
2280 pc_start(struct tty_struct *tty) argument
2316 pc_throttle(struct tty_struct *tty) argument
2337 pc_unthrottle(struct tty_struct *tty) argument
2360 pc_send_break(struct tty_struct *tty, int msec) argument
2388 setup_empty_event(struct tty_struct *tty, struct channel *ch) argument
[all...]
H A Dn_r3964.c30 * Updated to newly registered tty-ldisc number 9
62 #include <linux/tty.h>
64 #include <linux/string.h> /* used in new tty drivers */
65 #include <linux/signal.h> /* used in new tty drivers */
133 static int r3964_open(struct tty_struct *tty);
134 static void r3964_close(struct tty_struct *tty);
135 static ssize_t r3964_read(struct tty_struct *tty, struct file *file,
137 static ssize_t r3964_write(struct tty_struct *tty, struct file *file,
139 static int r3964_ioctl(struct tty_struct *tty, struct file *file,
141 static void r3964_set_termios(struct tty_struct *tty, struc
375 struct tty_struct *tty = pInfo->tty; local
382 struct tty_struct *tty = pInfo->tty; local
440 struct tty_struct *tty = pInfo->tty; local
943 r3964_open(struct tty_struct *tty) argument
1004 r3964_close(struct tty_struct *tty) argument
1058 r3964_read(struct tty_struct *tty, struct file *file, unsigned char __user * buf, size_t nr) argument
1115 r3964_write(struct tty_struct *tty, struct file *file, const unsigned char *data, size_t count) argument
1184 r3964_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
1212 r3964_set_termios(struct tty_struct *tty, struct ktermios *old) argument
1218 r3964_poll(struct tty_struct *tty, struct file *file, struct poll_table_struct *wait) argument
1243 r3964_receive_buf(struct tty_struct *tty, const unsigned char *cp, char *fp, int count) argument
[all...]
H A Dstallion.c33 #include <linux/tty.h>
105 * all the local structures required by a serial tty driver.
324 static spinlock_t stallion_lock; /* Guard the tty driver */
412 static int stl_getportstats(struct tty_struct *tty, struct stlport *portp, comstats_t __user *cp);
464 static void stl_sc26198txunflow(struct stlport *portp, struct tty_struct *tty);
618 struct tty_struct *tty = tty_port_tty_get(&portp->port); local
620 if (!tty)
630 tty_hangup(tty);
631 tty_kref_put(tty);
705 static int stl_activate(struct tty_port *port, struct tty_struct *tty) argument
723 stl_open(struct tty_struct *tty, struct file *filp) argument
779 stl_flushbuffer(struct tty_struct *tty) argument
795 stl_waituntilsent(struct tty_struct *tty, int timeout) argument
836 stl_close(struct tty_struct *tty, struct file *filp) argument
854 stl_write(struct tty_struct *tty, const unsigned char *buf, int count) argument
911 stl_putchar(struct tty_struct *tty, unsigned char ch) argument
948 stl_flushchars(struct tty_struct *tty) argument
965 stl_writeroom(struct tty_struct *tty) argument
994 stl_charsinbuffer(struct tty_struct *tty) argument
1064 stl_setserial(struct tty_struct *tty, struct serial_struct __user *sp) argument
1097 stl_tiocmget(struct tty_struct *tty, struct file *file) argument
1110 stl_tiocmset(struct tty_struct *tty, struct file *file, unsigned int set, unsigned int clear) argument
1135 stl_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
1188 stl_start(struct tty_struct *tty) argument
1202 stl_settermios(struct tty_struct *tty, struct ktermios *old) argument
1236 stl_throttle(struct tty_struct *tty) argument
1254 stl_unthrottle(struct tty_struct *tty) argument
1273 stl_stop(struct tty_struct *tty) argument
1293 stl_hangup(struct tty_struct *tty) argument
1305 stl_breakctl(struct tty_struct *tty, int state) argument
1321 stl_sendxchar(struct tty_struct *tty, char ch) argument
1647 struct tty_struct *tty; local
2317 stl_getportstats(struct tty_struct *tty, struct stlport *portp, comstats_t __user *cp) argument
3059 struct tty_struct *tty; local
3122 struct tty_struct *tty; local
3303 struct tty_struct *tty; local
3385 struct tty_struct *tty; local
3991 struct tty_struct *tty; local
4061 struct tty_struct *tty; local
4176 stl_sc26198txunflow(struct stlport *portp, struct tty_struct *tty) argument
4230 struct tty_struct *tty; local
4297 struct tty_struct *tty; local
4352 struct tty_struct *tty; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/usb/gadget/
H A Du_serial.c25 #include <linux/tty.h>
61 * gs_port is the I/O nexus, used by the tty driver
62 * tty_struct links to the tty/filesystem framework
426 struct tty_struct *tty; local
429 tty = port->port_tty;
430 if (!tty)
472 struct tty_struct *tty; local
477 /* hand any queued data to the tty */
479 tty = port->port_tty;
485 /* discard data if tty wa
700 gs_open(struct tty_struct *tty, struct file *file) argument
814 gs_close(struct tty_struct *tty, struct file *file) argument
875 gs_write(struct tty_struct *tty, const unsigned char *buf, int count) argument
895 gs_put_char(struct tty_struct *tty, unsigned char ch) argument
911 gs_flush_chars(struct tty_struct *tty) argument
924 gs_write_room(struct tty_struct *tty) argument
941 gs_chars_in_buffer(struct tty_struct *tty) argument
958 gs_unthrottle(struct tty_struct *tty) argument
975 gs_break_ctl(struct tty_struct *tty, int duration) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/usb/gadget/
H A Du_serial.c25 #include <linux/tty.h>
61 * gs_port is the I/O nexus, used by the tty driver
62 * tty_struct links to the tty/filesystem framework
426 struct tty_struct *tty; local
429 tty = port->port_tty;
430 if (!tty)
472 struct tty_struct *tty; local
477 /* hand any queued data to the tty */
479 tty = port->port_tty;
485 /* discard data if tty wa
700 gs_open(struct tty_struct *tty, struct file *file) argument
814 gs_close(struct tty_struct *tty, struct file *file) argument
875 gs_write(struct tty_struct *tty, const unsigned char *buf, int count) argument
895 gs_put_char(struct tty_struct *tty, unsigned char ch) argument
911 gs_flush_chars(struct tty_struct *tty) argument
924 gs_write_room(struct tty_struct *tty) argument
941 gs_chars_in_buffer(struct tty_struct *tty) argument
958 gs_unthrottle(struct tty_struct *tty) argument
975 gs_break_ctl(struct tty_struct *tty, int duration) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/linux/
H A Dserial_core.h206 #include <linux/tty.h>
454 struct tty_struct *tty = port->state->port.tty; local
455 if(tty->stopped || tty->hw_stopped)
498 do_SAK(state->port.tty);
512 struct tty_ldisc *ld = tty_ldisc_ref(port->tty);
527 else if (port->tty)
528 tty_hangup(port->tty);
532 ld->ops->dcd_change(port->tty, statu
546 struct tty_struct *tty = port->tty; local
572 struct tty_struct *tty = port->state->port.tty; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/linux/
H A Dserial_core.h206 #include <linux/tty.h>
454 struct tty_struct *tty = port->state->port.tty; local
455 if(tty->stopped || tty->hw_stopped)
498 do_SAK(state->port.tty);
512 struct tty_ldisc *ld = tty_ldisc_ref(port->tty);
527 else if (port->tty)
528 tty_hangup(port->tty);
532 ld->ops->dcd_change(port->tty, statu
546 struct tty_struct *tty = port->tty; local
572 struct tty_struct *tty = port->state->port.tty; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/serial/
H A Dcrisv10.c18 #include <linux/tty.h>
161 static void rs_throttle(struct tty_struct * tty);
162 static void rs_wait_until_sent(struct tty_struct *tty, int timeout);
163 static int rs_write(struct tty_struct *tty,
166 static int e100_write_rs485(struct tty_struct *tty,
972 tcflag_t cflags = info->port.tty->termios->c_cflag;
1396 e100_enable_rs485(struct tty_struct *tty, struct serial_rs485 *r) argument
1398 struct e100_serial * info = (struct e100_serial *)tty->driver_data;
1429 e100_write_rs485(struct tty_struct *tty, argument
1432 struct e100_serial * info = (struct e100_serial *)tty
1474 rs_stop(struct tty_struct *tty) argument
1499 rs_start(struct tty_struct *tty) argument
1772 struct tty_struct *tty = info->port.tty; local
1857 struct tty_struct *tty; local
2113 struct tty_struct *tty; local
2283 struct tty_struct *tty = info->port.tty; local
2346 struct tty_struct *tty = info->port.tty; local
2718 struct tty_struct *tty; local
3113 rs_flush_chars(struct tty_struct *tty) argument
3136 rs_raw_write(struct tty_struct *tty, const unsigned char *buf, int count) argument
3208 rs_write(struct tty_struct *tty, const unsigned char *buf, int count) argument
3275 rs_write_room(struct tty_struct *tty) argument
3288 rs_chars_in_buffer(struct tty_struct *tty) argument
3298 rs_flush_buffer(struct tty_struct *tty) argument
3319 rs_send_xchar(struct tty_struct *tty, char ch) argument
3352 rs_throttle(struct tty_struct * tty) argument
3374 rs_unthrottle(struct tty_struct * tty) argument
3553 rs_break(struct tty_struct *tty, int break_state) argument
3576 rs_tiocmset(struct tty_struct *tty, struct file *file, unsigned int set, unsigned int clear) argument
3609 rs_tiocmget(struct tty_struct *tty, struct file *file) argument
3643 rs_ioctl(struct tty_struct *tty, struct file * file, unsigned int cmd, unsigned long arg) argument
3749 rs_set_termios(struct tty_struct *tty, struct ktermios *old_termios) argument
3775 rs_close(struct tty_struct *tty, struct file * filp) argument
3916 rs_wait_until_sent(struct tty_struct *tty, int timeout) argument
3952 rs_hangup(struct tty_struct *tty) argument
3971 block_til_ready(struct tty_struct *tty, struct file * filp, struct e100_serial *info) argument
4098 rs_open(struct tty_struct *tty, struct file * filp) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/serial/
H A Dcrisv10.c18 #include <linux/tty.h>
161 static void rs_throttle(struct tty_struct * tty);
162 static void rs_wait_until_sent(struct tty_struct *tty, int timeout);
163 static int rs_write(struct tty_struct *tty,
166 static int e100_write_rs485(struct tty_struct *tty,
972 tcflag_t cflags = info->port.tty->termios->c_cflag;
1396 e100_enable_rs485(struct tty_struct *tty, struct serial_rs485 *r) argument
1398 struct e100_serial * info = (struct e100_serial *)tty->driver_data;
1429 e100_write_rs485(struct tty_struct *tty, argument
1432 struct e100_serial * info = (struct e100_serial *)tty
1474 rs_stop(struct tty_struct *tty) argument
1499 rs_start(struct tty_struct *tty) argument
1772 struct tty_struct *tty = info->port.tty; local
1857 struct tty_struct *tty; local
2113 struct tty_struct *tty; local
2283 struct tty_struct *tty = info->port.tty; local
2346 struct tty_struct *tty = info->port.tty; local
2718 struct tty_struct *tty; local
3113 rs_flush_chars(struct tty_struct *tty) argument
3136 rs_raw_write(struct tty_struct *tty, const unsigned char *buf, int count) argument
3208 rs_write(struct tty_struct *tty, const unsigned char *buf, int count) argument
3275 rs_write_room(struct tty_struct *tty) argument
3288 rs_chars_in_buffer(struct tty_struct *tty) argument
3298 rs_flush_buffer(struct tty_struct *tty) argument
3319 rs_send_xchar(struct tty_struct *tty, char ch) argument
3352 rs_throttle(struct tty_struct * tty) argument
3374 rs_unthrottle(struct tty_struct * tty) argument
3553 rs_break(struct tty_struct *tty, int break_state) argument
3576 rs_tiocmset(struct tty_struct *tty, struct file *file, unsigned int set, unsigned int clear) argument
3609 rs_tiocmget(struct tty_struct *tty, struct file *file) argument
3643 rs_ioctl(struct tty_struct *tty, struct file * file, unsigned int cmd, unsigned long arg) argument
3749 rs_set_termios(struct tty_struct *tty, struct ktermios *old_termios) argument
3775 rs_close(struct tty_struct *tty, struct file * filp) argument
3916 rs_wait_until_sent(struct tty_struct *tty, int timeout) argument
3952 rs_hangup(struct tty_struct *tty) argument
3971 block_til_ready(struct tty_struct *tty, struct file * filp, struct e100_serial *info) argument
4098 rs_open(struct tty_struct *tty, struct file * filp) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/loginutils/
H A Dgetty.c89 const char *tty; /* name of tty */ member in struct:options
210 /* we loosen up a bit and accept both "baudrate tty" and "tty baudrate" */
211 op->tty = argv[0]; /* tty name */
215 op->tty = ts; /* tty name is in argv[1] */
229 /* open_tty - set up tty as standard { input, output, error } */
230 static void open_tty(const char *tty) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/s390/char/
H A Dtty3270.c3 * IBM/3270 Driver - tty functions.
14 #include <linux/tty.h>
57 struct tty_struct *tty; /* Pointer to tty structure */ member in struct:tty3270
72 /* Current tty screen. */
84 int throttle, attn; /* tty throttle/unthrottle. */
216 * Set output offsets to 3270 datastream fragment of a tty string.
449 tp = kbd->tty->driver_data;
469 * Deactivate tty view.
476 tp = kbd->tty
791 struct tty_struct *tty; local
842 tty3270_open(struct tty_struct *tty, struct file * filp) argument
929 tty3270_close(struct tty_struct *tty, struct file * filp) argument
947 tty3270_write_room(struct tty_struct *tty) argument
1562 tty3270_write(struct tty_struct * tty, const unsigned char *buf, int count) argument
1581 tty3270_put_char(struct tty_struct *tty, unsigned char ch) argument
1597 tty3270_flush_chars(struct tty_struct *tty) argument
1616 tty3270_chars_in_buffer(struct tty_struct *tty) argument
1622 tty3270_flush_buffer(struct tty_struct *tty) argument
1630 tty3270_set_termios(struct tty_struct *tty, struct ktermios *old) argument
1654 tty3270_throttle(struct tty_struct * tty) argument
1668 tty3270_unthrottle(struct tty_struct * tty) argument
1684 tty3270_hangup(struct tty_struct *tty) argument
1689 tty3270_wait_until_sent(struct tty_struct *tty, int timeout) argument
1694 tty3270_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
1709 tty3270_compat_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/s390/char/
H A Dtty3270.c3 * IBM/3270 Driver - tty functions.
14 #include <linux/tty.h>
57 struct tty_struct *tty; /* Pointer to tty structure */ member in struct:tty3270
72 /* Current tty screen. */
84 int throttle, attn; /* tty throttle/unthrottle. */
216 * Set output offsets to 3270 datastream fragment of a tty string.
449 tp = kbd->tty->driver_data;
469 * Deactivate tty view.
476 tp = kbd->tty
791 struct tty_struct *tty; local
842 tty3270_open(struct tty_struct *tty, struct file * filp) argument
929 tty3270_close(struct tty_struct *tty, struct file * filp) argument
947 tty3270_write_room(struct tty_struct *tty) argument
1562 tty3270_write(struct tty_struct * tty, const unsigned char *buf, int count) argument
1581 tty3270_put_char(struct tty_struct *tty, unsigned char ch) argument
1597 tty3270_flush_chars(struct tty_struct *tty) argument
1616 tty3270_chars_in_buffer(struct tty_struct *tty) argument
1622 tty3270_flush_buffer(struct tty_struct *tty) argument
1630 tty3270_set_termios(struct tty_struct *tty, struct ktermios *old) argument
1654 tty3270_throttle(struct tty_struct * tty) argument
1668 tty3270_unthrottle(struct tty_struct * tty) argument
1684 tty3270_hangup(struct tty_struct *tty) argument
1689 tty3270_wait_until_sent(struct tty_struct *tty, int timeout) argument
1694 tty3270_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
1709 tty3270_compat_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/loginutils/
H A Dgetty.c89 const char *tty; /* name of tty */ member in struct:options
210 /* we loosen up a bit and accept both "baudrate tty" and "tty baudrate" */
211 op->tty = argv[0]; /* tty name */
215 op->tty = ts; /* tty name is in argv[1] */
229 /* open_tty - set up tty as standard { input, output, error } */
230 static void open_tty(const char *tty) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/loginutils/
H A Dgetty.c89 const char *tty; /* name of tty */ member in struct:options
210 /* we loosen up a bit and accept both "baudrate tty" and "tty baudrate" */
211 op->tty = argv[0]; /* tty name */
215 op->tty = ts; /* tty name is in argv[1] */
229 /* open_tty - set up tty as standard { input, output, error } */
230 static void open_tty(const char *tty) argument
[all...]

Completed in 177 milliseconds

<<11121314151617181920>>