Lines Matching refs:tty_port

23 static size_t tty_port_default_receive_buf(struct tty_port *port, const u8 *p,
44 static void tty_port_default_lookahead_buf(struct tty_port *port, const u8 *p,
64 static void tty_port_default_wakeup(struct tty_port *port)
82 * tty_port_init -- initialize tty_port
83 * @port: tty_port to initialize
85 * Initializes the state of struct tty_port. When a port was initialized using
87 * indirectly by using &tty_port refcounting (tty_port_put()) or directly if
90 void tty_port_init(struct tty_port *port)
107 * tty_port_link_device - link tty and tty_port
108 * @port: tty_port of the device
113 * tty_port (@port). Use this only if neither tty_port_register_device() nor
117 void tty_port_link_device(struct tty_port *port,
128 * @port: tty_port of the device
137 struct device *tty_port_register_device(struct tty_port *port,
147 * @port: tty_port of the device
158 struct device *tty_port_register_device_attr(struct tty_port *port,
171 * @port: tty_port of the device
181 struct device *tty_port_register_device_attr_serdev(struct tty_port *port,
203 * @port: tty_port of the device
211 struct device *tty_port_register_device_serdev(struct tty_port *port,
222 * @port: tty_port of the device
230 void tty_port_unregister_device(struct tty_port *port,
243 int tty_port_alloc_xmit_buf(struct tty_port *port)
259 void tty_port_free_xmit_buf(struct tty_port *port)
274 * port by this function. Either indirectly by using &tty_port refcounting
277 void tty_port_destroy(struct tty_port *port)
286 struct tty_port *port = container_of(kref, struct tty_port, kref);
300 * tty_port_put -- drop a reference to tty_port
306 void tty_port_put(struct tty_port *port)
320 struct tty_struct *tty_port_tty_get(struct tty_port *port)
340 void tty_port_tty_set(struct tty_port *port, struct tty_struct *tty)
361 static void tty_port_shutdown(struct tty_port *port, struct tty_struct *tty)
392 void tty_port_hangup(struct tty_port *port)
417 void tty_port_tty_hangup(struct tty_port *port, bool check_clocal)
431 void tty_port_tty_wakeup(struct tty_port *port)
445 bool tty_port_carrier_raised(struct tty_port *port)
461 void tty_port_raise_dtr_rts(struct tty_port *port)
476 void tty_port_lower_dtr_rts(struct tty_port *port)
508 int tty_port_block_til_ready(struct tty_port *port,
594 static void tty_port_drain_delay(struct tty_port *port, struct tty_struct *tty)
610 * @port: tty_port of the device
623 int tty_port_close_start(struct tty_port *port,
670 * @port: tty_port of the device
679 void tty_port_close_end(struct tty_port *port, struct tty_struct *tty)
702 * @port: tty_port of the device
713 void tty_port_close(struct tty_port *port, struct tty_struct *tty,
728 * @port: tty_port of the device
736 int tty_port_install(struct tty_port *port, struct tty_driver *driver,
746 * @port: tty_port of the device
763 int tty_port_open(struct tty_port *port, struct tty_struct *tty,