Lines Matching refs:tb
307 struct tty_buffer *tb = port->buf.tail; in tty_insert_flip_string_fixed_flag() local
310 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_fixed_flag()
311 if (~tb->flags & TTYB_NORMAL) in tty_insert_flip_string_fixed_flag()
312 memset(flag_buf_ptr(tb, tb->used), flag, space); in tty_insert_flip_string_fixed_flag()
313 tb->used += space; in tty_insert_flip_string_fixed_flag()
342 struct tty_buffer *tb = port->buf.tail; in tty_insert_flip_string_flags() local
345 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_flags()
346 memcpy(flag_buf_ptr(tb, tb->used), flags, space); in tty_insert_flip_string_flags()
347 tb->used += space; in tty_insert_flip_string_flags()
394 struct tty_buffer *tb = port->buf.tail; in tty_prepare_flip_string() local
395 *chars = char_buf_ptr(tb, tb->used); in tty_prepare_flip_string()
396 if (~tb->flags & TTYB_NORMAL) in tty_prepare_flip_string()
397 memset(flag_buf_ptr(tb, tb->used), TTY_NORMAL, space); in tty_prepare_flip_string()
398 tb->used += space; in tty_prepare_flip_string()