libocxl
|
Go to the source code of this file.
Functions | |
uint32_t | ocxl_afu_get_pasid (ocxl_afu_h afu) |
Get the PASID for the currently open context. More... | |
const ocxl_identifier * | ocxl_afu_get_identifier (ocxl_afu_h afu) |
Get the identifier of the AFU. More... | |
const char * | ocxl_afu_get_device_path (ocxl_afu_h afu) |
Get the canonical device path of the AFU. More... | |
const char * | ocxl_afu_get_sysfs_path (ocxl_afu_h afu) |
Get the canonical sysfs path of the AFU. More... | |
void | ocxl_afu_get_version (ocxl_afu_h afu, uint8_t *major, uint8_t *minor) |
Get the version of the AFU. More... | |
void | ocxl_afu_enable_messages (ocxl_afu_h afu, uint64_t sources) |
Enable messages from an AFU. More... | |
void | ocxl_afu_set_error_message_handler (ocxl_afu_h afu, void(*handler)(ocxl_afu_h afu, ocxl_err error, const char *message)) |
Override the default handler for emitting error messages for an AFU. More... | |
ocxl_err | ocxl_afu_open_from_dev (const char *path, ocxl_afu_h *afu) |
Open an AFU context at a specified path. More... | |
ocxl_err | ocxl_afu_open_specific (const char *name, const char *physical_function, int16_t afu_index, ocxl_afu_h *afu) |
Open an AFU context with a specified name on a specific card/afu index. More... | |
ocxl_err | ocxl_afu_open (const char *name, ocxl_afu_h *afu) |
Open an AFU context with a specified name. More... | |
ocxl_err | ocxl_afu_attach (ocxl_afu_h afu, __attribute__((unused)) uint64_t flags) |
Attach the calling process's memory to an open AFU context. More... | |
ocxl_err | ocxl_afu_close (ocxl_afu_h afu) |
Close an AFU and detach it from the context. More... | |
ocxl_err | ocxl_afu_set_ppc64_amr (ocxl_afu_h afu, uint64_t amr) |
Set the PPC64-specific PSL AMR register value for restricting access to the AFU. More... | |