Lines Matching refs:tb
313 struct tty_buffer *tb = port->buf.tail; in tty_insert_flip_string_fixed_flag() local
316 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_fixed_flag()
317 if (~tb->flags & TTYB_NORMAL) in tty_insert_flip_string_fixed_flag()
318 memset(flag_buf_ptr(tb, tb->used), flag, space); in tty_insert_flip_string_fixed_flag()
319 tb->used += space; in tty_insert_flip_string_fixed_flag()
348 struct tty_buffer *tb = port->buf.tail; in tty_insert_flip_string_flags() local
351 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_flags()
352 memcpy(flag_buf_ptr(tb, tb->used), flags, space); in tty_insert_flip_string_flags()
353 tb->used += space; in tty_insert_flip_string_flags()
375 struct tty_buffer *tb; in __tty_insert_flip_char() local
381 tb = port->buf.tail; in __tty_insert_flip_char()
382 if (~tb->flags & TTYB_NORMAL) in __tty_insert_flip_char()
383 *flag_buf_ptr(tb, tb->used) = flag; in __tty_insert_flip_char()
384 *char_buf_ptr(tb, tb->used++) = ch; in __tty_insert_flip_char()
429 struct tty_buffer *tb = port->buf.tail; in tty_prepare_flip_string() local
430 *chars = char_buf_ptr(tb, tb->used); in tty_prepare_flip_string()
431 if (~tb->flags & TTYB_NORMAL) in tty_prepare_flip_string()
432 memset(flag_buf_ptr(tb, tb->used), TTY_NORMAL, space); in tty_prepare_flip_string()
433 tb->used += space; in tty_prepare_flip_string()