Lines Matching refs:tty

9 #include <linux/tty.h>
22 #include "tty.h"
34 * We default to dicing tty buffer allocations to this many characters
45 * @port: tty port owning the flip buffer
64 * @port: tty port owning the flip buffer
85 * @port: tty port owning the flip buffer
114 * tty_buffer_free_all - free buffers used by a tty
115 * @port: tty port to free from
117 * Remove all the buffers pending on a tty whether queued with data or in the
118 * free ring. Must be called when the tty is no longer in use.
148 * tty_buffer_alloc - allocate a tty buffer
149 * @port: tty port
152 * Allocate a new tty buffer to hold the desired number of characters. We
191 * tty_buffer_free - free a tty buffer
192 * @port: tty port owning the buffer
195 * Free a tty buffer, or add it to the free list according to our internal
212 * tty_buffer_flush - flush full tty buffers
213 * @tty: tty to flush
221 void tty_buffer_flush(struct tty_struct *tty, struct tty_ldisc *ld)
223 struct tty_port *port = tty->port;
241 ld->ops->flush_buffer(tty);
248 * __tty_buffer_request_room - grow tty buffer if needed
249 * @port: tty port
253 * Make at least @size bytes of linear space available for the tty buffer.
342 * @port: tty port
387 count = ld->ops->receive_buf2(ld->tty, p, f, count);
389 count = min_t(size_t, count, ld->tty->receive_room);
391 ld->ops->receive_buf(ld->tty, p, f, count);
453 * @work: tty structure passed from work queue.
458 * The receive_buf() method is single threaded for each tty instance.
521 * @port: tty port to push
539 * tty_insert_flip_string_and_push_buffer - add characters to the tty buffer and
541 * @port: tty port
570 * tty_buffer_init - prepare a tty buffer structure
571 * @port: tty port to initialise
573 * Set up the initial state of the buffer management for a tty device. Must be
574 * called before the other tty buffer functions are used.
592 * tty_buffer_set_limit - change the tty buffer memory limit
593 * @port: tty port to change
596 * Change the tty buffer memory limit.
598 * Must be called before the other tty buffer functions are used.