Lines Matching defs:count
69 static int hvterm_raw_get_chars(uint32_t vtermno, char *buf, int count)
83 pv->left = hvc_get_chars(pv->termno, pv->buf, count);
100 got = min(count, pv->left);
116 * @count: number of chars to send.
118 static int hvterm_raw_put_chars(uint32_t vtermno, const char *buf, int count)
125 return hvc_put_chars(pv->termno, buf, count);
136 static int hvterm_hvsi_get_chars(uint32_t vtermno, char *buf, int count)
143 return hvsilib_get_chars(&pv->hvsi, buf, count);
146 static int hvterm_hvsi_put_chars(uint32_t vtermno, const char *buf, int count)
153 return hvsilib_put_chars(&pv->hvsi, buf, count);
229 int count = -1;
246 count = hvterm_raw_put_chars(0, bounce_buffer, 1);
249 count = hvterm_hvsi_put_chars(0, &c, 1);
252 } while (count == 0 || count == -EAGAIN);