Searched refs:tty_struct (Results 51 - 75 of 164) sorted by relevance

1234567

/linux-master/drivers/net/caif/
H A Dcaif_serial.c70 struct tty_struct *tty;
85 static void ldisc_tx_wakeup(struct tty_struct *tty);
94 static inline void debugfs_init(struct ser_device *ser, struct tty_struct *tty)
139 static inline void debugfs_init(struct ser_device *ser, struct tty_struct *tty)
161 static void ldisc_receive(struct tty_struct *tty, const u8 *data,
210 struct tty_struct *tty;
286 static void ldisc_tx_wakeup(struct tty_struct *tty)
319 static int ldisc_open(struct tty_struct *tty)
368 static void ldisc_close(struct tty_struct *tty)
/linux-master/drivers/staging/greybus/
H A Duart.c382 static int gb_tty_install(struct tty_driver *driver, struct tty_struct *tty)
402 static int gb_tty_open(struct tty_struct *tty, struct file *file)
409 static void gb_tty_close(struct tty_struct *tty, struct file *file)
416 static void gb_tty_cleanup(struct tty_struct *tty)
423 static void gb_tty_hangup(struct tty_struct *tty)
430 static ssize_t gb_tty_write(struct tty_struct *tty, const u8 *buf, size_t count)
442 static unsigned int gb_tty_write_room(struct tty_struct *tty)
459 static unsigned int gb_tty_chars_in_buffer(struct tty_struct *tty)
474 static int gb_tty_break_ctl(struct tty_struct *tty, int state)
481 static void gb_tty_set_termios(struct tty_struct *tt
[all...]
/linux-master/net/bluetooth/rfcomm/
H A Dtty.c110 static int rfcomm_dev_activate(struct tty_port *port, struct tty_struct *tty)
441 struct tty_struct *tty;
685 static void rfcomm_tty_cleanup(struct tty_struct *tty)
708 static int rfcomm_tty_install(struct tty_driver *driver, struct tty_struct *tty)
746 static int rfcomm_tty_open(struct tty_struct *tty, struct file *filp)
772 static void rfcomm_tty_close(struct tty_struct *tty, struct file *filp)
782 static ssize_t rfcomm_tty_write(struct tty_struct *tty, const u8 *buf,
812 static unsigned int rfcomm_tty_write_room(struct tty_struct *tty)
825 static int rfcomm_tty_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg)
858 static void rfcomm_tty_set_termios(struct tty_struct *tt
[all...]
/linux-master/drivers/usb/serial/
H A Dsymbolserial.c91 static int symbol_open(struct tty_struct *tty, struct usb_serial_port *port)
116 static void symbol_throttle(struct tty_struct *tty)
126 static void symbol_unthrottle(struct tty_struct *tty)
H A Dopticon.c128 static int opticon_open(struct tty_struct *tty, struct usb_serial_port *port)
190 static int opticon_write(struct tty_struct *tty, struct usb_serial_port *port,
268 static unsigned int opticon_write_room(struct tty_struct *tty)
290 static unsigned int opticon_chars_in_buffer(struct tty_struct *tty)
304 static int opticon_tiocmget(struct tty_struct *tty)
322 static int opticon_tiocmset(struct tty_struct *tty,
H A Dir-usb.c48 static int ir_write(struct tty_struct *tty, struct usb_serial_port *port,
50 static unsigned int ir_write_room(struct tty_struct *tty);
53 static void ir_set_termios(struct tty_struct *tty,
259 static int ir_write(struct tty_struct *tty, struct usb_serial_port *port,
343 static unsigned int ir_write_room(struct tty_struct *tty)
379 static void ir_set_termios(struct tty_struct *tty,
H A Dgeneric.c106 int usb_serial_generic_open(struct tty_struct *tty, struct usb_serial_port *port)
213 int usb_serial_generic_write(struct tty_struct *tty,
233 unsigned int usb_serial_generic_write_room(struct tty_struct *tty)
250 unsigned int usb_serial_generic_chars_in_buffer(struct tty_struct *tty)
268 void usb_serial_generic_wait_until_sent(struct tty_struct *tty, long timeout)
474 void usb_serial_generic_throttle(struct tty_struct *tty)
482 void usb_serial_generic_unthrottle(struct tty_struct *tty)
498 static bool usb_serial_generic_msr_changed(struct tty_struct *tty,
527 int usb_serial_generic_tiocmiwait(struct tty_struct *tty, unsigned long arg)
547 int usb_serial_generic_get_icount(struct tty_struct *tt
[all...]
H A Ddigi_acceleport.c215 static void digi_rx_throttle(struct tty_struct *tty);
216 static void digi_rx_unthrottle(struct tty_struct *tty);
217 static void digi_set_termios(struct tty_struct *tty,
220 static int digi_break_ctl(struct tty_struct *tty, int break_state);
221 static int digi_tiocmget(struct tty_struct *tty);
222 static int digi_tiocmset(struct tty_struct *tty, unsigned int set,
224 static int digi_write(struct tty_struct *tty, struct usb_serial_port *port,
227 static unsigned int digi_write_room(struct tty_struct *tty);
228 static unsigned int digi_chars_in_buffer(struct tty_struct *tty);
229 static int digi_open(struct tty_struct *tt
[all...]
H A Dwishbone-serial.c45 static int wishbone_serial_open(struct tty_struct *tty,
H A Doti6858.c119 static int oti6858_open(struct tty_struct *tty, struct usb_serial_port *port);
121 static void oti6858_set_termios(struct tty_struct *tty,
124 static void oti6858_init_termios(struct tty_struct *tty);
128 static int oti6858_write(struct tty_struct *tty, struct usb_serial_port *port,
130 static unsigned int oti6858_write_room(struct tty_struct *tty);
131 static unsigned int oti6858_chars_in_buffer(struct tty_struct *tty);
132 static int oti6858_tiocmget(struct tty_struct *tty);
133 static int oti6858_tiocmset(struct tty_struct *tty,
356 static int oti6858_write(struct tty_struct *tty, struct usb_serial_port *port,
367 static unsigned int oti6858_write_room(struct tty_struct *tt
[all...]
H A Dmetro-usb.c170 static int metrousb_open(struct tty_struct *tty, struct usb_serial_port *port)
267 static void metrousb_throttle(struct tty_struct *tty)
279 static int metrousb_tiocmget(struct tty_struct *tty)
293 static int metrousb_tiocmset(struct tty_struct *tty,
322 static void metrousb_unthrottle(struct tty_struct *tty)
H A Dti_usb_3410_5052.c307 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,
322 static int ti_break(struct tty_struct *tt
[all...]
H A Dxr_serial.c107 static void xr21v141x_set_line_settings(struct tty_struct *tty,
137 void (*set_line_settings)(struct tty_struct *tty,
438 static int xr_tiocmget(struct tty_struct *tty)
492 static int xr_tiocmset(struct tty_struct *tty,
508 static int xr_break_ctl(struct tty_struct *tty, int break_state)
561 static int xr21v141x_set_baudrate(struct tty_struct *tty, struct usb_serial_port *port)
627 static void xr_set_flow_mode(struct tty_struct *tty,
690 static void xr21v141x_set_line_settings(struct tty_struct *tty,
749 static void xr_cdc_set_line_coding(struct tty_struct *tty,
846 static int xr_get_rs485_config(struct tty_struct *tt
[all...]
/linux-master/sound/soc/codecs/
H A Dcx20442.c25 struct tty_struct *tty;
212 static int v253_open(struct tty_struct *tty)
237 static void v253_close(struct tty_struct *tty)
255 static void v253_hangup(struct tty_struct *tty)
261 static void v253_receive(struct tty_struct *tty, const u8 *cp, const u8 *fp,
388 struct tty_struct *tty = cx20442->tty;
/linux-master/drivers/tty/
H A Dehv_bytechan.c472 static ssize_t ehv_bc_tty_write(struct tty_struct *ttys, const u8 *s,
503 * This function can be called multiple times for a given tty_struct, which is
511 static int ehv_bc_tty_open(struct tty_struct *ttys, struct file *filp)
526 static void ehv_bc_tty_close(struct tty_struct *ttys, struct file *filp)
541 static unsigned int ehv_bc_tty_write_room(struct tty_struct *ttys)
566 static void ehv_bc_tty_throttle(struct tty_struct *ttys)
580 static void ehv_bc_tty_unthrottle(struct tty_struct *ttys)
590 static void ehv_bc_tty_hangup(struct tty_struct *ttys)
620 * why we initialize tty_struct-related variables here.
623 struct tty_struct *tty
[all...]
H A Dmxser.c484 static int mxser_set_baud(struct tty_struct *tty, speed_t newspd)
549 static void mxser_handle_cts(struct tty_struct *tty, struct mxser_port *info,
575 static void mxser_change_speed(struct tty_struct *tty,
686 static u8 mxser_check_modem_status(struct tty_struct *tty,
726 static int mxser_activate(struct tty_port *port, struct tty_struct *tty)
873 static int mxser_open(struct tty_struct *tty, struct file *filp)
883 static void mxser_flush_buffer(struct tty_struct *tty)
899 static void mxser_close(struct tty_struct *tty, struct file *filp)
904 static ssize_t mxser_write(struct tty_struct *tty, const u8 *buf, size_t count)
923 static int mxser_put_char(struct tty_struct *tt
[all...]
H A Dgoldfish.c150 static int goldfish_tty_activate(struct tty_port *port, struct tty_struct *tty)
165 static int goldfish_tty_open(struct tty_struct *tty, struct file *filp)
171 static void goldfish_tty_close(struct tty_struct *tty, struct file *filp)
176 static void goldfish_tty_hangup(struct tty_struct *tty)
181 static ssize_t goldfish_tty_write(struct tty_struct *tty, const u8 *buf,
188 static unsigned int goldfish_tty_write_room(struct tty_struct *tty)
193 static unsigned int goldfish_tty_chars_in_buffer(struct tty_struct *tty)
H A Dmoxa.c488 static int moxa_open(struct tty_struct *, struct file *);
489 static void moxa_close(struct tty_struct *, struct file *);
490 static ssize_t moxa_write(struct tty_struct *, const u8 *, size_t);
491 static unsigned int moxa_write_room(struct tty_struct *);
492 static void moxa_flush_buffer(struct tty_struct *);
493 static unsigned int moxa_chars_in_buffer(struct tty_struct *);
494 static void moxa_set_termios(struct tty_struct *, const struct ktermios *);
495 static void moxa_stop(struct tty_struct *);
496 static void moxa_start(struct tty_struct *);
497 static void moxa_hangup(struct tty_struct *);
[all...]
/linux-master/drivers/mmc/core/
H A Dsdio_uart.c411 struct tty_struct *tty;
448 struct tty_struct *tty;
576 static int sdio_uart_activate(struct tty_port *tport, struct tty_struct *tty)
708 static int sdio_uart_install(struct tty_driver *driver, struct tty_struct *tty)
730 static void sdio_uart_cleanup(struct tty_struct *tty)
741 static int sdio_uart_open(struct tty_struct *tty, struct file *filp)
747 static void sdio_uart_close(struct tty_struct *tty, struct file * filp)
753 static void sdio_uart_hangup(struct tty_struct *tty)
759 static ssize_t sdio_uart_write(struct tty_struct *tty, const u8 *buf,
782 static unsigned int sdio_uart_write_room(struct tty_struct *tt
[all...]
/linux-master/drivers/usb/host/
H A Dxhci-dbgtty.c181 static int dbc_tty_install(struct tty_driver *driver, struct tty_struct *tty)
197 static int dbc_tty_open(struct tty_struct *tty, struct file *file)
204 static void dbc_tty_close(struct tty_struct *tty, struct file *file)
211 static ssize_t dbc_tty_write(struct tty_struct *tty, const u8 *buf,
226 static int dbc_tty_put_char(struct tty_struct *tty, u8 ch)
239 static void dbc_tty_flush_chars(struct tty_struct *tty)
249 static unsigned int dbc_tty_write_room(struct tty_struct *tty)
262 static unsigned int dbc_tty_chars_in_buffer(struct tty_struct *tty)
275 static void dbc_tty_unthrottle(struct tty_struct *tty)
300 struct tty_struct *tt
[all...]
/linux-master/drivers/net/ppp/
H A Dppp_synctty.c53 struct tty_struct *tty;
134 static struct syncppp *sp_get(struct tty_struct *tty)
156 ppp_sync_open(struct tty_struct *tty)
214 ppp_sync_close(struct tty_struct *tty)
248 static void ppp_sync_hangup(struct tty_struct *tty)
258 ppp_sync_read(struct tty_struct *tty, struct file *file, u8 *buf, size_t count,
269 ppp_sync_write(struct tty_struct *tty, struct file *file, const u8 *buf,
276 ppp_synctty_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg)
325 ppp_sync_receive(struct tty_struct *tty, const u8 *buf, const u8 *cflags,
343 ppp_sync_wakeup(struct tty_struct *tt
[all...]
/linux-master/drivers/bluetooth/
H A Dhci_ldisc.c148 struct tty_struct *tty = hu->tty;
228 struct tty_struct *tty = hu->tty;
310 struct tty_struct *tty = hu->tty;
375 struct tty_struct *tty = hu->tty;
476 static int hci_uart_tty_open(struct tty_struct *tty)
524 static void hci_uart_tty_close(struct tty_struct *tty)
571 static void hci_uart_tty_wakeup(struct tty_struct *tty)
601 static void hci_uart_tty_receive(struct tty_struct *tty, const u8 *data,
744 static int hci_uart_tty_ioctl(struct tty_struct *tty, unsigned int cmd,
803 static ssize_t hci_uart_tty_read(struct tty_struct *tt
[all...]
/linux-master/arch/alpha/kernel/
H A Dsrmcons.c131 srmcons_write(struct tty_struct *tty, const u8 *buf, size_t count)
143 srmcons_write_room(struct tty_struct *tty)
149 srmcons_open(struct tty_struct *tty, struct file *filp)
170 srmcons_close(struct tty_struct *tty, struct file *filp)
/linux-master/drivers/s390/char/
H A Dcon3215.c334 static void raw3215_next_io(struct raw3215_info *raw, struct tty_struct *tty)
350 struct tty_struct *tty;
957 static int tty3215_install(struct tty_driver *driver, struct tty_struct *tty)
975 static int tty3215_open(struct tty_struct *tty, struct file * filp)
993 static void tty3215_close(struct tty_struct *tty, struct file * filp)
1009 static unsigned int tty3215_write_room(struct tty_struct *tty)
1023 static ssize_t tty3215_write(struct tty_struct *tty, const u8 *buf,
1033 static int tty3215_put_char(struct tty_struct *tty, u8 ch)
1042 static void tty3215_flush_chars(struct tty_struct *tty)
1049 static unsigned int tty3215_chars_in_buffer(struct tty_struct *tt
[all...]
/linux-master/drivers/isdn/capi/
H A Dcapi.c309 struct tty_struct *tty;
326 struct tty_struct *tty;
410 struct tty_struct *tty;
494 struct tty_struct *tty;
1043 capinc_tty_install(struct tty_driver *driver, struct tty_struct *tty)
1055 static void capinc_tty_cleanup(struct tty_struct *tty)
1062 static int capinc_tty_open(struct tty_struct *tty, struct file *filp)
1075 static void capinc_tty_close(struct tty_struct *tty, struct file *filp)
1082 static ssize_t capinc_tty_write(struct tty_struct *tty, const u8 *buf,
1117 static int capinc_tty_put_char(struct tty_struct *tt
[all...]

Completed in 216 milliseconds

1234567