12#ifndef __PCI_CAP_LIB_H__
13#define __PCI_CAP_LIB_H__
55 IN UINT16 SourceOffset,
56 OUT VOID *DestinationBuffer,
90 IN UINT16 DestinationOffset,
91 IN VOID *SourceBuffer,
129 PCI_CAP_DOMAIN Domain;
253 IN PCI_CAP_DOMAIN Domain,
296 IN PCI_CAP_DOMAIN Domain,
364 IN UINT16 SourceOffsetInCap,
365 OUT VOID *DestinationBuffer,
411 IN UINT16 DestinationOffsetInCap,
412 IN VOID *SourceBuffer,
VOID EFIAPI PciCapListUninit(IN PCI_CAP_LIST *CapList)
RETURN_STATUS EFIAPI PciCapWrite(IN PCI_CAP_DEV *PciDevice, IN PCI_CAP *Cap, IN UINT16 DestinationOffsetInCap, IN VOID *SourceBuffer, IN UINT16 Size)
RETURN_STATUS EFIAPI PciCapListFindCapVersion(IN PCI_CAP_LIST *CapList, IN PCI_CAP_DOMAIN Domain, IN UINT16 CapId, IN UINT8 MinVersion, OUT PCI_CAP **Cap OPTIONAL)
RETURN_STATUS(EFIAPI * PCI_CAP_DEV_READ_CONFIG)(IN PCI_CAP_DEV *PciDevice, IN UINT16 SourceOffset, OUT VOID *DestinationBuffer, IN UINT16 Size)
RETURN_STATUS(EFIAPI * PCI_CAP_DEV_WRITE_CONFIG)(IN PCI_CAP_DEV *PciDevice, IN UINT16 DestinationOffset, IN VOID *SourceBuffer, IN UINT16 Size)
RETURN_STATUS EFIAPI PciCapListInit(IN PCI_CAP_DEV *PciDevice, OUT PCI_CAP_LIST **CapList)
RETURN_STATUS EFIAPI PciCapGetInfo(IN PCI_CAP *Cap, OUT PCI_CAP_INFO *Info)
RETURN_STATUS EFIAPI PciCapRead(IN PCI_CAP_DEV *PciDevice, IN PCI_CAP *Cap, IN UINT16 SourceOffsetInCap, OUT VOID *DestinationBuffer, IN UINT16 Size)
RETURN_STATUS EFIAPI PciCapListFindCap(IN PCI_CAP_LIST *CapList, IN PCI_CAP_DOMAIN Domain, IN UINT16 CapId, IN UINT16 Instance, OUT PCI_CAP **Cap OPTIONAL)