|
void | Pcie_init (void) |
| This function initializes the PCIe module. More...
|
|
Pcie_Handle | Pcie_open (uint32_t index) |
| This function opens a given PCIe peripheral. More...
|
|
void | Pcie_close (Pcie_Handle handle) |
| Function to close PCIe peripheral specified by PCIe handle. More...
|
|
Pcie_DeviceCfgBaseAddr * | Pcie_handleGetBases (Pcie_Handle handle) |
| Get the device base address info for the PCIe peripheral. More...
|
|
int32_t | Pcie_setInterfaceMode (Pcie_Handle handle, Pcie_Mode mode, Pcie_Gen gen) |
| Set interfac mode (RC/EP) More...
|
|
int32_t | Pcie_getMemSpaceReserved (Pcie_Handle handle, uint32_t *resSize) |
| Pcie_getMemSpaceReserved returns amount of reserved space between beginning of hardware's data area and the base returned by Pcie_getMemSpaceRange. More...
|
|
int32_t | Pcie_getMemSpaceRange (Pcie_Handle handle, void **base, uint32_t *size) |
| Returns the PCIe Internal Address Range for the memory space. This range is used for accessing memory. More...
|
|
int32_t | Pcie_cfgBar (Pcie_Handle handle, const Pcie_BarCfg *barCfg) |
| Configure a BAR Register (32 bits) More...
|
|
int32_t | Pcie_atuRegionConfig (Pcie_Handle handle, Pcie_Location location, uint32_t atuRegionIndex, const Pcie_AtuRegionParams *atuRegionParams) |
| Configure address translation registers. More...
|
|
int32_t | Pcie_getVendorId (Pcie_Handle handle, Pcie_Location location, uint32_t *vendorId, uint32_t *deviceId) |
| Get vendor ID and device ID of Pcie Device. More...
|
|
int32_t | Pcie_getPwrState (Pcie_Handle handle, Pcie_PwrState *pwrState) |
| Get current PCIe Power State. More...
|
|
int32_t | Pcie_getLinkParams (Pcie_Handle handle, Pcie_Gen *gen, uint32_t *numLanes) |
| Get current PCIe Link Parameter. More...
|
|
int32_t | Pcie_isLinkUp (Pcie_Handle handle) |
| Check if PCIe link training completed. More...
|
|
int32_t | Pcie_waitLinkUp (Pcie_Handle handle) |
| Wait for PCIe link training to complete. More...
|
|
int32_t | Pcie_checkLinkParams (Pcie_Handle handle) |
| Verify if the link parameters is established as configured. More...
|
|
int32_t | Pcie_LtssmCtrl (Pcie_Handle handle, uint8_t enable) |
| Enable/disable PCIe link training. More...
|
|
int32_t | Pcie_setLanes (Pcie_Handle handle) |
| Set number of PCIe lanes as configured. More...
|
|
int32_t | Pcie_cfgEP (Pcie_Handle handle) |
| Configure Pcie for EP (End Point) operation. PCIe mode setting is NOT done here (Pcie_setInterfaceMode) More...
|
|
int32_t | Pcie_cfgRC (Pcie_Handle handle) |
| Configure Pcie for RC (Root Complex) operation. PCIe mode setting is NOT done here (Pcie_setInterfaceMode) More...
|
|
int32_t | Pcie_setCfgEn (Pcie_Handle handle, int enable) |
| Set CONFIG_ENABLE to signal RC that the local EP configuration is completed. More...
|
|
int32_t | Pcie_setSlotClockCnfg (Pcie_Handle handle, int enable) |
| Set slot clock configuration bit in Link Status Register. More...
|
|
int32_t | Pcie_setDwnStrIrq (Pcie_Handle handle, int enable) |
| Enable downstream interrupt in PCIE Controller. More...
|
|
int32_t | Pcie_setLnkDwnStateIrq (Pcie_Handle handle, int enable) |
| Enable link down status interrupt in PCIE Controller. More...
|
|
int32_t | Pcie_setPwrStateIrq (Pcie_Handle handle, int enable) |
| Enable power management state interrupt in PCIE Controller. More...
|
|
int32_t | Pcie_setHotResetIrq (Pcie_Handle handle, int enable) |
| Enable hot reset interrupt in PCIE Controller. More...
|
|
int32_t | Pcie_ackDwnStrIrq (Pcie_Handle handle) |
| Acknowledge downstream interrupt. More...
|
|
int32_t | Pcie_ackLnkDwnStateIrq (Pcie_Handle handle) |
| Acknowledge link down status interrupt. More...
|
|
int32_t | Pcie_ackPwrStateIrq (Pcie_Handle handle) |
| Acknowledge power management state interrupt. More...
|
|