![]() |
pciepsu
Vitis Drivers API Documentation
|
Implements all of supportive functions to expose PCIe capabilities.
MODIFICATION HISTORY:
Ver Who Date Changes
1.0 bs 08/21/2018 First release
Functions | |
| u8 | XPciePsu_HasCapability (XPciePsu *InstancePtr, u8 Bus, u8 Device, u8 Function, u8 CapId) |
| This function returns whether capability Id is available or not for the particular Function. More... | |
| u8 | XPciePsu_PrintAllCapabilites (XPciePsu *InstancePtr, u8 Bus, u8 Device, u8 Function) |
| This function prints all the available capabilities in the Function. More... | |
| u8 XPciePsu_HasCapability | ( | XPciePsu * | 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 XPciePsu 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 XPciePsu_ReadConfigSpace().
| u8 XPciePsu_PrintAllCapabilites | ( | XPciePsu * | InstancePtr, |
| u8 | Bus, | ||
| u8 | Device, | ||
| u8 | Function | ||
| ) |
This function prints all the available capabilities in the Function.
| InstancePtr | pointer to XPciePsu Instance Pointer |
| Bus | is the number of the Bus |
| Device | is the number of the Device |
| Function | is number of the Function |
References XPciePsu_ReadConfigSpace().