pciepsu: xpciepsu_sinit.c File Reference

| pciepsu Xilinx SDK Drivers API Documentation

- Overview
- APIs
- File List
- Examples

Functions
xpciepsu_sinit.c File Reference

## Overview

This file contains PSU PCIe driver's static initialization.

    MODIFICATION HISTORY:

    Ver   Who  Date     Changes

    1.0     bs      08/21/2018      First release

## Functions
XPciePsu_Config * | XPciePsu_LookupConfig (u16 DeviceId)
| This function looks for the configuration of PCIe from the configTable based on the unique device ID. More...

## Function Documentation

XPciePsu_Config* XPciePsu_LookupConfig | ( | u16 | DeviceId | ) |

This function looks for the configuration of PCIe from the configTable based on the unique device ID.

The table XPciePsu_ConfigTable[] contains the configuration information for each device in the system.

Parameters

  DeviceId | is the unique device ID of the device being looked up.

Returns
  A pointer to the configuration table entry corresponding to the given device ID, or NULL if no match is found.

Referenced by PcieInitRootComplex(), and XPciePsu_InitEndPoint().