Searched refs:n_outbuf (Results 1 – 3 of 3) sorted by relevance
/linux-3.4.99/drivers/tty/hvc/ |
D | hvc_console.c | 433 hp->n_outbuf = 0; in hvc_hangup() 456 n = hp->ops->put_chars(hp->vtermno, hp->outbuf, hp->n_outbuf); in hvc_push() 464 hp->n_outbuf = 0; in hvc_push() 466 hp->n_outbuf -= n; in hvc_push() 467 if (hp->n_outbuf > 0) in hvc_push() 468 memmove(hp->outbuf, hp->outbuf + n, hp->n_outbuf); in hvc_push() 491 if (hp->n_outbuf > 0) in hvc_write() 494 while (count > 0 && (rsize = hp->outbuf_size - hp->n_outbuf) > 0) { in hvc_write() 497 memcpy(hp->outbuf + hp->n_outbuf, buf, rsize); in hvc_write() 500 hp->n_outbuf += rsize; in hvc_write() [all …]
|
D | hvsi.c | 86 int n_outbuf; member 786 wait_event_timeout(hp->emptyq, (hp->n_outbuf <= 0), HVSI_TIMEOUT); in hvsi_flush_output() 796 hp->n_outbuf = 0; in hvsi_flush_output() 861 hp->n_outbuf = 0; in hvsi_hangup() 872 if (hp->n_outbuf <= 0) in hvsi_push() 875 n = hvsi_put_chars(hp, hp->outbuf, hp->n_outbuf); in hvsi_push() 879 hp->n_outbuf = 0; in hvsi_push() 901 pr_debug("%s: %i chars in buffer\n", __func__, hp->n_outbuf); in hvsi_write_worker() 915 if (hp->n_outbuf > 0) in hvsi_write_worker() 935 return N_OUTBUF - hp->n_outbuf; in hvsi_write_room() [all …]
|
D | hvc_console.h | 56 int n_outbuf; member
|