Home
last modified time | relevance | path

Searched refs:char_buf_ptr (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/tty/
H A Dtty_buffer.c323 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_fixed_flag()
358 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_flags()
391 *char_buf_ptr(tb, tb->used++) = ch; in __tty_insert_flip_char()
416 *chars = char_buf_ptr(tb, tb->used); in tty_prepare_flip_string()
454 unsigned char *p = char_buf_ptr(head, head->read); in receive_buf()
/OK3568_Linux_fs/kernel/include/linux/
H A Dtty_flip.h27 *char_buf_ptr(tb, tb->used++) = ch; in tty_insert_flip_char()
H A Dtty.h76 static inline unsigned char *char_buf_ptr(struct tty_buffer *b, int ofs) in char_buf_ptr() function
83 return (char *)char_buf_ptr(b, ofs) + b->size; in flag_buf_ptr()