/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSmm/ |
D | S3Save.c | 91 SMM_PCI_IO_ADDRESS PciAddress; 267 PciAddress.Bus = 0; 268 PciAddress.Device = 0; 269 PciAddress.Function = 0; 270 PciAddress.ExtendedRegister = 0; 276 PciAddress.Register = ExtReg[Index]; 279 PciAddress.Bus, 280 PciAddress.Device, 281 PciAddress.Function, 282 PciAddress.Register [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/X64/ |
D | PlatformIoLib.c | 88 UINT32 PciAddress; in PciRead8() local 92 PciAddress = GetPciAddress (Segment, Bus, DevFunc, Register); in PciRead8() 96 PciAddress1 = PciAddress; in PciRead8() 97 PciAddress = ((PciAddress & 0xFFFFFFFC) | (0x80000000)); in PciRead8() 99 Status = EfiIoWrite (EfiCpuIoWidthUint32, PCI_CONFIG_INDEX_PORT, 1, &PciAddress); in PciRead8() 134 UINT32 PciAddress; in PciRead16() local 138 PciAddress = GetPciAddress (Segment, Bus, DevFunc, Register); in PciRead16() 142 PciAddress1 = PciAddress; in PciRead16() 143 PciAddress = ((PciAddress & 0xFFFFFFFC) | (0x80000000)); in PciRead16() 145 Status = EfiIoWrite (EfiCpuIoWidthUint32, PCI_CONFIG_INDEX_PORT, 1, &PciAddress); in PciRead16() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ia32/ |
D | PlatformIoLib.c | 86 UINT32 PciAddress; in PciRead8() local 90 PciAddress = GetPciAddress (Segment, Bus, DevFunc, Register); in PciRead8() 94 PciAddress1 = PciAddress; in PciRead8() 95 PciAddress = ((PciAddress & 0xFFFFFFFC) | (0x80000000)); in PciRead8() 97 Status = EfiIoWrite (EfiCpuIoWidthUint32, PCI_CONFIG_INDEX_PORT, 1, &PciAddress); in PciRead8() 132 UINT32 PciAddress; in PciRead16() local 136 PciAddress = GetPciAddress (Segment, Bus, DevFunc, Register); in PciRead16() 140 PciAddress1 = PciAddress; in PciRead16() 141 PciAddress = ((PciAddress & 0xFFFFFFFC) | (0x80000000)); in PciRead16() 143 Status = EfiIoWrite (EfiCpuIoWidthUint32, PCI_CONFIG_INDEX_PORT, 1, &PciAddress); in PciRead16() [all …]
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Pci/Dxe/PciHostBridge/ |
D | PciHostBridgeSupport.c | 25 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress, in ChipsetPreprocessController() argument 71 PciAddress.Register = PCI_LATENCY_TIMER_OFFSET; in ChipsetPreprocessController() 75 *((UINT64 *) &PciAddress), in ChipsetPreprocessController() 88 *((UINT64 *) &PciAddress), in ChipsetPreprocessController() 97 PciAddress.Register = PCI_CACHELINE_SIZE_OFFSET; in ChipsetPreprocessController() 102 *((UINT64 *) &PciAddress), in ChipsetPreprocessController()
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/ |
D | AcpiPciUpdate.c | 237 IN UINT32 PciAddress in SdtConvertToAcpiPciAdress() argument 242 ReturnAddress = ((PciAddress & 0x0000FF00) << 8) | (PciAddress & 0x000000FF); in SdtConvertToAcpiPciAdress() 244 if ((PciAddress & 0x000000FF) == 0x000000FF) in SdtConvertToAcpiPciAdress() 495 IN UINT32 PciAddress, in SdtCheckINTxPkgIsMatch() argument 526 if (CurrentPciAddress != PciAddress) { in SdtCheckINTxPkgIsMatch() 593 IN UINT32 PciAddress, in SdtGetINTxPkgHandle() argument 618 if (SdtCheckINTxPkgIsMatch(AcpiSdt, ChildPkgHandle, PciAddress, INTx, IsAPIC)) { in SdtGetINTxPkgHandle() 727 UINT32 PciAddress = 0; in SdtCheckParentPackage() local 734 PciAddress = SdtConvertToAcpiPciAdress(PciDeviceInfo->DeviceAddress); in SdtCheckParentPackage() 736 if ((PciAddress & 0xFFFF) == 0xFFFF) { in SdtCheckParentPackage() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PiDxeS3BootScriptLib/ |
D | BootScriptExecute.c | 668 UINT64 PciAddress; in ScriptPciCfg2Read() local 672 PciAddress = PCI_ADDRESS_ENCODE (Segment, Address); in ScriptPciCfg2Read() 674 Status = BuildLoopData (Width, PciAddress, &AddressStride, &BufferStride); in ScriptPciCfg2Read() 681 for (; Count > 0; Count--, PciAddress += AddressStride, Out.Buf += BufferStride) { in ScriptPciCfg2Read() 684 DEBUG ((EFI_D_INFO, "S3BootScriptWidthUint8 - 0x%016lx\n", PciAddress)); in ScriptPciCfg2Read() 685 *Out.Uint8 = PciSegmentRead8 (PciAddress); in ScriptPciCfg2Read() 688 DEBUG ((EFI_D_INFO, "S3BootScriptWidthFifoUint8 - 0x%016lx\n", PciAddress)); in ScriptPciCfg2Read() 689 *Out.Uint8 = PciSegmentRead8 (PciAddress); in ScriptPciCfg2Read() 692 DEBUG ((EFI_D_INFO, "S3BootScriptWidthFillUint8 - 0x%016lx\n", PciAddress)); in ScriptPciCfg2Read() 693 *Out.Uint8 = PciSegmentRead8 (PciAddress); in ScriptPciCfg2Read() [all …]
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/ |
D | AcpiSmmPlatform.c | 825 EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress; in SaveRuntimeScriptTable() local 845 PciAddress.Bus = mPciCfgRegTable[Index++]; in SaveRuntimeScriptTable() 846 PciAddress.Device = mPciCfgRegTable[Index++]; in SaveRuntimeScriptTable() 847 PciAddress.Function = mPciCfgRegTable[Index++]; in SaveRuntimeScriptTable() 848 PciAddress.Register = 0; in SaveRuntimeScriptTable() 849 PciAddress.ExtendedRegister = 0; in SaveRuntimeScriptTable() 851 …Data16 = PciRead16 (PCI_LIB_ADDRESS(PciAddress.Bus, PciAddress.Device, PciAddress.Function, PciAdd… in SaveRuntimeScriptTable() 865 PciAddress.Register = (UINT8) Offset; in SaveRuntimeScriptTable() 866 …Data32 = PciRead32 (PCI_LIB_ADDRESS(PciAddress.Bus, PciAddress.Device, PciAddress.Function, PciAdd… in SaveRuntimeScriptTable() 874 …PCILIB_TO_COMMON_ADDRESS (PCI_LIB_ADDRESS(PciAddress.Bus, PciAddress.Device, PciAddress.Function, … in SaveRuntimeScriptTable()
|
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/X64/ |
D | PcatIo.c | 101 EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress; in PcatRootBridgeIoPciRW() local 127 CopyMem (&PciAddress, &UserAddress, sizeof(UINT64)); in PcatRootBridgeIoPciRW() 129 if (PciAddress.ExtendedRegister > 0xFF) { in PcatRootBridgeIoPciRW() 140 if (PciAddress.ExtendedRegister != 0) { in PcatRootBridgeIoPciRW() 141 Pci.Bits.Reg = PciAddress.ExtendedRegister & 0xFF; in PcatRootBridgeIoPciRW() 143 Pci.Bits.Reg = PciAddress.Register; in PcatRootBridgeIoPciRW() 151 Pci.Bits.Func = PciAddress.Function; in PcatRootBridgeIoPciRW() 152 Pci.Bits.Dev = PciAddress.Device; in PcatRootBridgeIoPciRW() 153 Pci.Bits.Bus = PciAddress.Bus; in PcatRootBridgeIoPciRW() 172 This->Io.Write (This, EfiPciWidthUint32, PrivateData->PciAddress, 1, &PciAligned); in PcatRootBridgeIoPciRW() [all …]
|
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/ |
D | PcatIo.c | 101 EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress; in PcatRootBridgeIoPciRW() local 127 CopyMem (&PciAddress, &UserAddress, sizeof(UINT64)); in PcatRootBridgeIoPciRW() 129 if (PciAddress.ExtendedRegister > 0xFF) { in PcatRootBridgeIoPciRW() 140 if (PciAddress.ExtendedRegister != 0) { in PcatRootBridgeIoPciRW() 141 Pci.Bits.Reg = PciAddress.ExtendedRegister & 0xFF; in PcatRootBridgeIoPciRW() 143 Pci.Bits.Reg = PciAddress.Register; in PcatRootBridgeIoPciRW() 151 Pci.Bits.Func = PciAddress.Function; in PcatRootBridgeIoPciRW() 152 Pci.Bits.Dev = PciAddress.Device; in PcatRootBridgeIoPciRW() 153 Pci.Bits.Bus = PciAddress.Bus; in PcatRootBridgeIoPciRW() 172 This->Io.Write (This, EfiPciWidthUint32, PrivateData->PciAddress, 1, &PciAligned); in PcatRootBridgeIoPciRW() [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/EfiRegTableLib/ |
D | EfiRegTableLib.c | 67 (UINT64) Entry->PciAddress, in PciWrite() 76 (UINT64) Entry->PciAddress, in PciWrite() 110 (UINT64) Entry->PciAddress, in PciReadModifyWrite() 123 (UINT64) Entry->PciAddress, in PciReadModifyWrite() 132 (UINT64) Entry->PciAddress, in PciReadModifyWrite()
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/ |
D | PciHostBridgeResourceAllocation.c | 565 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress, in PciHbRaPreprocessController() argument 590 EFI_PCI_ADDRESS (PciAddress.Bus, PciAddress.Device, PciAddress.Function, CapabilityPtr), 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()
|
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/PciHostBridgeLib/ |
D | PciHostBridgeSupport.c | 124 UINTN PciAddress; in PcatPciRootBridgeBarExisted() local 126 PciAddress = (UINTN)Address; in PcatPciRootBridgeBarExisted() 131 *OriginalValue = PciRead32 (PciAddress); in PcatPciRootBridgeBarExisted() 138 PciWrite32 (PciAddress, 0xFFFFFFFF); in PcatPciRootBridgeBarExisted() 139 *Value = PciRead32 (PciAddress); in PcatPciRootBridgeBarExisted() 140 PciWrite32 (PciAddress, *OriginalValue); in PcatPciRootBridgeBarExisted()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/ |
D | EfiRegTableLib.h | 77 UINT32 PciAddress; member 91 UINT32 PciAddress; member
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/Library/ |
D | EfiRegTableLib.h | 86 UINT32 PciAddress; 106 UINT32 PciAddress;
|
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Ppi/ |
D | SmbusPolicy.h | 39 UINT32 PciAddress; member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/ |
D | PciHotPlugSupport.c | 420 UINT64 PciAddress; in GetResourcePaddingForHpb() local 428 …PciAddress = EFI_PCI_ADDRESS (PciIoDevice->BusNumber, PciIoDevice->DeviceNumber, PciIoDevice->Func… in GetResourcePaddingForHpb() 432 PciAddress, in GetResourcePaddingForHpb()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/ |
D | PciRootBridgeIo.c | 925 EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress; in RootBridgeIoPciAccess() local 940 CopyMem (&PciAddress, &Address, sizeof (PciAddress)); in RootBridgeIoPciAccess() 942 if (PciAddress.ExtendedRegister == 0) { in RootBridgeIoPciAccess() 943 PciAddress.ExtendedRegister = PciAddress.Register; in RootBridgeIoPciAccess() 948 PciAddress.Bus, in RootBridgeIoPciAccess() 949 PciAddress.Device, in RootBridgeIoPciAccess() 950 PciAddress.Function, in RootBridgeIoPciAccess() 951 PciAddress.ExtendedRegister in RootBridgeIoPciAccess()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BaseSerialPortLib16550/ |
D | BaseSerialPortLib16550.c | 131 UINTN PciAddress, in SerialPortLibUpdatePciRegister16() argument 138 CurrentValue = PciRead16 (PciAddress) & Mask; in SerialPortLibUpdatePciRegister16() 142 return PciWrite16 (PciAddress, Value & Mask); in SerialPortLibUpdatePciRegister16() 162 UINTN PciAddress, in SerialPortLibUpdatePciRegister32() argument 169 CurrentValue = PciRead32 (PciAddress) & Mask; in SerialPortLibUpdatePciRegister32() 173 return PciWrite32 (PciAddress, Value & Mask); in SerialPortLibUpdatePciRegister32()
|
/device/linaro/bootloader/edk2/CorebootModulePkg/Library/BaseSerialPortLib16550/ |
D | BaseSerialPortLib16550.c | 131 UINTN PciAddress, in SerialPortLibUpdatePciRegister16() argument 138 CurrentValue = PciRead16 (PciAddress) & Mask; in SerialPortLibUpdatePciRegister16() 142 return PciWrite16 (PciAddress, Value & Mask); in SerialPortLibUpdatePciRegister16() 162 UINTN PciAddress, in SerialPortLibUpdatePciRegister32() argument 169 CurrentValue = PciRead32 (PciAddress) & Mask; in SerialPortLibUpdatePciRegister32() 173 return PciWrite32 (PciAddress, Value & Mask); in SerialPortLibUpdatePciRegister32()
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/PciHostBridgeDxe/ |
D | PciHostBridge.h | 393 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress, 475 UINTN PciAddress; member
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Pci/Dxe/PciPlatform/ |
D | PciPlatform.h | 67 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress,
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D03/Drivers/PciPlatform/ |
D | PciPlatform.h | 90 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress,
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PciPlatform/ |
D | PciPlatform.h | 74 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress,
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
D | PciPlatform.h | 252 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress,
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Protocol/PciPlatform/ |
D | PciPlatform.h | 99 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress,
|