OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:membuff
(Results
1 - 5
of
5
) sorted by null
/external/u-boot/include/
membuff.h
13
* @struct
membuff
: holds the state of a
membuff
- it is used for input and
16
* @head and read out from @tail. The
membuff
is empty when @head == @tail
18
* therefore waste one character in the
membuff
to avoid having an extra flag
19
* to determine whether (when @head == @tail) the
membuff
is empty or full.
32
struct
membuff
{
struct
40
* membuff_purge() - reset a
membuff
to the empty state
42
* Initialise head and tail pointers so that the
membuff
becomes empty.
44
* @mb:
membuff
to purge
46
void membuff_purge(struct
membuff
*mb)
[
all
...]
/external/u-boot/lib/
membuff.c
12
#include "
membuff
.h"
14
void membuff_purge(struct
membuff
*mb)
21
static int membuff_putrawflex(struct
membuff
*mb, int maxlen, bool update,
75
int membuff_putraw(struct
membuff
*mb, int maxlen, bool update, char **data)
87
bool membuff_putbyte(struct
membuff
*mb, int ch)
98
int membuff_getraw(struct
membuff
*mb, int maxlen, bool update, char **data)
149
int membuff_getbyte(struct
membuff
*mb)
156
int membuff_peekbyte(struct
membuff
*mb)
163
int membuff_get(struct
membuff
*mb, char *buff, int maxlen)
186
int membuff_put(struct
membuff
*mb, const char *buff, int length
[
all
...]
Makefile
85
obj-y +=
membuff
.o
/external/u-boot/include/asm-generic/
global_data.h
23
#include <
membuff
.h>
107
struct
membuff
console_out; /* console output */
108
struct
membuff
console_in; /* console input */
/external/u-boot/drivers/usb/emul/
sandbox_keyb.c
41
struct
membuff
in;
Completed in 3467 milliseconds