Home
last modified time | relevance | path

Searched refs:tty_buffer (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/include/linux/
Dtty_buffer.h10 struct tty_buffer { struct
12 struct tty_buffer *next; argument
25 static inline u8 *char_buf_ptr(struct tty_buffer *b, unsigned int ofs) in char_buf_ptr() argument
30 static inline u8 *flag_buf_ptr(struct tty_buffer *b, unsigned int ofs) in flag_buf_ptr()
36 struct tty_buffer *head; /* Queue head */
40 struct tty_buffer sentinel;
44 struct tty_buffer *tail; /* Active buffer */
Dtty_flip.h67 struct tty_buffer *tb = port->buf.tail; in tty_insert_flip_char()
/linux-6.6.21/drivers/tty/
Dtty_buffer.c40 #define TTY_BUFFER_PAGE (((PAGE_SIZE - sizeof(struct tty_buffer)) / 2) & ~TTYB_ALIGN_MASK)
102 static void tty_buffer_reset(struct tty_buffer *p, size_t size) in tty_buffer_reset()
123 struct tty_buffer *p, *next; in tty_buffer_free_all()
159 static struct tty_buffer *tty_buffer_alloc(struct tty_port *port, size_t size) in tty_buffer_alloc()
162 struct tty_buffer *p; in tty_buffer_alloc()
170 p = llist_entry(free, struct tty_buffer, free); in tty_buffer_alloc()
198 static void tty_buffer_free(struct tty_port *port, struct tty_buffer *b) in tty_buffer_free()
225 struct tty_buffer *next; in tty_buffer_flush()
265 struct tty_buffer *n, *b = buf->tail; in __tty_buffer_request_room()
310 struct tty_buffer *tb = port->buf.tail; in __tty_insert_flip_string_flags()
[all …]
DMakefile3 tty_buffer.o tty_port.o tty_mutex.o \
/linux-6.6.21/Documentation/driver-api/tty/
Dtty_buffer.rst17 .. kernel-doc:: drivers/tty/tty_buffer.c
30 .. kernel-doc:: drivers/tty/tty_buffer.c
40 .. kernel-doc:: drivers/tty/tty_buffer.c
48 .. kernel-doc:: drivers/tty/tty_buffer.c
Dindex.rst38 tty_buffer