Lines Matching refs:tty_port
52 void tty_buffer_lock_exclusive(struct tty_port *port)
69 void tty_buffer_unlock_exclusive(struct tty_port *port)
94 unsigned int tty_buffer_space_avail(struct tty_port *port)
120 void tty_buffer_free_all(struct tty_port *port)
159 static struct tty_buffer *tty_buffer_alloc(struct tty_port *port, size_t size)
198 static void tty_buffer_free(struct tty_port *port, struct tty_buffer *b)
223 struct tty_port *port = tty->port;
261 static int __tty_buffer_request_room(struct tty_port *port, size_t size,
294 int tty_buffer_request_room(struct tty_port *port, size_t size)
300 size_t __tty_insert_flip_string_flags(struct tty_port *port, const u8 *chars,
354 size_t tty_prepare_flip_string(struct tty_port *port, u8 **chars, size_t size)
397 static void lookahead_bufs(struct tty_port *port, struct tty_buffer *head)
436 receive_buf(struct tty_port *port, struct tty_buffer *head, size_t count)
464 struct tty_port *port = container_of(work, struct tty_port, buf.work);
529 void tty_flip_buffer_push(struct tty_port *port)
552 int tty_insert_flip_string_and_push_buffer(struct tty_port *port,
576 void tty_buffer_init(struct tty_port *port)
600 int tty_buffer_set_limit(struct tty_port *port, int limit)
610 void tty_buffer_set_lock_subclass(struct tty_port *port)
615 bool tty_buffer_restart_work(struct tty_port *port)
620 bool tty_buffer_cancel_work(struct tty_port *port)
625 void tty_buffer_flush_work(struct tty_port *port)