Home
last modified time | relevance | path

Searched refs:CapabilityPtr (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/
DPciCommand.c119 UINT8 CapabilityPtr; in LocateCapabilityRegBlock() local
131 CapabilityPtr = *Offset; in LocateCapabilityRegBlock()
134 CapabilityPtr = 0; in LocateCapabilityRegBlock()
142 &CapabilityPtr in LocateCapabilityRegBlock()
151 &CapabilityPtr in LocateCapabilityRegBlock()
156 while ((CapabilityPtr >= 0x40) && ((CapabilityPtr & 0x03) == 0x00)) { in LocateCapabilityRegBlock()
160 CapabilityPtr, in LocateCapabilityRegBlock()
168 *Offset = CapabilityPtr; in LocateCapabilityRegBlock()
180 if (CapabilityPtr == (UINT8) (CapabilityEntry >> 8)) { in LocateCapabilityRegBlock()
184 CapabilityPtr = (UINT8) (CapabilityEntry >> 8); in LocateCapabilityRegBlock()
[all …]
/device/linaro/bootloader/edk2/DuetPkg/PciBusNoEnumerationDxe/
DPciCommand.c392 UINT8 CapabilityPtr; in LocateCapabilityRegBlock() local
404 CapabilityPtr = *Offset; in LocateCapabilityRegBlock()
407 CapabilityPtr = 0; in LocateCapabilityRegBlock()
415 &CapabilityPtr in LocateCapabilityRegBlock()
424 &CapabilityPtr in LocateCapabilityRegBlock()
429 while ((CapabilityPtr >= 0x40) && ((CapabilityPtr & 0x03) == 0x00)) { in LocateCapabilityRegBlock()
433 CapabilityPtr, in LocateCapabilityRegBlock()
441 *Offset = CapabilityPtr; in LocateCapabilityRegBlock()
449 CapabilityPtr = (UINT8) (CapabilityEntry >> 8); in LocateCapabilityRegBlock()
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/
DPciHostBridgeResourceAllocation.c571 UINT32 CapabilityPtr; in PciHbRaPreprocessController() local
586 CapabilityPtr = PCI_CAPBILITY_POINTER_OFFSET; in PciHbRaPreprocessController()
590 EFI_PCI_ADDRESS (PciAddress.Bus, PciAddress.Device, PciAddress.Function, CapabilityPtr), in PciHbRaPreprocessController()
592 &CapabilityPtr in PciHbRaPreprocessController()
594 CapabilityPtr &= 0x1FF; in PciHbRaPreprocessController()
597 while (CapabilityPtr != 0) { in PciHbRaPreprocessController()
601 EFI_PCI_ADDRESS (PciAddress.Bus, PciAddress.Device, PciAddress.Function, CapabilityPtr), in PciHbRaPreprocessController()
614 … EFI_PCI_ADDRESS (PciAddress.Bus, PciAddress.Device, PciAddress.Function, CapabilityPtr + 0x8), in PciHbRaPreprocessController()
629 … EFI_PCI_ADDRESS (PciAddress.Bus, PciAddress.Device, PciAddress.Function, CapabilityPtr + 0x8), in PciHbRaPreprocessController()
636 CapabilityPtr = (CapabilityEntry >> 8) & 0xFF; in PciHbRaPreprocessController()
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/
DDebugCommunicationLibUsb.c181 UINT8 CapabilityPtr; in CalculateUsbDebugPortBar() local
214 CapabilityPtr = PciRead8(PcdGet32(PcdUsbEhciPciAddress) + PCI_CAPBILITY_POINTER_OFFSET); in CalculateUsbDebugPortBar()
219 while (CapabilityPtr != 0) { in CalculateUsbDebugPortBar()
220 CapabilityId = PciRead8(PcdGet32(PcdUsbEhciPciAddress) + CapabilityPtr); in CalculateUsbDebugPortBar()
224 CapabilityPtr = PciRead8(PcdGet32(PcdUsbEhciPciAddress) + CapabilityPtr + 1); in CalculateUsbDebugPortBar()
230 if (CapabilityPtr == 0) { in CalculateUsbDebugPortBar()
237 …*DebugPortOffset = (UINT16)(PciRead16(PcdGet32(PcdUsbEhciPciAddress) + CapabilityPtr + 2) & 0x1… in CalculateUsbDebugPortBar()
238 …*DebugPortBarNumbar = (UINT8)((PciRead16(PcdGet32(PcdUsbEhciPciAddress) + CapabilityPtr + 2) >> 13… in CalculateUsbDebugPortBar()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciDxe/
DEhci.c1435 UINT8 CapabilityPtr; in EhcGetUsbDebugPortInfo() local
1473 &CapabilityPtr in EhcGetUsbDebugPortInfo()
1483 while (CapabilityPtr != 0) { in EhcGetUsbDebugPortInfo()
1487 CapabilityPtr, in EhcGetUsbDebugPortInfo()
1503 CapabilityPtr + 1, in EhcGetUsbDebugPortInfo()
1505 &CapabilityPtr in EhcGetUsbDebugPortInfo()
1516 if (CapabilityPtr == 0) { in EhcGetUsbDebugPortInfo()
1526 CapabilityPtr + 2, in EhcGetUsbDebugPortInfo()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/IndustryStandard/
Dpci22.h58 UINT8 CapabilityPtr; member
89 UINT8 CapabilityPtr; member
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/
Dpci22.h51 UINT8 CapabilityPtr; member
82 UINT8 CapabilityPtr; member
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DPci22.h58 UINT8 CapabilityPtr; member
97 UINT8 CapabilityPtr; member
/device/linaro/bootloader/edk2/OvmfPkg/Virtio10Dxe/
DVirtio10.c253 IN UINT8 CapabilityPtr in ParseCapabilities() argument
259 for (Offset = CapabilityPtr & 0xFC; in ParseCapabilities()
897 Status = ParseCapabilities (Device, Pci.Device.CapabilityPtr); in Virtio10BindingStart()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DPci.c2065 IN UINT8 CapabilityPtr,
4229 UINT8 CapabilityPtr; in PciExplainCapabilityStruct() local
4234 CapabilityPtr = CapPtr; in PciExplainCapabilityStruct()
4239 while ((CapabilityPtr >= 0x40) && ((CapabilityPtr & 0x03) == 0x00)) { in PciExplainCapabilityStruct()
4240 RegAddress = Address + CapabilityPtr; in PciExplainCapabilityStruct()
4249 PciExplainPciExpress (IoDev, Address, CapabilityPtr, EnhancedDump); in PciExplainCapabilityStruct()
4255 CapabilityPtr = (UINT8) (CapabilityEntry >> 8); in PciExplainCapabilityStruct()
5743 IN UINT8 CapabilityPtr, in PciExplainPciExpress() argument
5763 CapRegAddress = Address + CapabilityPtr; in PciExplainPciExpress()