PCIE LLD Constants (enum's and define's)
[PCIE LLD Module API]



enum  pcieBarPref_e { pcie_BAR_NON_PREF = 0, pcie_BAR_PREF }



enum  pcieBarType_e { pcie_BAR_TYPE32 = 0, pcie_BAR_RSVD, pcie_BAR_TYPE64 }



enum  pcieBarMem_e { pcie_BAR_MEM_MEM = 0, pcie_BAR_MEM_IO }



enum  pcieRet_e { pcie_RET_OK = 0, pcie_RET_INV_HANDLE, pcie_RET_INV_DEVICENUM }



enum  pcieLtssmState_e



enum  pcieLocation_e { pcie_LOCATION_LOCAL, pcie_LOCATION_REMOTE }



enum  pcieObSize_e { pcie_OB_SIZE_1MB = 0, pcie_OB_SIZE_2MB, pcie_OB_SIZE_4MB, pcie_OB_SIZE_8MB }



enum  pcieState_e { pcie_DISABLE = 0, pcie_ENABLE }

Enumeration Type Documentation

These are the possible values for Memory BAR configuration

Enumerator:
pcie_BAR_MEM_MEM 

Memory BAR

pcie_BAR_MEM_IO 

IO BAR

These are the possible values for Prefetch BAR configuration

Enumerator:
pcie_BAR_NON_PREF 

Non Prefetchable Region

pcie_BAR_PREF 

Prefetchable Region

These are the possible values for Type BAR configuration

Enumerator:
pcie_BAR_TYPE32 

32 bits BAR

pcie_BAR_RSVD 

Reserved

pcie_BAR_TYPE64 

64 bits BAR

Selects whether to query or modify the local or remote PCIe registers.

Important note: PCIe registers are grouped into Application and Configuration registers.
This definition of Local/Remote is only applicable to PCIe configuration registers.
It is NOT applicable to PCIe application registers. For application registers, the LLD *always* accesses LOCAL PCIe application registers.

Enumerator:
pcie_LOCATION_LOCAL 

Access the local PCIe peripheral

pcie_LOCATION_REMOTE 

Access the remote PCIe peripheral

These are the possible values for the Encoding of LTSSM State in DEBUG0 registers

These are the possible sizes for the PCIe Outbound translation regions

Enumerator:
pcie_OB_SIZE_1MB 

Corresponds to a region size of 1MB

pcie_OB_SIZE_2MB 

Corresponds to a region size of 2MB

pcie_OB_SIZE_4MB 

Corresponds to a region size of 4MB

pcie_OB_SIZE_8MB 

Corresponds to a region size of 8MB

enum pcieRet_e

These are the possible return values from all PCIE LLD functions

Enumerator:
pcie_RET_OK 

Call succeeded

pcie_RET_INV_HANDLE 

Invalid handle

pcie_RET_INV_DEVICENUM 

Pcie_open deviceNum invalid

These are the Enable/Disable values used by the PCIe Driver

Enumerator:
pcie_DISABLE 

Disable

pcie_ENABLE 

Enable


Copyright 2012, Texas Instruments Incorporated