Lines Matching refs:tty_port

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