libocxl
|
Go to the source code of this file.
Functions | |
ocxl_err | global_mmio_open (ocxl_afu *afu) |
Open the global MMIO descriptor on an AFU. More... | |
ocxl_err | ocxl_mmio_map_advanced (ocxl_afu_h afu, ocxl_mmio_type type, size_t size, int prot, uint64_t flags, off_t offset, ocxl_mmio_h *region) |
Map an MMIO area of an AFU. More... | |
ocxl_err | ocxl_mmio_map (ocxl_afu_h afu, ocxl_mmio_type type, ocxl_mmio_h *region) |
Map an MMIO area of an AFU. More... | |
void | ocxl_mmio_unmap (ocxl_mmio_h region) |
Unmap an MMIO region from an AFU. More... | |
int | ocxl_mmio_get_fd (ocxl_afu_h afu, ocxl_mmio_type type) |
Get a file descriptor for an MMIO area of an AFU. More... | |
size_t | ocxl_mmio_size (ocxl_afu_h afu, ocxl_mmio_type type) |
Get the size of an MMIO region for an AFU. More... | |
ocxl_err | ocxl_mmio_get_info (ocxl_mmio_h region, void **address, size_t *size) |
Get the address & size of a mapped MMIO region. More... | |
ocxl_err | ocxl_mmio_read32 (ocxl_mmio_h mmio, off_t offset, ocxl_endian endian, uint32_t *out) |
Read a 32-bit value from an AFU's MMIO region & convert endianess. More... | |
ocxl_err | ocxl_mmio_read64 (ocxl_mmio_h mmio, off_t offset, ocxl_endian endian, uint64_t *out) |
Read a 64-bit value from an AFU's MMIO region & convert endianess. More... | |
ocxl_err | ocxl_mmio_write32 (ocxl_mmio_h mmio, off_t offset, ocxl_endian endian, uint32_t value) |
Convert endianess and write a 32-bit value to an AFU's MMIO region. More... | |
ocxl_err | ocxl_mmio_write64 (ocxl_mmio_h mmio, off_t offset, ocxl_endian endian, uint64_t value) |
Convert endianess and write a 64-bit value to an AFU's MMIO region. More... | |