Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/tty/hvc/
Dhvc_console.c464 hp->n_outbuf = 0; in hvc_hangup()
478 n = hp->ops->put_chars(hp->vtermno, hp->outbuf, hp->n_outbuf); in hvc_push()
486 hp->n_outbuf = 0; in hvc_push()
488 hp->n_outbuf -= n; in hvc_push()
489 if (hp->n_outbuf > 0) in hvc_push()
490 memmove(hp->outbuf, hp->outbuf + n, hp->n_outbuf); in hvc_push()
514 if (hp->n_outbuf > 0) in hvc_write()
517 while (count > 0 && (rsize = hp->outbuf_size - hp->n_outbuf) > 0) { in hvc_write()
520 memcpy(hp->outbuf + hp->n_outbuf, buf, rsize); in hvc_write()
523 hp->n_outbuf += rsize; in hvc_write()
[all …]
Dhvsi.c85 int n_outbuf; member
762 wait_event_timeout(hp->emptyq, (hp->n_outbuf <= 0), HVSI_TIMEOUT); in hvsi_flush_output()
772 hp->n_outbuf = 0; in hvsi_flush_output()
838 hp->n_outbuf = 0; in hvsi_hangup()
847 if (hp->n_outbuf <= 0) in hvsi_push()
850 n = hvsi_put_chars(hp, hp->outbuf, hp->n_outbuf); in hvsi_push()
854 hp->n_outbuf = 0; in hvsi_push()
876 pr_debug("%s: %i chars in buffer\n", __func__, hp->n_outbuf); in hvsi_write_worker()
890 if (hp->n_outbuf > 0) in hvsi_write_worker()
910 return N_OUTBUF - hp->n_outbuf; in hvsi_write_room()
[all …]
Dhvc_console.h55 int n_outbuf; member