Home
last modified time | relevance | path

Searched defs:tty (Results 26 – 50 of 176) sorted by relevance

12345678

/OK3568_Linux_fs/kernel/drivers/isdn/capi/
H A Dcapi.c306 struct tty_struct *tty; in capincci_free_minor() local
323 struct tty_struct *tty; in capincci_minor_opencount() local
407 struct tty_struct *tty; in handle_recv_skb() local
491 struct tty_struct *tty; in handle_minor_send() local
1040 capinc_tty_install(struct tty_driver *driver, struct tty_struct *tty) in capinc_tty_install()
1052 static void capinc_tty_cleanup(struct tty_struct *tty) in capinc_tty_cleanup()
1059 static int capinc_tty_open(struct tty_struct *tty, struct file *filp) in capinc_tty_open()
1072 static void capinc_tty_close(struct tty_struct *tty, struct file *filp) in capinc_tty_close()
1079 static int capinc_tty_write(struct tty_struct *tty, in capinc_tty_write()
1114 static int capinc_tty_put_char(struct tty_struct *tty, unsigned char ch) in capinc_tty_put_char()
[all …]
/OK3568_Linux_fs/kernel/drivers/tty/
H A Dn_null.c13 static int n_null_open(struct tty_struct *tty) in n_null_open()
18 static void n_null_close(struct tty_struct *tty) in n_null_close()
22 static ssize_t n_null_read(struct tty_struct *tty, struct file *file, in n_null_read()
29 static ssize_t n_null_write(struct tty_struct *tty, struct file *file, in n_null_write()
35 static void n_null_receivebuf(struct tty_struct *tty, in n_null_receivebuf()
H A Dttynull.c17 static int ttynull_open(struct tty_struct *tty, struct file *filp) in ttynull_open()
22 static void ttynull_close(struct tty_struct *tty, struct file *filp) in ttynull_close()
27 static void ttynull_hangup(struct tty_struct *tty) in ttynull_hangup()
32 static int ttynull_write(struct tty_struct *tty, const unsigned char *buf, in ttynull_write()
38 static int ttynull_write_room(struct tty_struct *tty) in ttynull_write_room()
H A Drocket.c414 struct tty_struct *tty; in rp_do_transmit() local
695 static void configure_r_port(struct tty_struct *tty, struct r_port *info, in configure_r_port()
871 static int rp_open(struct tty_struct *tty, struct file *filp) in rp_open()
962 static void rp_close(struct tty_struct *tty, struct file *filp) in rp_close()
1041 static void rp_set_termios(struct tty_struct *tty, in rp_set_termios()
1082 static int rp_break(struct tty_struct *tty, int break_state) in rp_break()
1128 static int rp_tiocmget(struct tty_struct *tty) in rp_tiocmget()
1148 static int rp_tiocmset(struct tty_struct *tty, in rp_tiocmset()
1184 static int set_config(struct tty_struct *tty, struct r_port *info, in set_config()
1284 static int rp_ioctl(struct tty_struct *tty, in rp_ioctl()
[all …]
H A Dvcc.c33 struct tty_struct *tty; /* only populated while dev is open */ member
285 static int vcc_rx_check(struct tty_struct *tty, int size) in vcc_rx_check()
300 static int vcc_rx(struct tty_struct *tty, char *buf, int size) in vcc_rx()
317 struct tty_struct *tty; in vcc_ldc_read() local
421 struct tty_struct *tty = port->tty; in vcc_tx_timer() local
740 static int vcc_open(struct tty_struct *tty, struct file *vcc_file) in vcc_open()
780 static void vcc_close(struct tty_struct *tty, struct file *vcc_file) in vcc_close()
810 static void vcc_hangup(struct tty_struct *tty) in vcc_hangup()
838 static int vcc_write(struct tty_struct *tty, const unsigned char *buf, in vcc_write()
908 static int vcc_write_room(struct tty_struct *tty) in vcc_write_room()
[all …]
H A Dn_tracerouter.c61 static int n_tracerouter_open(struct tty_struct *tty) in n_tracerouter_open()
89 static void n_tracerouter_close(struct tty_struct *tty) in n_tracerouter_close()
120 static ssize_t n_tracerouter_read(struct tty_struct *tty, struct file *file, in n_tracerouter_read()
146 static ssize_t n_tracerouter_write(struct tty_struct *tty, struct file *file, in n_tracerouter_write()
163 static void n_tracerouter_receivebuf(struct tty_struct *tty, in n_tracerouter_receivebuf()
H A Dmxser.c568 static int mxser_set_baud(struct tty_struct *tty, long newspd) in mxser_set_baud()
641 static void mxser_change_speed(struct tty_struct *tty) in mxser_change_speed()
807 static void mxser_check_modem_status(struct tty_struct *tty, in mxser_check_modem_status()
856 static int mxser_activate(struct tty_port *port, struct tty_struct *tty) in mxser_activate()
1005 static int mxser_open(struct tty_struct *tty, struct file *filp) in mxser_open()
1021 static void mxser_flush_buffer(struct tty_struct *tty) in mxser_flush_buffer()
1076 static void mxser_close(struct tty_struct *tty, struct file *filp) in mxser_close()
1101 static int mxser_write(struct tty_struct *tty, const unsigned char *buf, int count) in mxser_write()
1143 static int mxser_put_char(struct tty_struct *tty, unsigned char ch) in mxser_put_char()
1174 static void mxser_flush_chars(struct tty_struct *tty) in mxser_flush_chars()
[all …]
H A Dn_r3964.c378 struct tty_struct *tty = pInfo->tty; in put_char() local
386 struct tty_struct *tty = pInfo->tty; in flush() local
444 struct tty_struct *tty = pInfo->tty; in transmit_block() local
946 static int r3964_open(struct tty_struct *tty) in r3964_open()
1007 static void r3964_close(struct tty_struct *tty) in r3964_close()
1060 static ssize_t r3964_read(struct tty_struct *tty, struct file *file, in r3964_read()
1124 static ssize_t r3964_write(struct tty_struct *tty, struct file *file, in r3964_write()
1189 static int r3964_ioctl(struct tty_struct *tty, struct file *file, in r3964_ioctl()
1218 static int r3964_compat_ioctl(struct tty_struct *tty, struct file *file, in r3964_compat_ioctl()
1232 static void r3964_set_termios(struct tty_struct *tty, struct ktermios *old) in r3964_set_termios()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ppp/
H A Dppp_synctty.c53 struct tty_struct *tty; member
134 static struct syncppp *sp_get(struct tty_struct *tty) in sp_get()
156 ppp_sync_open(struct tty_struct *tty) in ppp_sync_open()
214 ppp_sync_close(struct tty_struct *tty) in ppp_sync_close()
248 static int ppp_sync_hangup(struct tty_struct *tty) in ppp_sync_hangup()
259 ppp_sync_read(struct tty_struct *tty, struct file *file, in ppp_sync_read()
271 ppp_sync_write(struct tty_struct *tty, struct file *file, in ppp_sync_write()
278 ppp_synctty_ioctl(struct tty_struct *tty, struct file *file, in ppp_synctty_ioctl()
328 ppp_sync_poll(struct tty_struct *tty, struct file *file, poll_table *wait) in ppp_sync_poll()
335 ppp_sync_receive(struct tty_struct *tty, const unsigned char *buf, in ppp_sync_receive()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dxhci-dbgtty.c181 static int dbc_tty_install(struct tty_driver *driver, struct tty_struct *tty) in dbc_tty_install()
190 static int dbc_tty_open(struct tty_struct *tty, struct file *file) in dbc_tty_open()
197 static void dbc_tty_close(struct tty_struct *tty, struct file *file) in dbc_tty_close()
204 static int dbc_tty_write(struct tty_struct *tty, in dbc_tty_write()
220 static int dbc_tty_put_char(struct tty_struct *tty, unsigned char ch) in dbc_tty_put_char()
233 static void dbc_tty_flush_chars(struct tty_struct *tty) in dbc_tty_flush_chars()
243 static int dbc_tty_write_room(struct tty_struct *tty) in dbc_tty_write_room()
256 static int dbc_tty_chars_in_buffer(struct tty_struct *tty) in dbc_tty_chars_in_buffer()
269 static void dbc_tty_unthrottle(struct tty_struct *tty) in dbc_tty_unthrottle()
294 struct tty_struct *tty; in dbc_rx_push() local
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/serial/
H A Dgeneric.c106 int usb_serial_generic_open(struct tty_struct *tty, struct usb_serial_port *port) in usb_serial_generic_open()
213 int usb_serial_generic_write(struct tty_struct *tty, in usb_serial_generic_write()
233 int usb_serial_generic_write_room(struct tty_struct *tty) in usb_serial_generic_write_room()
250 int usb_serial_generic_chars_in_buffer(struct tty_struct *tty) in usb_serial_generic_chars_in_buffer()
268 void usb_serial_generic_wait_until_sent(struct tty_struct *tty, long timeout) in usb_serial_generic_wait_until_sent()
474 void usb_serial_generic_throttle(struct tty_struct *tty) in usb_serial_generic_throttle()
482 void usb_serial_generic_unthrottle(struct tty_struct *tty) in usb_serial_generic_unthrottle()
498 static bool usb_serial_generic_msr_changed(struct tty_struct *tty, in usb_serial_generic_msr_changed()
527 int usb_serial_generic_tiocmiwait(struct tty_struct *tty, unsigned long arg) in usb_serial_generic_tiocmiwait()
547 int usb_serial_generic_get_icount(struct tty_struct *tty, in usb_serial_generic_get_icount()
[all …]
H A Dxr_usb_serial_common.c269 struct tty_struct *tty; in xr_usb_serial_ctrl_irq() local
541 struct tty_struct *tty; in xr_usb_serial_softint() local
560 static int xr_usb_serial_tty_install(struct tty_driver *driver, struct tty_struct *tty) in xr_usb_serial_tty_install()
584 static int xr_usb_serial_tty_open(struct tty_struct *tty, struct file *filp) in xr_usb_serial_tty_open()
595 static int xr_usb_serial_port_activate(struct tty_port *port, struct tty_struct *tty) in xr_usb_serial_port_activate()
699 static void xr_usb_serial_tty_cleanup(struct tty_struct *tty) in xr_usb_serial_tty_cleanup()
706 static void xr_usb_serial_tty_hangup(struct tty_struct *tty) in xr_usb_serial_tty_hangup()
713 static void xr_usb_serial_tty_close(struct tty_struct *tty, struct file *filp) in xr_usb_serial_tty_close()
720 static int xr_usb_serial_tty_write(struct tty_struct *tty, in xr_usb_serial_tty_write()
772 static int xr_usb_serial_tty_write_room(struct tty_struct *tty) in xr_usb_serial_tty_write_room()
[all …]
H A Dkobil_sct.c156 static void kobil_init_termios(struct tty_struct *tty) in kobil_init_termios()
166 static int kobil_open(struct tty_struct *tty, struct usb_serial_port *port) in kobil_open()
294 static int kobil_write(struct tty_struct *tty, struct usb_serial_port *port, in kobil_write()
363 static int kobil_write_room(struct tty_struct *tty) in kobil_write_room()
370 static int kobil_tiocmget(struct tty_struct *tty) in kobil_tiocmget()
418 static int kobil_tiocmset(struct tty_struct *tty, in kobil_tiocmset()
478 static void kobil_set_termios(struct tty_struct *tty, in kobil_set_termios()
535 static int kobil_ioctl(struct tty_struct *tty, in kobil_ioctl()
H A Dkeyspan_pda.c202 static void keyspan_pda_rx_throttle(struct tty_struct *tty) in keyspan_pda_rx_throttle()
216 static void keyspan_pda_rx_unthrottle(struct tty_struct *tty) in keyspan_pda_rx_unthrottle()
285 static void keyspan_pda_break_ctl(struct tty_struct *tty, int break_state) in keyspan_pda_break_ctl()
310 static void keyspan_pda_set_termios(struct tty_struct *tty, in keyspan_pda_set_termios()
390 static int keyspan_pda_tiocmget(struct tty_struct *tty) in keyspan_pda_tiocmget()
411 static int keyspan_pda_tiocmset(struct tty_struct *tty, in keyspan_pda_tiocmset()
436 static int keyspan_pda_write(struct tty_struct *tty, in keyspan_pda_write()
566 static int keyspan_pda_write_room(struct tty_struct *tty) in keyspan_pda_write_room()
581 static int keyspan_pda_chars_in_buffer(struct tty_struct *tty) in keyspan_pda_chars_in_buffer()
612 static int keyspan_pda_open(struct tty_struct *tty, in keyspan_pda_open()
/OK3568_Linux_fs/kernel/drivers/usb/class/
H A Dcdc-acm.c618 static int acm_tty_install(struct tty_driver *driver, struct tty_struct *tty) in acm_tty_install()
647 static int acm_tty_open(struct tty_struct *tty, struct file *filp) in acm_tty_open()
674 static int acm_port_activate(struct tty_port *port, struct tty_struct *tty) in acm_port_activate()
775 static void acm_tty_cleanup(struct tty_struct *tty) in acm_tty_cleanup()
782 static void acm_tty_hangup(struct tty_struct *tty) in acm_tty_hangup()
789 static void acm_tty_close(struct tty_struct *tty, struct file *filp) in acm_tty_close()
796 static int acm_tty_write(struct tty_struct *tty, in acm_tty_write()
850 static int acm_tty_write_room(struct tty_struct *tty) in acm_tty_write_room()
860 static int acm_tty_chars_in_buffer(struct tty_struct *tty) in acm_tty_chars_in_buffer()
875 static void acm_tty_throttle(struct tty_struct *tty) in acm_tty_throttle()
[all …]
/OK3568_Linux_fs/kernel/drivers/mmc/core/
H A Dsdio_uart.c428 struct tty_struct *tty; in sdio_uart_transmit_chars() local
466 struct tty_struct *tty; in sdio_uart_check_modem_status() local
594 static int sdio_uart_activate(struct tty_port *tport, struct tty_struct *tty) in sdio_uart_activate()
726 static int sdio_uart_install(struct tty_driver *driver, struct tty_struct *tty) in sdio_uart_install()
748 static void sdio_uart_cleanup(struct tty_struct *tty) in sdio_uart_cleanup()
759 static int sdio_uart_open(struct tty_struct *tty, struct file *filp) in sdio_uart_open()
765 static void sdio_uart_close(struct tty_struct *tty, struct file * filp) in sdio_uart_close()
771 static void sdio_uart_hangup(struct tty_struct *tty) in sdio_uart_hangup()
777 static int sdio_uart_write(struct tty_struct *tty, const unsigned char *buf, in sdio_uart_write()
800 static int sdio_uart_write_room(struct tty_struct *tty) in sdio_uart_write_room()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/gdm724x/
H A Dgdm_tty.c54 static int gdm_tty_install(struct tty_driver *driver, struct tty_struct *tty) in gdm_tty_install()
86 static int gdm_tty_open(struct tty_struct *tty, struct file *filp) in gdm_tty_open()
93 static void gdm_tty_cleanup(struct tty_struct *tty) in gdm_tty_cleanup()
100 static void gdm_tty_hangup(struct tty_struct *tty) in gdm_tty_hangup()
107 static void gdm_tty_close(struct tty_struct *tty, struct file *filp) in gdm_tty_close()
155 static int gdm_tty_write(struct tty_struct *tty, const unsigned char *buf, in gdm_tty_write()
186 static int gdm_tty_write_room(struct tty_struct *tty) in gdm_tty_write_room()
244 struct tty_struct *tty; in unregister_lte_tty_device() local
/OK3568_Linux_fs/kernel/drivers/tty/serial/
H A Dkgdb_nmi.c208 static int kgdb_nmi_tty_activate(struct tty_port *port, struct tty_struct *tty) in kgdb_nmi_tty_activate()
234 static int kgdb_nmi_tty_install(struct tty_driver *drv, struct tty_struct *tty) in kgdb_nmi_tty_install()
261 static void kgdb_nmi_tty_cleanup(struct tty_struct *tty) in kgdb_nmi_tty_cleanup()
270 static int kgdb_nmi_tty_open(struct tty_struct *tty, struct file *file) in kgdb_nmi_tty_open()
283 static void kgdb_nmi_tty_close(struct tty_struct *tty, struct file *file) in kgdb_nmi_tty_close()
294 static void kgdb_nmi_tty_hangup(struct tty_struct *tty) in kgdb_nmi_tty_hangup()
301 static int kgdb_nmi_tty_write_room(struct tty_struct *tty) in kgdb_nmi_tty_write_room()
307 static int kgdb_nmi_tty_write(struct tty_struct *tty, const unchar *buf, int c) in kgdb_nmi_tty_write()
H A Dserial_core.c114 static void uart_stop(struct tty_struct *tty) in uart_stop()
126 static void __uart_start(struct tty_struct *tty) in __uart_start()
135 static void uart_start(struct tty_struct *tty) in uart_start()
175 static int uart_port_startup(struct tty_struct *tty, struct uart_state *state, in uart_port_startup()
243 static int uart_startup(struct tty_struct *tty, struct uart_state *state, in uart_startup()
266 static void uart_shutdown(struct tty_struct *tty, struct uart_state *state) in uart_shutdown()
494 static void uart_change_speed(struct tty_struct *tty, struct uart_state *state, in uart_change_speed()
539 static int uart_put_char(struct tty_struct *tty, unsigned char c) in uart_put_char()
563 static void uart_flush_chars(struct tty_struct *tty) in uart_flush_chars()
568 static int uart_write(struct tty_struct *tty, in uart_write()
[all …]
/OK3568_Linux_fs/kernel/drivers/char/
H A Dttyprintk.c90 static int tpk_open(struct tty_struct *tty, struct file *filp) in tpk_open()
100 static void tpk_close(struct tty_struct *tty, struct file *filp) in tpk_close()
116 static int tpk_write(struct tty_struct *tty, in tpk_write()
135 static int tpk_write_room(struct tty_struct *tty) in tpk_write_room()
143 static int tpk_ioctl(struct tty_struct *tty, in tpk_ioctl()
164 static void tpk_hangup(struct tty_struct *tty) in tpk_hangup()
/OK3568_Linux_fs/kernel/drivers/s390/char/
H A Dsclp_tty.c64 sclp_tty_open(struct tty_struct *tty, struct file *filp) in sclp_tty_open()
74 sclp_tty_close(struct tty_struct *tty, struct file *filp) in sclp_tty_close()
91 sclp_tty_write_room (struct tty_struct *tty) in sclp_tty_write_room()
234 sclp_tty_write(struct tty_struct *tty, const unsigned char *buf, int count) in sclp_tty_write()
254 sclp_tty_put_char(struct tty_struct *tty, unsigned char ch) in sclp_tty_put_char()
269 sclp_tty_flush_chars(struct tty_struct *tty) in sclp_tty_flush_chars()
285 sclp_tty_chars_in_buffer(struct tty_struct *tty) in sclp_tty_chars_in_buffer()
308 sclp_tty_flush_buffer(struct tty_struct *tty) in sclp_tty_flush_buffer()
322 struct tty_struct *tty = tty_port_tty_get(&sclp_port); in sclp_tty_input() local
H A Dcon3215.c340 struct tty_struct *tty; in raw3215_wakeup() local
352 static void raw3215_next_io(struct raw3215_info *raw, struct tty_struct *tty) in raw3215_next_io()
368 struct tty_struct *tty; in raw3215_irq() local
960 static int tty3215_install(struct tty_driver *driver, struct tty_struct *tty) in tty3215_install()
978 static int tty3215_open(struct tty_struct *tty, struct file * filp) in tty3215_open()
997 static void tty3215_close(struct tty_struct *tty, struct file * filp) in tty3215_close()
1015 static int tty3215_write_room(struct tty_struct *tty) in tty3215_write_room()
1031 static int tty3215_write(struct tty_struct * tty, in tty3215_write()
1060 static int tty3215_put_char(struct tty_struct *tty, unsigned char ch) in tty3215_put_char()
1071 static void tty3215_flush_chars(struct tty_struct *tty) in tty3215_flush_chars()
[all …]
/OK3568_Linux_fs/kernel/drivers/char/pcmcia/
H A Dsynclink_cs.c495 static void ldisc_receive_buf(struct tty_struct *tty, in ldisc_receive_buf()
704 static void tx_pause(struct tty_struct *tty) in tx_pause()
720 static void tx_release(struct tty_struct *tty) in tx_release()
771 struct tty_struct *tty; in bh_handler() local
812 static void bh_transmit(MGSLPC_INFO *info, struct tty_struct *tty) in bh_transmit()
961 static void tx_done(MGSLPC_INFO *info, struct tty_struct *tty) in tx_done()
998 static void tx_ready(MGSLPC_INFO *info, struct tty_struct *tty) in tx_ready()
1047 static void cts_change(MGSLPC_INFO *info, struct tty_struct *tty) in cts_change()
1082 static void dcd_change(MGSLPC_INFO *info, struct tty_struct *tty) in dcd_change()
1160 struct tty_struct *tty; in mgslpc_isr() local
[all …]
/OK3568_Linux_fs/kernel/arch/m68k/emu/
H A Dnfcon.c64 static int nfcon_tty_open(struct tty_struct *tty, struct file *filp) in nfcon_tty_open()
69 static void nfcon_tty_close(struct tty_struct *tty, struct file *filp) in nfcon_tty_close()
73 static int nfcon_tty_write(struct tty_struct *tty, const unsigned char *buf, in nfcon_tty_write()
80 static int nfcon_tty_put_char(struct tty_struct *tty, unsigned char ch) in nfcon_tty_put_char()
88 static int nfcon_tty_write_room(struct tty_struct *tty) in nfcon_tty_write_room()
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dcx20442.c25 struct tty_struct *tty; member
212 static int v253_open(struct tty_struct *tty) in v253_open()
237 static void v253_close(struct tty_struct *tty) in v253_close()
255 static int v253_hangup(struct tty_struct *tty) in v253_hangup()
262 static void v253_receive(struct tty_struct *tty, in v253_receive()
283 static void v253_wakeup(struct tty_struct *tty) in v253_wakeup()
396 struct tty_struct *tty = cx20442->tty; in cx20442_component_remove() local

12345678