![]() |
dfxasm
Xilinx Vitis Drivers API Documentation
|
Data Structures | |
struct | XDfxasm |
The XDfxasm instance data structure. More... | |
Functions | |
XDfxasm_Config * | XDfxasm_LookupConfig (u16 DeviceId) |
This function looks for the device configuration based on the unique device ID. | |
s32 | XDfxasm_CfgInitialize (XDfxasm *InstancePtr, XDfxasm_Config *ConfigPtr, UINTPTR EffectiveAddress) |
This function initializes a XDfxasm instance/driver. | |
void | XDfxasm_SetState (XDfxasm *InstancePtr, XDfxasm_State ShutdownValue) |
This function is used to set shutdown manager in shutdown or pass through mode. | |
u32 | XDfxasm_GetState (XDfxasm *InstancePtr) |
This function is used to read the state of the shutdown manager. | |
s32 XDfxasm_CfgInitialize | ( | XDfxasm * | InstancePtr, |
XDfxasm_Config * | ConfigPtr, | ||
UINTPTR | EffectiveAddress | ||
) |
This function initializes a XDfxasm instance/driver.
InstancePtr | is a pointer to the XDfxasm instance. |
ConfigPtr | points to the XDfxasm device configuration structure. |
EffectiveAddress | is the device base address in the virtual memory address space. If the address translation is not used then the physical address is passed. |
Set some default values for instance data, don't indicate the device is ready to use until everything has been initialized successfully.
References XDfxasm::Config, and XDfxasm::IsReady.
Referenced by XDfxasm_Example().
u32 XDfxasm_GetState | ( | XDfxasm * | InstancePtr | ) |
This function is used to read the state of the shutdown manager.
InstancePtr | is a pointer to the XDfxasm instance. |
References XDfxasm::Config, XDfxasm::IsReady, XDFX_ASM_CTRL_OFFSET, XDFX_ASM_CTRL_SHUTDOWN_MASK, and XDfxasm_ReadReg.
Referenced by XDfxasm_TestState().
XDfxasm_Config* XDfxasm_LookupConfig | ( | u16 | DeviceId | ) |
This function looks for the device configuration based on the unique device ID.
The table XDfxasm_ConfigTable[] contains the configuration information for each device in the system.
DeviceId | is the unique device ID of the device being looked up. |
Referenced by XDfxasm_Example().
void XDfxasm_SetState | ( | XDfxasm * | InstancePtr, |
XDfxasm_State | ShutdownValue | ||
) |
This function is used to set shutdown manager in shutdown or pass through mode.
InstancePtr | is a pointer to the XDfxasm instance. |
ShutdownValue | is to set shutdown manager in shutdown or pass through mode. Value can be either 0 or 1. Values are
|
References XDfxasm::Config, XDfxasm::IsReady, XDFX_ASM_CTRL_OFFSET, and XDfxasm_WriteReg.
Referenced by XDfxasm_TestState().