Home
last modified time | relevance | path

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

/openbmc/u-boot/include/
H A Dcircbuf.h19 } circbuf_t; typedef
21 int buf_init (circbuf_t * buf, unsigned int size);
22 int buf_free (circbuf_t * buf);
23 int buf_pop (circbuf_t * buf, char *dest, unsigned int len);
24 int buf_push (circbuf_t * buf, const char *src, unsigned int len);
/openbmc/u-boot/lib/
H A Dcircbuf.c13 int buf_init (circbuf_t * buf, unsigned int size) in buf_init()
29 int buf_free (circbuf_t * buf) in buf_free()
35 memset (buf, 0, sizeof (circbuf_t)); in buf_free()
40 int buf_pop (circbuf_t * buf, char *dest, unsigned int len) in buf_pop()
69 int buf_push (circbuf_t * buf, const char *src, unsigned int len) in buf_push()
/openbmc/u-boot/drivers/serial/
H A Dusbtty.c53 static circbuf_t usbtty_input;
54 static circbuf_t usbtty_output;
367 static int write_buffer (circbuf_t * buf);
368 static int fill_buffer (circbuf_t * buf);
840 static int write_buffer (circbuf_t * buf) in write_buffer()
912 static int fill_buffer (circbuf_t * buf) in fill_buffer()