Lines Matching refs:tty_port
201 struct tty_port;
205 int (*carrier_raised)(struct tty_port *port);
207 void (*dtr_rts)(struct tty_port *port, int raise);
211 void (*shutdown)(struct tty_port *port);
216 int (*activate)(struct tty_port *port, struct tty_struct *tty);
218 void (*destruct)(struct tty_port *port);
221 struct tty_port { struct
314 struct tty_port *port;
465 extern void tty_buffer_free_all(struct tty_port *port);
467 extern void tty_buffer_init(struct tty_port *port);
468 extern void tty_buffer_set_lock_subclass(struct tty_port *port);
469 extern bool tty_buffer_restart_work(struct tty_port *port);
470 extern bool tty_buffer_cancel_work(struct tty_port *port);
471 extern void tty_buffer_flush_work(struct tty_port *port);
529 extern void tty_port_init(struct tty_port *port);
530 extern void tty_port_link_device(struct tty_port *port,
532 extern struct device *tty_port_register_device(struct tty_port *port,
535 extern struct device *tty_port_register_device_attr(struct tty_port *port,
539 extern int tty_port_alloc_xmit_buf(struct tty_port *port);
540 extern void tty_port_free_xmit_buf(struct tty_port *port);
541 extern void tty_port_destroy(struct tty_port *port);
542 extern void tty_port_put(struct tty_port *port);
544 static inline struct tty_port *tty_port_get(struct tty_port *port) in tty_port_get()
552 static inline bool tty_port_cts_enabled(struct tty_port *port) in tty_port_cts_enabled()
557 extern struct tty_struct *tty_port_tty_get(struct tty_port *port);
558 extern void tty_port_tty_set(struct tty_port *port, struct tty_struct *tty);
559 extern int tty_port_carrier_raised(struct tty_port *port);
560 extern void tty_port_raise_dtr_rts(struct tty_port *port);
561 extern void tty_port_lower_dtr_rts(struct tty_port *port);
562 extern void tty_port_hangup(struct tty_port *port);
563 extern void tty_port_tty_hangup(struct tty_port *port, bool check_clocal);
564 extern void tty_port_tty_wakeup(struct tty_port *port);
565 extern int tty_port_block_til_ready(struct tty_port *port,
567 extern int tty_port_close_start(struct tty_port *port,
569 extern void tty_port_close_end(struct tty_port *port, struct tty_struct *tty);
570 extern void tty_port_close(struct tty_port *port,
572 extern int tty_port_install(struct tty_port *port, struct tty_driver *driver,
574 extern int tty_port_open(struct tty_port *port,
576 static inline int tty_port_users(struct tty_port *port) in tty_port_users()