Home
last modified time | relevance | path

Searched refs:PciAddress (Results 1 – 25 of 44) sorted by relevance

12

/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSmm/
DS3Save.c91 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/
DPlatformIoLib.c88 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/
DPlatformIoLib.c86 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/
DPciHostBridgeSupport.c25 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/
DAcpiPciUpdate.c237 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/
DBootScriptExecute.c668 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/
DAcpiSmmPlatform.c825 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/
DPcatIo.c101 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/
DPcatIo.c101 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/
DEfiRegTableLib.c67 (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/
DPciHostBridgeResourceAllocation.c565 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/
DPciHostBridgeSupport.c124 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/
DEfiRegTableLib.h77 UINT32 PciAddress; member
91 UINT32 PciAddress; member
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/Library/
DEfiRegTableLib.h86 UINT32 PciAddress;
106 UINT32 PciAddress;
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Ppi/
DSmbusPolicy.h39 UINT32 PciAddress; member
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/
DPciHotPlugSupport.c420 UINT64 PciAddress; in GetResourcePaddingForHpb() local
428PciAddress = EFI_PCI_ADDRESS (PciIoDevice->BusNumber, PciIoDevice->DeviceNumber, PciIoDevice->Func… in GetResourcePaddingForHpb()
432 PciAddress, in GetResourcePaddingForHpb()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/
DPciRootBridgeIo.c925 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/
DBaseSerialPortLib16550.c131 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/
DBaseSerialPortLib16550.c131 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/
DPciHostBridge.h393 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress,
475 UINTN PciAddress; member
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Pci/Dxe/PciPlatform/
DPciPlatform.h67 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress,
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D03/Drivers/PciPlatform/
DPciPlatform.h90 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress,
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PciPlatform/
DPciPlatform.h74 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress,
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DPciPlatform.h252 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Protocol/PciPlatform/
DPciPlatform.h99 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS PciAddress,

12