#include <errno.h>
#include <limits.h>
#include <metal/io.h>
#include <metal/sys.h>
|
| void | metal_io_init (struct metal_io_region *io, void *virt, const metal_phys_addr_t *physmap, size_t size, unsigned int page_shift, unsigned int mem_flags, const struct metal_io_ops *ops) |
| | Open a libmetal I/O region. More...
|
| |
| int | metal_io_block_read (struct metal_io_region *io, unsigned long offset, void *restrict dst, int len) |
| | Read a block from an I/O region. More...
|
| |
| int | metal_io_block_write (struct metal_io_region *io, unsigned long offset, const void *restrict src, int len) |
| | Write a block into an I/O region. More...
|
| |
| int | metal_io_block_set (struct metal_io_region *io, unsigned long offset, unsigned char value, int len) |
| | fill a block of an I/O region. More...
|
| |