![]() |
xdmapcie
Xilinx SDK Drivers API Documentation
|
Implements all of supportive functions to expose PCIe capabilities.
MODIFICATION HISTORY:
Ver Who Date Changes
1.0 tk 01/30/2019 First release
Functions | |
u8 | XDmaPcie_HasCapability (XDmaPcie *InstancePtr, u8 Bus, u8 Device, u8 Function, u8 CapId) |
This function returns whether capability Id is available or not for the particular Function. More... | |
u64 | XDmaPcie_GetCapability (XDmaPcie *InstancePtr, u8 Bus, u8 Device, u8 Function, u8 CapId) |
This function returns offset to the matching capability ID from the Function's Linked list of the capability registers. More... | |
u8 | XDmaPcie_PrintAllCapabilites (XDmaPcie *InstancePtr, u8 Bus, u8 Device, u8 Function) |
This function prints all the available capabilities in the Function. More... | |
u64 XDmaPcie_GetCapability | ( | XDmaPcie * | InstancePtr, |
u8 | Bus, | ||
u8 | Device, | ||
u8 | Function, | ||
u8 | CapId | ||
) |
This function returns offset to the matching capability ID from the Function's Linked list of the capability registers.
InstancePtr | pointer to XDmaPcie Instance Pointer |
Bus | is the number of the Bus |
Device | is the number of the Device |
Function | is number of the Function |
cap | id to get capability pointer offset |
References XDmaPcie::Config, and XDmaPcie_ReadRemoteConfigSpace().
u8 XDmaPcie_HasCapability | ( | XDmaPcie * | InstancePtr, |
u8 | Bus, | ||
u8 | Device, | ||
u8 | Function, | ||
u8 | CapId | ||
) |
This function returns whether capability Id is available or not for the particular Function.
InstancePtr | pointer to XDmaPcie Instance Pointer |
Bus | is the number of the Bus |
Device | is the number of the Device |
Function | is number of the Function |
cap | id to check capability pointer availability |
References XDmaPcie_ReadRemoteConfigSpace().
u8 XDmaPcie_PrintAllCapabilites | ( | XDmaPcie * | InstancePtr, |
u8 | Bus, | ||
u8 | Device, | ||
u8 | Function | ||
) |
This function prints all the available capabilities in the Function.
InstancePtr | pointer to XDmaPcie Instance Pointer |
Bus | is the number of the Bus |
Device | is the number of the Device |
Function | is number of the Function |
References XDmaPcie_ReadRemoteConfigSpace().