Searched refs:tty_struct (Results 76 - 100 of 164) sorted by relevance

1234567

/linux-master/drivers/tty/
H A Dvcc.c27 struct tty_struct *tty; /* only populated while dev is open */
277 static int vcc_rx_check(struct tty_struct *tty, int size)
292 static int vcc_rx(struct tty_struct *tty, char *buf, int size)
309 struct tty_struct *tty;
413 struct tty_struct *tty = port->tty;
734 static int vcc_open(struct tty_struct *tty, struct file *vcc_file)
769 static void vcc_close(struct tty_struct *tty, struct file *vcc_file)
794 static void vcc_hangup(struct tty_struct *tty)
817 static ssize_t vcc_write(struct tty_struct *tty, const u8 *buf, size_t count)
882 static unsigned int vcc_write_room(struct tty_struct *tt
[all...]
H A Dnozomi.c358 static inline struct nozomi *get_dc_by_tty(const struct tty_struct *tty)
363 static inline struct port *get_port_by_tty(const struct tty_struct *tty)
758 struct tty_struct *tty = tty_port_tty_get(&port->port);
1485 static void set_rts(const struct tty_struct *tty, int rts)
1494 static void set_dtr(const struct tty_struct *tty, int dtr)
1511 static int ntty_install(struct tty_driver *driver, struct tty_struct *tty)
1524 static void ntty_cleanup(struct tty_struct *tty)
1529 static int ntty_activate(struct tty_port *tport, struct tty_struct *tty)
1545 static int ntty_open(struct tty_struct *tty, struct file *filp)
1566 static void ntty_close(struct tty_struct *tt
[all...]
/linux-master/drivers/usb/serial/
H A Dcyberjack.c51 static int cyberjack_open(struct tty_struct *tty,
54 static int cyberjack_write(struct tty_struct *tty,
56 static unsigned int cyberjack_write_room(struct tty_struct *tty);
133 static int cyberjack_open(struct tty_struct *tty,
158 static int cyberjack_write(struct tty_struct *tty,
243 static unsigned int cyberjack_write_room(struct tty_struct *tty)
H A Dkl5kusb105.c56 static int klsi_105_open(struct tty_struct *tty, struct usb_serial_port *port);
58 static void klsi_105_set_termios(struct tty_struct *tty,
61 static int klsi_105_tiocmget(struct tty_struct *tty);
221 static int klsi_105_open(struct tty_struct *tty, struct usb_serial_port *port)
368 static void klsi_105_set_termios(struct tty_struct *tty,
488 static int klsi_105_tiocmget(struct tty_struct *tty)
H A Dch341.c107 static void ch341_set_termios(struct tty_struct *tty,
447 static int ch341_open(struct tty_struct *tty, struct usb_serial_port *port)
484 static void ch341_set_termios(struct tty_struct *tty,
565 static int ch341_simulate_break(struct tty_struct *tty, int break_state)
633 static int ch341_break_ctl(struct tty_struct *tty, int break_state)
680 static int ch341_tiocmset(struct tty_struct *tty,
707 struct tty_struct *tty;
781 static int ch341_tiocmget(struct tty_struct *tty)
H A Dkeyspan_pda.c221 static void keyspan_pda_rx_throttle(struct tty_struct *tty)
236 static void keyspan_pda_rx_unthrottle(struct tty_struct *tty)
302 static int keyspan_pda_break_ctl(struct tty_struct *tty, int break_state)
327 static void keyspan_pda_set_termios(struct tty_struct *tty,
408 static int keyspan_pda_tiocmget(struct tty_struct *tty)
430 static int keyspan_pda_tiocmset(struct tty_struct *tty,
539 static int keyspan_pda_write(struct tty_struct *tty, struct usb_serial_port *port,
569 static int keyspan_pda_open(struct tty_struct *tty,
H A Dusb_debug.c50 static int usb_debug_break_ctl(struct tty_struct *tty, int break_state)
H A Dusb-serial.c214 static int serial_install(struct tty_driver *driver, struct tty_struct *tty)
254 static int serial_port_activate(struct tty_port *tport, struct tty_struct *tty)
283 static int serial_open(struct tty_struct *tty, struct file *filp)
314 static void serial_hangup(struct tty_struct *tty)
323 static void serial_close(struct tty_struct *tty, struct file *filp)
341 static void serial_cleanup(struct tty_struct *tty)
364 static ssize_t serial_write(struct tty_struct *tty, const u8 *buf, size_t count)
381 static unsigned int serial_write_room(struct tty_struct *tty)
390 static unsigned int serial_chars_in_buffer(struct tty_struct *tty)
403 static void serial_wait_until_sent(struct tty_struct *tt
[all...]
H A Dspcp8x5.c280 static void spcp8x5_init_termios(struct tty_struct *tty)
285 static void spcp8x5_set_termios(struct tty_struct *tty,
390 static int spcp8x5_open(struct tty_struct *tty, struct usb_serial_port *port)
413 static int spcp8x5_tiocmset(struct tty_struct *tty,
436 static int spcp8x5_tiocmget(struct tty_struct *tty)
H A Dmos7720.c842 static int mos7720_open(struct tty_struct *tty, struct usb_serial_port *port)
949 static unsigned int mos7720_chars_in_buffer(struct tty_struct *tty)
999 static int mos7720_break(struct tty_struct *tty, int break_state)
1028 static unsigned int mos7720_write_room(struct tty_struct *tty)
1046 static int mos7720_write(struct tty_struct *tty, struct usb_serial_port *port,
1117 static void mos7720_throttle(struct tty_struct *tty)
1149 static void mos7720_unthrottle(struct tty_struct *tty)
1358 static void change_port_settings(struct tty_struct *tty,
1497 static void mos7720_set_termios(struct tty_struct *tty,
1534 static int get_lsr_info(struct tty_struct *tt
[all...]
H A Dusb_wwan.c91 int usb_wwan_tiocmget(struct tty_struct *tty)
110 int usb_wwan_tiocmset(struct tty_struct *tty,
137 int usb_wwan_write(struct tty_struct *tty, struct usb_serial_port *port,
282 unsigned int usb_wwan_write_room(struct tty_struct *tty)
303 unsigned int usb_wwan_chars_in_buffer(struct tty_struct *tty)
325 int usb_wwan_open(struct tty_struct *tty, struct usb_serial_port *port)
/linux-master/drivers/tty/hvc/
H A Dhvsi.c226 struct tty_struct *tty, struct hvsi_struct **to_handshake)
388 static int hvsi_load_chunk(struct hvsi_struct *hp, struct tty_struct *tty,
479 struct tty_struct *tty;
699 static int hvsi_open(struct tty_struct *tty, struct file *filp)
762 static void hvsi_close(struct tty_struct *tty, struct file *filp)
814 static void hvsi_hangup(struct tty_struct *tty)
893 static unsigned int hvsi_write_room(struct tty_struct *tty)
900 static unsigned int hvsi_chars_in_buffer(struct tty_struct *tty)
907 static ssize_t hvsi_write(struct tty_struct *tty, const u8 *source,
965 static void hvsi_throttle(struct tty_struct *tt
[all...]
H A Dhvcs.c485 static void hvcs_unthrottle(struct tty_struct *tty)
496 static void hvcs_throttle(struct tty_struct *tty)
528 struct tty_struct *tty = hvcsd->port.tty;
558 struct tty_struct *tty;
802 struct tty_struct *tty;
1058 static int hvcs_install(struct tty_driver *driver, struct tty_struct *tty)
1135 static int hvcs_open(struct tty_struct *tty, struct file *filp)
1153 static void hvcs_close(struct tty_struct *tty, struct file *filp)
1206 static void hvcs_cleanup(struct tty_struct * tty)
1220 static void hvcs_hangup(struct tty_struct * tt
[all...]
/linux-master/drivers/s390/char/
H A Dsclp_vt220.c466 sclp_vt220_write(struct tty_struct *tty, const u8 *buf, size_t count)
553 sclp_vt220_open(struct tty_struct *tty, struct file *filp)
569 sclp_vt220_close(struct tty_struct *tty, struct file *filp)
582 sclp_vt220_put_char(struct tty_struct *tty, u8 ch)
592 sclp_vt220_flush_chars(struct tty_struct *tty)
607 sclp_vt220_write_room(struct tty_struct *tty)
627 sclp_vt220_chars_in_buffer(struct tty_struct *tty)
650 sclp_vt220_flush_buffer(struct tty_struct *tty)
H A Dcon3270.c971 struct tty_struct *tty;
1044 struct tty_struct *tty = tty_port_tty_get(&tp->port);
1180 tty3270_install(struct tty_driver *driver, struct tty_struct *tty)
1212 static int tty3270_open(struct tty_struct *tty, struct file *filp)
1226 static void tty3270_close(struct tty_struct *tty, struct file *filp)
1236 static void tty3270_cleanup(struct tty_struct *tty)
1249 static unsigned int tty3270_write_room(struct tty_struct *tty)
1728 static void tty3270_do_write(struct tty3270 *tp, struct tty_struct *tty,
1806 static ssize_t tty3270_write(struct tty_struct *tty, const u8 *buf,
1825 static int tty3270_put_char(struct tty_struct *tt
[all...]
/linux-master/include/linux/
H A Dvt_kern.h52 struct tty_struct;
53 int tioclinux(struct tty_struct *tty, unsigned long arg);
/linux-master/drivers/accessibility/speakup/
H A Dspeakup.h73 int speakup_set_selection(struct tty_struct *tty);
75 int speakup_paste_selection(struct tty_struct *tty);
/linux-master/drivers/misc/bcm-vk/
H A Dbcm_vk_tty.c126 static int bcm_vk_tty_open(struct tty_struct *tty, struct file *file)
170 static void bcm_vk_tty_close(struct tty_struct *tty, struct file *file)
189 static ssize_t bcm_vk_tty_write(struct tty_struct *tty, const u8 *buffer,
216 static unsigned int bcm_vk_tty_write_room(struct tty_struct *tty)
/linux-master/drivers/tty/vt/
H A Dselection.c6 * struct tty_struct *)'
7 * 'int set_selection_kernel(struct tiocl_selection *, struct tty_struct *)'
9 * 'int paste_selection(struct tty_struct *)'
188 struct tty_struct *tty)
327 struct tty_struct *tty)
363 int set_selection_kernel(struct tiocl_selection *v, struct tty_struct *tty)
384 int paste_selection(struct tty_struct *tty)
/linux-master/drivers/ipack/devices/
H A Dipoctal.c70 static int ipoctal_port_activate(struct tty_port *port, struct tty_struct *tty)
85 static int ipoctal_install(struct tty_driver *driver, struct tty_struct *tty)
108 static int ipoctal_open(struct tty_struct *tty, struct file *file)
133 static void ipoctal_close(struct tty_struct *tty, struct file *filp)
141 static int ipoctal_get_icount(struct tty_struct *tty,
459 static ssize_t ipoctal_write_tty(struct tty_struct *tty, const u8 *buf,
482 static unsigned int ipoctal_write_room(struct tty_struct *tty)
489 static unsigned int ipoctal_chars_in_buffer(struct tty_struct *tty)
496 static void ipoctal_set_termios(struct tty_struct *tty,
630 static void ipoctal_hangup(struct tty_struct *tt
[all...]
/linux-master/drivers/net/mctp/
H A Dmctp-serial.c55 struct tty_struct *tty;
260 static void mctp_serial_tty_write_wakeup(struct tty_struct *tty)
393 static void mctp_serial_tty_receive_buf(struct tty_struct *tty, const u8 *c,
438 static int mctp_serial_open(struct tty_struct *tty)
489 static void mctp_serial_close(struct tty_struct *tty)
/linux-master/sound/soc/ti/
H A Dams-delta.c279 static int cx81801_open(struct tty_struct *tty)
301 static void cx81801_close(struct tty_struct *tty)
333 static void cx81801_hangup(struct tty_struct *tty)
339 static void cx81801_receive(struct tty_struct *tty, const u8 *cp, const u8 *fp,
391 static void cx81801_wakeup(struct tty_struct *tty)
/linux-master/drivers/net/ppp/
H A Dppp_async.c42 struct tty_struct *tty;
133 static struct asyncppp *ap_get(struct tty_struct *tty)
156 ppp_asynctty_open(struct tty_struct *tty)
216 ppp_asynctty_close(struct tty_struct *tty)
251 static void ppp_asynctty_hangup(struct tty_struct *tty)
261 ppp_asynctty_read(struct tty_struct *tty, struct file *file, u8 *buf,
272 ppp_asynctty_write(struct tty_struct *tty, struct file *file, const u8 *buf,
284 ppp_asynctty_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg)
333 ppp_asynctty_receive(struct tty_struct *tty, const u8 *buf, const u8 *cflags,
351 ppp_asynctty_wakeup(struct tty_struct *tt
[all...]
/linux-master/drivers/net/can/slcan/
H A Dslcan-core.c84 struct tty_struct *tty; /* ptr to TTY structure */
584 static void slcan_write_wakeup(struct tty_struct *tty)
777 static void slcan_receive_buf(struct tty_struct *tty, const u8 *cp,
803 static int slcan_open(struct tty_struct *tty)
862 static void slcan_close(struct tty_struct *tty)
885 static int slcan_ioctl(struct tty_struct *tty, unsigned int cmd,
/linux-master/drivers/misc/ti-st/
H A Dst_core.c73 struct tty_struct *tty;
720 static int st_tty_open(struct tty_struct *tty)
748 static void st_tty_close(struct tty_struct *tty)
794 static void st_tty_receive(struct tty_struct *tty, const u8 *data,
814 static void st_tty_wakeup(struct tty_struct *tty)
829 static void st_tty_flush_buffer(struct tty_struct *tty)

Completed in 341 milliseconds

1234567