Lines Matching refs:read_buf
112 u8 read_buf[N_TTY_BUF_SIZE];
139 static inline u8 read_buf(struct n_tty_data *ldata, size_t i)
141 return ldata->read_buf[MASK(i)];
146 return &ldata->read_buf[MASK(i)];
180 from = ldata->read_buf;
295 * Add a character to the tty read_buf queue.
988 c = read_buf(ldata, head);
1015 echo_char_raw(read_buf(ldata, head), ldata);
1034 c = read_buf(ldata, tail);
1302 echo_char(read_buf(ldata, tail), tty);
1705 * the consumer has loaded the data in read_buf up to the new
2044 if (!found || read_buf(ldata, eol) != __DISABLED_CHAR)
2091 if (read_buf(ldata, tail) != __DISABLED_CHAR)
2486 read_buf(ldata, tail) == __DISABLED_CHAR)