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()
403 struct tty_buffer *tb = port->buf.tail; in tty_prepare_flip_string() local
404 *chars = char_buf_ptr(tb, tb->used); in tty_prepare_flip_string()
405 if (~tb->flags & TTYB_NORMAL) in tty_prepare_flip_string()
406 memset(flag_buf_ptr(tb, tb->used), TTY_NORMAL, space); in tty_prepare_flip_string()
407 tb->used += space; in tty_prepare_flip_string()