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

/drivers/tty/hvc/
H A Dhvc_console.c429 hp->n_outbuf = 0;
452 n = hp->ops->put_chars(hp->vtermno, hp->outbuf, hp->n_outbuf);
460 hp->n_outbuf = 0;
462 hp->n_outbuf -= n;
463 if (hp->n_outbuf > 0)
464 memmove(hp->outbuf, hp->outbuf + n, hp->n_outbuf);
487 if (hp->n_outbuf > 0)
490 while (count > 0 && (rsize = hp->outbuf_size - hp->n_outbuf) > 0) {
493 memcpy(hp->outbuf + hp->n_outbuf, buf, rsize);
496 hp->n_outbuf
[all...]
H A Dhvsi.c86 int n_outbuf; member in struct:hvsi_struct
786 wait_event_timeout(hp->emptyq, (hp->n_outbuf <= 0), HVSI_TIMEOUT);
788 /* 'writer' could still be pending if it didn't see n_outbuf = 0 yet */
796 hp->n_outbuf = 0;
861 hp->n_outbuf = 0;
872 if (hp->n_outbuf <= 0)
875 n = hvsi_put_chars(hp, hp->outbuf, hp->n_outbuf);
879 hp->n_outbuf = 0;
901 pr_debug("%s: %i chars in buffer\n", __func__, hp->n_outbuf);
915 if (hp->n_outbuf >
[all...]
H A Dhvc_console.h56 int n_outbuf; member in struct:hvc_struct

Completed in 67 milliseconds