![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Functions | |
void | buffer_from_fifo32 (void *buffer, size_t size, void *fifo, int fifo_stride, int fifo_width) |
void | buffer_to_fifo32_prefix (const void *buffer, u32 prefix, int prefsz, size_t size, void *fifo, int fifo_stride, int fifo_width) |
void buffer_from_fifo32 | ( | void * | buffer, |
size_t | size, | ||
void * | fifo, | ||
int | fifo_stride, | ||
int | fifo_width | ||
) |
Definition at line 8 of file mmio.c.
References assert, buffer, MIN, read32(), and val.
Referenced by do_xfer(), handle_rx(), and i2c_read().
void buffer_to_fifo32_prefix | ( | const void * | buffer, |
u32 | prefix, | ||
int | prefsz, | ||
size_t | size, | ||
void * | fifo, | ||
int | fifo_stride, | ||
int | fifo_width | ||
) |
Definition at line 24 of file mmio.c.
References assert, buffer, MIN, val, and write32().
Referenced by buffer_to_fifo32(), and i2c_write().