Searched refs:n_outbuf (Results 1 - 3 of 3) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/ |
H A D | hvc_console.c | 426 hp->n_outbuf = 0; 449 n = hp->ops->put_chars(hp->vtermno, hp->outbuf, hp->n_outbuf); 457 hp->n_outbuf = 0; 459 hp->n_outbuf -= n; 460 if (hp->n_outbuf > 0) 461 memmove(hp->outbuf, hp->outbuf + n, hp->n_outbuf); 484 if (hp->n_outbuf > 0) 487 while (count > 0 && (rsize = hp->outbuf_size - hp->n_outbuf) > 0) { 490 memcpy(hp->outbuf + hp->n_outbuf, buf, rsize); 493 hp->n_outbuf [all...] |
H A D | hvc_console.h | 56 int n_outbuf; member in struct:hvc_struct
|
H A D | hvsi.c | 85 int n_outbuf; member in struct:hvsi_struct 850 wait_event_timeout(hp->emptyq, (hp->n_outbuf <= 0), HVSI_TIMEOUT); 852 /* 'writer' could still be pending if it didn't see n_outbuf = 0 yet */ 860 hp->n_outbuf = 0; 925 hp->n_outbuf = 0; 936 if (hp->n_outbuf <= 0) 939 n = hvsi_put_chars(hp, hp->outbuf, hp->n_outbuf); 943 hp->n_outbuf = 0; 965 pr_debug("%s: %i chars in buffer\n", __func__, hp->n_outbuf); 979 if (hp->n_outbuf > [all...] |
Completed in 55 milliseconds