Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/tty/hvc/
Dhvc_console.c466 hp->n_outbuf = 0; in hvc_hangup()
480 n = hp->ops->put_chars(hp->vtermno, hp->outbuf, hp->n_outbuf); in hvc_push()
488 hp->n_outbuf = 0; in hvc_push()
490 hp->n_outbuf -= n; in hvc_push()
491 if (hp->n_outbuf > 0) in hvc_push()
492 memmove(hp->outbuf, hp->outbuf + n, hp->n_outbuf); in hvc_push()
518 rsize = hp->outbuf_size - hp->n_outbuf; in hvc_write()
523 memcpy(hp->outbuf + hp->n_outbuf, buf, rsize); in hvc_write()
526 hp->n_outbuf += rsize; in hvc_write()
530 if (hp->n_outbuf > 0) in hvc_write()
[all …]
Dhvsi.c72 int n_outbuf; member
749 wait_event_timeout(hp->emptyq, (hp->n_outbuf <= 0), HVSI_TIMEOUT); in hvsi_flush_output()
759 hp->n_outbuf = 0; in hvsi_flush_output()
825 hp->n_outbuf = 0; in hvsi_hangup()
834 if (hp->n_outbuf <= 0) in hvsi_push()
837 n = hvsi_put_chars(hp, hp->outbuf, hp->n_outbuf); in hvsi_push()
841 hp->n_outbuf = 0; in hvsi_push()
863 pr_debug("%s: %i chars in buffer\n", __func__, hp->n_outbuf); in hvsi_write_worker()
877 if (hp->n_outbuf > 0) in hvsi_write_worker()
897 return N_OUTBUF - hp->n_outbuf; in hvsi_write_room()
[all …]
Dhvc_console.h42 int n_outbuf; member