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
315 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 void tty_buffer_flush_work(struct tty_port *port);
527 extern void tty_port_init(struct tty_port *port);
528 extern void tty_port_link_device(struct tty_port *port,
530 extern struct device *tty_port_register_device(struct tty_port *port,
533 extern struct device *tty_port_register_device_attr(struct tty_port *port,
537 extern int tty_port_alloc_xmit_buf(struct tty_port *port);
538 extern void tty_port_free_xmit_buf(struct tty_port *port);
539 extern void tty_port_destroy(struct tty_port *port);
540 extern void tty_port_put(struct tty_port *port);
542 static inline struct tty_port *tty_port_get(struct tty_port *port) in tty_port_get()
550 static inline bool tty_port_cts_enabled(struct tty_port *port) in tty_port_cts_enabled()
555 extern struct tty_struct *tty_port_tty_get(struct tty_port *port);
556 extern void tty_port_tty_set(struct tty_port *port, struct tty_struct *tty);
557 extern int tty_port_carrier_raised(struct tty_port *port);
558 extern void tty_port_raise_dtr_rts(struct tty_port *port);
559 extern void tty_port_lower_dtr_rts(struct tty_port *port);
560 extern void tty_port_hangup(struct tty_port *port);
561 extern void tty_port_tty_hangup(struct tty_port *port, bool check_clocal);
562 extern void tty_port_tty_wakeup(struct tty_port *port);
563 extern int tty_port_block_til_ready(struct tty_port *port,
565 extern int tty_port_close_start(struct tty_port *port,
567 extern void tty_port_close_end(struct tty_port *port, struct tty_struct *tty);
568 extern void tty_port_close(struct tty_port *port,
570 extern int tty_port_install(struct tty_port *port, struct tty_driver *driver,
572 extern int tty_port_open(struct tty_port *port,
574 static inline int tty_port_users(struct tty_port *port) in tty_port_users()