Home
last modified time | relevance | path

Searched refs:membuff (Results 1 – 7 of 7) sorted by relevance

/u-boot/include/
A Dmembuff.h32 struct membuff { struct
46 void membuff_purge(struct membuff *mb);
101 int membuff_getbyte(struct membuff *mb);
112 int membuff_peekbyte(struct membuff *mb);
146 bool membuff_isempty(struct membuff *mb);
154 int membuff_avail(struct membuff *mb);
164 int membuff_size(struct membuff *mb);
175 bool membuff_makecontig(struct membuff *mb);
183 int membuff_free(struct membuff *mb);
227 void membuff_uninit(struct membuff *mb);
[all …]
/u-boot/lib/
A Dmembuff.c15 void membuff_purge(struct membuff *mb) in membuff_purge()
150 int membuff_getbyte(struct membuff *mb) in membuff_getbyte()
157 int membuff_peekbyte(struct membuff *mb) in membuff_peekbyte()
207 bool membuff_isempty(struct membuff *mb) in membuff_isempty()
212 int membuff_avail(struct membuff *mb) in membuff_avail()
214 struct membuff copy; in membuff_avail()
229 int membuff_size(struct membuff *mb) in membuff_size()
234 bool membuff_makecontig(struct membuff *mb) in membuff_makecontig()
285 int membuff_free(struct membuff *mb) in membuff_free()
379 void membuff_uninit(struct membuff *mb) in membuff_uninit()
[all …]
A DMakefile106 obj-y += membuff.o
/u-boot/arch/sandbox/include/asm/
A Dserial.h25 struct membuff buf;
/u-boot/common/
A Dconsole.c99 membuff_putbyte((struct membuff *)&gd->console_out, c); in console_record_putc()
107 membuff_put((struct membuff *)&gd->console_out, s, strlen(s)); in console_record_puts()
117 return membuff_getbyte((struct membuff *)&gd->console_in); in console_record_getc()
125 if (membuff_peekbyte((struct membuff *)&gd->console_in) != -1) in console_record_tstc()
731 ret = membuff_new((struct membuff *)&gd->console_out, in console_record_init()
735 ret = membuff_new((struct membuff *)&gd->console_in, in console_record_init()
743 membuff_purge((struct membuff *)&gd->console_out); in console_record_reset()
744 membuff_purge((struct membuff *)&gd->console_in); in console_record_reset()
757 return membuff_readline((struct membuff *)&gd->console_out, str, in console_record_readline()
763 return membuff_avail((struct membuff *)&gd->console_out); in console_record_avail()
/u-boot/include/asm-generic/
A Dglobal_data.h337 struct membuff console_out;
344 struct membuff console_in;
/u-boot/drivers/usb/emul/
A Dsandbox_keyb.c42 struct membuff in;

Completed in 14 milliseconds