Lines Matching refs:tty_port
56 void tty_buffer_lock_exclusive(struct tty_port *port) in tty_buffer_lock_exclusive()
65 void tty_buffer_unlock_exclusive(struct tty_port *port) in tty_buffer_unlock_exclusive()
91 unsigned int tty_buffer_space_avail(struct tty_port *port) in tty_buffer_space_avail()
117 void tty_buffer_free_all(struct tty_port *port) in tty_buffer_free_all()
156 static struct tty_buffer *tty_buffer_alloc(struct tty_port *port, size_t size) in tty_buffer_alloc()
197 static void tty_buffer_free(struct tty_port *port, struct tty_buffer *b) in tty_buffer_free()
224 struct tty_port *port = tty->port; in tty_buffer_flush()
260 static int __tty_buffer_request_room(struct tty_port *port, size_t size, in __tty_buffer_request_room()
297 int tty_buffer_request_room(struct tty_port *port, size_t size) in tty_buffer_request_room()
314 int tty_insert_flip_string_fixed_flag(struct tty_port *port, in tty_insert_flip_string_fixed_flag()
353 int tty_insert_flip_string_flags(struct tty_port *port, in tty_insert_flip_string_flags()
388 int __tty_insert_flip_char(struct tty_port *port, unsigned char ch, char flag) in __tty_insert_flip_char()
418 int tty_prepare_flip_string(struct tty_port *port, unsigned char **chars, in tty_prepare_flip_string()
462 receive_buf(struct tty_port *port, struct tty_buffer *head, int count) in receive_buf()
492 struct tty_port *port = container_of(work, struct tty_port, buf.work); in flush_to_ldisc()
556 void tty_flip_buffer_push(struct tty_port *port) in tty_flip_buffer_push()
579 int tty_insert_flip_string_and_push_buffer(struct tty_port *port, in tty_insert_flip_string_and_push_buffer()
604 void tty_buffer_init(struct tty_port *port) in tty_buffer_init()
628 int tty_buffer_set_limit(struct tty_port *port, int limit) in tty_buffer_set_limit()
638 void tty_buffer_set_lock_subclass(struct tty_port *port) in tty_buffer_set_lock_subclass()
643 bool tty_buffer_restart_work(struct tty_port *port) in tty_buffer_restart_work()
648 bool tty_buffer_cancel_work(struct tty_port *port) in tty_buffer_cancel_work()
653 void tty_buffer_flush_work(struct tty_port *port) in tty_buffer_flush_work()
658 void tty_schedule_flip(struct tty_port *port) in tty_schedule_flip()