coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mmio.c File Reference
#include <assert.h>
#include <device/mmio.h>
Include dependency graph for mmio.c:

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)
 

Function Documentation

◆ buffer_from_fifo32()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ buffer_to_fifo32_prefix()

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().

Here is the call graph for this function:
Here is the caller graph for this function: