Home
last modified time | relevance | path

Searched defs:tty (Results 51 – 75 of 176) sorted by relevance

12345678

/OK3568_Linux_fs/kernel/drivers/tty/
H A Dcyclades.c484 struct tty_struct *tty = in cyy_chip_rx() local
570 struct tty_struct *tty; in cyy_chip_tx() local
683 struct tty_struct *tty; in cyy_chip_modem() local
1009 struct tty_struct *tty; in cyz_handle_tx() local
1261 static int cy_startup(struct cyclades_port *info, struct tty_struct *tty) in cy_startup()
1418 static void cy_shutdown(struct cyclades_port *info, struct tty_struct *tty) in cy_shutdown()
1492 static int cy_open(struct tty_struct *tty, struct file *filp) in cy_open()
1603 static void cy_wait_until_sent(struct tty_struct *tty, int timeout) in cy_wait_until_sent()
1659 static void cy_flush_buffer(struct tty_struct *tty) in cy_flush_buffer()
1743 static void cy_close(struct tty_struct *tty, struct file *filp) in cy_close()
[all …]
H A Dn_tracesink.c64 static int n_tracesink_open(struct tty_struct *tty) in n_tracesink_open()
90 static void n_tracesink_close(struct tty_struct *tty) in n_tracesink_close()
117 static ssize_t n_tracesink_read(struct tty_struct *tty, struct file *file, in n_tracesink_read()
143 static ssize_t n_tracesink_write(struct tty_struct *tty, struct file *file, in n_tracesink_write()
H A Dn_gsm.c202 struct tty_struct *tty; /* The tty our ldisc is bound to */ member
1080 static void gsm_process_modem(struct tty_struct *tty, struct gsm_dlci *dlci, in gsm_process_modem()
1150 struct tty_struct *tty; in gsm_control_modem() local
1659 struct tty_struct *tty; in gsm_dlci_data() local
1814 struct tty_struct *tty = tty_port_tty_get(&dlci->port); in gsm_dlci_release() local
2476 static int gsmld_attach_gsm(struct tty_struct *tty, struct gsm_mux *gsm) in gsmld_attach_gsm()
2517 static void gsmld_detach_gsm(struct tty_struct *tty, struct gsm_mux *gsm) in gsmld_detach_gsm()
2531 static void gsmld_receive_buf(struct tty_struct *tty, const unsigned char *cp, in gsmld_receive_buf()
2576 static void gsmld_flush_buffer(struct tty_struct *tty) in gsmld_flush_buffer()
2590 static void gsmld_close(struct tty_struct *tty) in gsmld_close()
[all …]
H A Dgoldfish.c158 static int goldfish_tty_activate(struct tty_port *port, struct tty_struct *tty) in goldfish_tty_activate()
173 static int goldfish_tty_open(struct tty_struct *tty, struct file *filp) in goldfish_tty_open()
179 static void goldfish_tty_close(struct tty_struct *tty, struct file *filp) in goldfish_tty_close()
184 static void goldfish_tty_hangup(struct tty_struct *tty) in goldfish_tty_hangup()
189 static int goldfish_tty_write(struct tty_struct *tty, const unsigned char *buf, in goldfish_tty_write()
196 static int goldfish_tty_write_room(struct tty_struct *tty) in goldfish_tty_write_room()
201 static int goldfish_tty_chars_in_buffer(struct tty_struct *tty) in goldfish_tty_chars_in_buffer()
247 struct tty_driver *tty; in goldfish_tty_create_driver() local
H A Dmoxa.c286 static int moxa_ioctl(struct tty_struct *tty, in moxa_ioctl()
384 static int moxa_break_ctl(struct tty_struct *tty, int state) in moxa_break_ctl()
1155 static int moxa_open(struct tty_struct *tty, struct file *filp) in moxa_open()
1197 static void moxa_close(struct tty_struct *tty, struct file *filp) in moxa_close()
1204 static int moxa_write(struct tty_struct *tty, in moxa_write()
1222 static int moxa_write_room(struct tty_struct *tty) in moxa_write_room()
1234 static void moxa_flush_buffer(struct tty_struct *tty) in moxa_flush_buffer()
1244 static int moxa_chars_in_buffer(struct tty_struct *tty) in moxa_chars_in_buffer()
1259 static int moxa_tiocmget(struct tty_struct *tty) in moxa_tiocmget()
1279 static int moxa_tiocmset(struct tty_struct *tty, in moxa_tiocmset()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ppp/
H A Dppp_async.c42 struct tty_struct *tty; member
132 static struct asyncppp *ap_get(struct tty_struct *tty) in ap_get()
155 ppp_asynctty_open(struct tty_struct *tty) in ppp_asynctty_open()
215 ppp_asynctty_close(struct tty_struct *tty) in ppp_asynctty_close()
250 static int ppp_asynctty_hangup(struct tty_struct *tty) in ppp_asynctty_hangup()
261 ppp_asynctty_read(struct tty_struct *tty, struct file *file, in ppp_asynctty_read()
273 ppp_asynctty_write(struct tty_struct *tty, struct file *file, in ppp_asynctty_write()
285 ppp_asynctty_ioctl(struct tty_struct *tty, struct file *file, in ppp_asynctty_ioctl()
335 ppp_asynctty_poll(struct tty_struct *tty, struct file *file, poll_table *wait) in ppp_asynctty_poll()
342 ppp_asynctty_receive(struct tty_struct *tty, const unsigned char *buf, in ppp_asynctty_receive()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/serial/
H A Dcypress_m8.c290 static int cypress_serial_control(struct tty_struct *tty, in cypress_serial_control()
579 static int cypress_open(struct tty_struct *tty, struct usb_serial_port *port) in cypress_open()
658 static int cypress_write(struct tty_struct *tty, struct usb_serial_port *port, in cypress_write()
794 static int cypress_write_room(struct tty_struct *tty) in cypress_write_room()
810 static int cypress_tiocmget(struct tty_struct *tty) in cypress_tiocmget()
836 static int cypress_tiocmset(struct tty_struct *tty, in cypress_tiocmset()
858 static void cypress_earthmate_init_termios(struct tty_struct *tty) in cypress_earthmate_init_termios()
863 static void cypress_set_termios(struct tty_struct *tty, in cypress_set_termios()
975 static int cypress_chars_in_buffer(struct tty_struct *tty) in cypress_chars_in_buffer()
991 static void cypress_throttle(struct tty_struct *tty) in cypress_throttle()
[all …]
H A Dopticon.c128 static int opticon_open(struct tty_struct *tty, struct usb_serial_port *port) in opticon_open()
190 static int opticon_write(struct tty_struct *tty, struct usb_serial_port *port, in opticon_write()
270 static int opticon_write_room(struct tty_struct *tty) in opticon_write_room()
292 static int opticon_chars_in_buffer(struct tty_struct *tty) in opticon_chars_in_buffer()
306 static int opticon_tiocmget(struct tty_struct *tty) in opticon_tiocmget()
324 static int opticon_tiocmset(struct tty_struct *tty, in opticon_tiocmset()
355 static int get_serial_info(struct tty_struct *tty, in get_serial_info()
H A Dmct_u232.c174 static int mct_u232_set_baud_rate(struct tty_struct *tty, in mct_u232_set_baud_rate()
413 static int mct_u232_open(struct tty_struct *tty, struct usb_serial_port *port) in mct_u232_open()
596 static void mct_u232_set_termios(struct tty_struct *tty, in mct_u232_set_termios()
681 static void mct_u232_break_ctl(struct tty_struct *tty, int break_state) in mct_u232_break_ctl()
699 static int mct_u232_tiocmget(struct tty_struct *tty) in mct_u232_tiocmget()
713 static int mct_u232_tiocmset(struct tty_struct *tty, in mct_u232_tiocmset()
738 static void mct_u232_throttle(struct tty_struct *tty) in mct_u232_throttle()
756 static void mct_u232_unthrottle(struct tty_struct *tty) in mct_u232_unthrottle()
H A Dusb_wwan.c89 int usb_wwan_tiocmget(struct tty_struct *tty) in usb_wwan_tiocmget()
108 int usb_wwan_tiocmset(struct tty_struct *tty, in usb_wwan_tiocmset()
135 int usb_wwan_get_serial_info(struct tty_struct *tty, in usb_wwan_get_serial_info()
151 int usb_wwan_set_serial_info(struct tty_struct *tty, in usb_wwan_set_serial_info()
181 int usb_wwan_write(struct tty_struct *tty, struct usb_serial_port *port, in usb_wwan_write()
327 int usb_wwan_write_room(struct tty_struct *tty) in usb_wwan_write_room()
348 int usb_wwan_chars_in_buffer(struct tty_struct *tty) in usb_wwan_chars_in_buffer()
370 int usb_wwan_open(struct tty_struct *tty, struct usb_serial_port *port) in usb_wwan_open()
H A Dupd78f0730.c188 static int upd78f0730_tiocmget(struct tty_struct *tty) in upd78f0730_tiocmget()
210 static int upd78f0730_tiocmset(struct tty_struct *tty, in upd78f0730_tiocmset()
247 static void upd78f0730_break_ctl(struct tty_struct *tty, int break_state) in upd78f0730_break_ctl()
273 struct tty_struct *tty = port->port.tty; in upd78f0730_dtr_rts() local
285 static speed_t upd78f0730_get_baud_rate(struct tty_struct *tty) in upd78f0730_get_baud_rate()
304 static void upd78f0730_set_termios(struct tty_struct *tty, in upd78f0730_set_termios()
382 static int upd78f0730_open(struct tty_struct *tty, struct usb_serial_port *port) in upd78f0730_open()
H A Dark3116.c192 static void ark3116_set_termios(struct tty_struct *tty, in ark3116_set_termios()
327 static int ark3116_open(struct tty_struct *tty, struct usb_serial_port *port) in ark3116_open()
390 static int ark3116_get_serial_info(struct tty_struct *tty, in ark3116_get_serial_info()
402 static int ark3116_tiocmget(struct tty_struct *tty) in ark3116_tiocmget()
428 static int ark3116_tiocmset(struct tty_struct *tty, in ark3116_tiocmset()
464 static void ark3116_break_ctl(struct tty_struct *tty, int break_state) in ark3116_break_ctl()
/OK3568_Linux_fs/kernel/arch/parisc/kernel/
H A Dpdc_cons.c84 static int pdc_console_tty_open(struct tty_struct *tty, struct file *filp) in pdc_console_tty_open()
92 static void pdc_console_tty_close(struct tty_struct *tty, struct file *filp) in pdc_console_tty_close()
100 static int pdc_console_tty_write(struct tty_struct *tty, const unsigned char *buf, int count) in pdc_console_tty_write()
106 static int pdc_console_tty_write_room(struct tty_struct *tty) in pdc_console_tty_write_room()
111 static int pdc_console_tty_chars_in_buffer(struct tty_struct *tty) in pdc_console_tty_chars_in_buffer()
/OK3568_Linux_fs/kernel/drivers/accessibility/speakup/
H A Dspk_ttyio.c46 static int spk_ttyio_ldisc_open(struct tty_struct *tty) in spk_ttyio_ldisc_open()
68 static void spk_ttyio_ldisc_close(struct tty_struct *tty) in spk_ttyio_ldisc_close()
76 static int spk_ttyio_receive_buf2(struct tty_struct *tty, in spk_ttyio_receive_buf2()
136 static inline void get_termios(struct tty_struct *tty, in get_termios()
147 struct tty_struct *tty; in spk_ttyio_initialise_ldisc() local
267 static int check_tty(struct tty_struct *tty) in check_tty()
/OK3568_Linux_fs/kernel/drivers/net/caif/
H A Dcaif_serial.c70 struct tty_struct *tty; member
95 static inline void debugfs_init(struct ser_device *ser, struct tty_struct *tty) in debugfs_init()
140 static inline void debugfs_init(struct ser_device *ser, struct tty_struct *tty) in debugfs_init()
162 static void ldisc_receive(struct tty_struct *tty, const u8 *data, in ldisc_receive()
211 struct tty_struct *tty; in handle_tx() local
287 static void ldisc_tx_wakeup(struct tty_struct *tty) in ldisc_tx_wakeup()
320 static int ldisc_open(struct tty_struct *tty) in ldisc_open()
369 static void ldisc_close(struct tty_struct *tty) in ldisc_close()
/OK3568_Linux_fs/kernel/drivers/staging/fwserial/
H A Dfwserial.c297 struct tty_struct *tty; in fwtty_update_port_status() local
444 struct tty_struct *tty; in fwtty_throttle_port() local
488 struct tty_struct *tty; in fwtty_do_hangup() local
704 struct tty_struct *tty; in fwtty_tx() local
925 static unsigned int set_termios(struct fwtty_port *port, struct tty_struct *tty) in set_termios()
976 struct tty_struct *tty) in fwtty_port_activate()
1038 static int fwtty_open(struct tty_struct *tty, struct file *fp) in fwtty_open()
1045 static void fwtty_close(struct tty_struct *tty, struct file *fp) in fwtty_close()
1052 static void fwtty_hangup(struct tty_struct *tty) in fwtty_hangup()
1059 static void fwtty_cleanup(struct tty_struct *tty) in fwtty_cleanup()
[all …]
/OK3568_Linux_fs/kernel/drivers/misc/ti-st/
H A Dst_core.c55 struct tty_struct *tty; in st_get_uart_wr_room() local
75 struct tty_struct *tty; in st_int_write() local
726 static int st_tty_open(struct tty_struct *tty) in st_tty_open()
754 static void st_tty_close(struct tty_struct *tty) in st_tty_close()
800 static void st_tty_receive(struct tty_struct *tty, const unsigned char *data, in st_tty_receive()
820 static void st_tty_wakeup(struct tty_struct *tty) in st_tty_wakeup()
835 static void st_tty_flush_buffer(struct tty_struct *tty) in st_tty_flush_buffer()
/OK3568_Linux_fs/kernel/drivers/s390/char/
H A Dtty3270.c850 struct tty_struct *tty; in tty3270_resize_work() local
906 struct tty_struct *tty = tty_port_tty_get(&tp->port); in tty3270_release() local
957 static int tty3270_install(struct tty_driver *driver, struct tty_struct *tty) in tty3270_install()
1036 tty3270_open(struct tty_struct *tty, struct file *filp) in tty3270_open()
1051 tty3270_close(struct tty_struct *tty, struct file * filp) in tty3270_close()
1061 static void tty3270_cleanup(struct tty_struct *tty) in tty3270_cleanup()
1075 tty3270_write_room(struct tty_struct *tty) in tty3270_write_room()
1637 tty3270_do_write(struct tty3270 *tp, struct tty_struct *tty, in tty3270_do_write()
1711 tty3270_write(struct tty_struct * tty, in tty3270_write()
1730 static int tty3270_put_char(struct tty_struct *tty, unsigned char ch) in tty3270_put_char()
[all …]
/OK3568_Linux_fs/kernel/drivers/tty/hvc/
H A Dhvcs.c502 static void hvcs_unthrottle(struct tty_struct *tty) in hvcs_unthrottle()
513 static void hvcs_throttle(struct tty_struct *tty) in hvcs_throttle()
545 struct tty_struct *tty = hvcsd->port.tty; in hvcs_try_write() local
575 struct tty_struct *tty; in hvcs_io() local
826 struct tty_struct *tty; in hvcs_remove() local
1084 static int hvcs_install(struct tty_driver *driver, struct tty_struct *tty) in hvcs_install()
1161 static int hvcs_open(struct tty_struct *tty, struct file *filp) in hvcs_open()
1179 static void hvcs_close(struct tty_struct *tty, struct file *filp) in hvcs_close()
1229 static void hvcs_cleanup(struct tty_struct * tty) in hvcs_cleanup()
1243 static void hvcs_hangup(struct tty_struct * tty) in hvcs_hangup()
[all …]
H A Dhvsi.c226 struct tty_struct *tty, struct hvsi_struct **to_handshake) in hvsi_recv_control()
388 static int hvsi_load_chunk(struct hvsi_struct *hp, struct tty_struct *tty, in hvsi_load_chunk()
479 struct tty_struct *tty; in hvsi_interrupt() local
699 static int hvsi_open(struct tty_struct *tty, struct file *filp) in hvsi_open()
762 static void hvsi_close(struct tty_struct *tty, struct file *filp) in hvsi_close()
814 static void hvsi_hangup(struct tty_struct *tty) in hvsi_hangup()
893 static int hvsi_write_room(struct tty_struct *tty) in hvsi_write_room()
900 static int hvsi_chars_in_buffer(struct tty_struct *tty) in hvsi_chars_in_buffer()
907 static int hvsi_write(struct tty_struct *tty, in hvsi_write()
966 static void hvsi_throttle(struct tty_struct *tty) in hvsi_throttle()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bluetooth_uart_driver/
H A Dhci_ldisc.c277 struct tty_struct *tty = hu->tty; in hci_uart_write_work() local
375 struct tty_struct *tty = hu->tty; in __hci_uart_flush() local
884 static int hci_uart_tty_open(struct tty_struct *tty) in hci_uart_tty_open()
948 static void hci_uart_tty_close(struct tty_struct *tty) in hci_uart_tty_close()
997 static void hci_uart_tty_wakeup(struct tty_struct *tty) in hci_uart_tty_wakeup()
1027 static void hci_uart_tty_receive(struct tty_struct *tty, const u8 * data, in hci_uart_tty_receive()
1227 static int hci_uart_tty_ioctl(struct tty_struct *tty, struct file *file, in hci_uart_tty_ioctl()
1294 static ssize_t hci_uart_tty_read(struct tty_struct *tty, struct file *file, in hci_uart_tty_read()
1305 static ssize_t hci_uart_tty_write(struct tty_struct *tty, struct file *file, in hci_uart_tty_write()
1311 static unsigned int hci_uart_tty_poll(struct tty_struct *tty, in hci_uart_tty_poll()
/OK3568_Linux_fs/kernel/drivers/net/can/
H A Dslcan.c84 struct tty_struct *tty; /* ptr to TTY structure */ member
343 static void slcan_write_wakeup(struct tty_struct *tty) in slcan_write_wakeup()
469 static void slcan_receive_buf(struct tty_struct *tty, in slcan_receive_buf()
565 static int slcan_open(struct tty_struct *tty) in slcan_open()
645 static void slcan_close(struct tty_struct *tty) in slcan_close()
666 static int slcan_hangup(struct tty_struct *tty) in slcan_hangup()
673 static int slcan_ioctl(struct tty_struct *tty, struct file *file, in slcan_ioctl()
/OK3568_Linux_fs/kernel/drivers/tty/serial/
H A Difx6x60.c284 static int ifx_spi_tiocmget(struct tty_struct *tty) in ifx_spi_tiocmget()
310 static int ifx_spi_tiocmset(struct tty_struct *tty, in ifx_spi_tiocmset()
338 static int ifx_spi_open(struct tty_struct *tty, struct file *filp) in ifx_spi_open()
351 static void ifx_spi_close(struct tty_struct *tty, struct file *filp) in ifx_spi_close()
486 static int ifx_spi_write(struct tty_struct *tty, const unsigned char *buf, in ifx_spi_write()
512 static int ifx_spi_write_room(struct tty_struct *tty) in ifx_spi_write_room()
525 static int ifx_spi_chars_in_buffer(struct tty_struct *tty) in ifx_spi_chars_in_buffer()
539 static void ifx_spi_hangup(struct tty_struct *tty) in ifx_spi_hangup()
552 static int ifx_port_activate(struct tty_port *port, struct tty_struct *tty) in ifx_port_activate()
/OK3568_Linux_fs/kernel/arch/alpha/kernel/
H A Dsrmcons.c133 srmcons_write(struct tty_struct *tty, in srmcons_write()
146 srmcons_write_room(struct tty_struct *tty) in srmcons_write_room()
152 srmcons_chars_in_buffer(struct tty_struct *tty) in srmcons_chars_in_buffer()
158 srmcons_open(struct tty_struct *tty, struct file *filp) in srmcons_open()
179 srmcons_close(struct tty_struct *tty, struct file *filp) in srmcons_close()
/OK3568_Linux_fs/kernel/drivers/pps/clients/
H A Dpps-ldisc.c18 static void pps_tty_dcd_change(struct tty_struct *tty, unsigned int status) in pps_tty_dcd_change()
43 static int pps_tty_open(struct tty_struct *tty) in pps_tty_open()
85 static void pps_tty_close(struct tty_struct *tty) in pps_tty_close()

12345678