Lines Matching refs:tb
323 struct tty_buffer *tb = port->buf.tail; in tty_insert_flip_string_fixed_flag() local
327 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_fixed_flag()
328 if (~tb->flags & TTYB_NORMAL) in tty_insert_flip_string_fixed_flag()
329 memset(flag_buf_ptr(tb, tb->used), flag, space); in tty_insert_flip_string_fixed_flag()
330 tb->used += space; in tty_insert_flip_string_fixed_flag()
361 struct tty_buffer *tb = port->buf.tail; in tty_insert_flip_string_flags() local
365 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_flags()
366 memcpy(flag_buf_ptr(tb, tb->used), flags, space); in tty_insert_flip_string_flags()
367 tb->used += space; in tty_insert_flip_string_flags()
390 struct tty_buffer *tb; in __tty_insert_flip_char() local
396 tb = port->buf.tail; in __tty_insert_flip_char()
397 if (~tb->flags & TTYB_NORMAL) in __tty_insert_flip_char()
398 *flag_buf_ptr(tb, tb->used) = flag; in __tty_insert_flip_char()
399 *char_buf_ptr(tb, tb->used++) = ch; in __tty_insert_flip_char()
424 struct tty_buffer *tb = port->buf.tail; in tty_prepare_flip_string() local
426 *chars = char_buf_ptr(tb, tb->used); in tty_prepare_flip_string()
427 if (~tb->flags & TTYB_NORMAL) in tty_prepare_flip_string()
428 memset(flag_buf_ptr(tb, tb->used), TTY_NORMAL, space); in tty_prepare_flip_string()
429 tb->used += space; in tty_prepare_flip_string()