Home
last modified time | relevance | path

Searched refs:IoBase (Results 1 – 25 of 30) sorted by relevance

12

/device/linaro/bootloader/edk2/MdeModulePkg/Library/BaseSerialPortLib16550/
DBaseSerialPortLib16550.c197 UINT32 IoBase; in GetSerialRegisterBase() local
274 IoBase = PciRead8 (PciLibAddress + OFFSET_OF (PCI_TYPE01, Bridge.IoBase)); in GetSerialRegisterBase()
275 if ((IoBase & PCI_BRIDGE_32_BIT_IO_SPACE ) == 0) { in GetSerialRegisterBase()
276 IoBase = IoBase >> 4; in GetSerialRegisterBase()
278IoBase = (PciRead16 (PciLibAddress + OFFSET_OF (PCI_TYPE01, Bridge.IoBaseUpper16)) << 4) | (IoBase in GetSerialRegisterBase()
284 if (IoLimit < IoBase) { in GetSerialRegisterBase()
291 if (IoBase < ParentIoBase || IoBase > ParentIoLimit || IoLimit > ParentIoLimit) { in GetSerialRegisterBase()
294 ParentIoBase = IoBase; in GetSerialRegisterBase()
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/
DPcatPciRootBridge.c105 PrivateData->IoBase = 0xffffffff; in InitializePcatPciRootBridge()
251 Value = PciConfigurationHeader.Bridge.IoBase & 0x0f; in InitializePcatPciRootBridge()
252 Base = ((UINT32)PciConfigurationHeader.Bridge.IoBase & 0xf0) << 8; in InitializePcatPciRootBridge()
259 if (PrivateData->IoBase > Base) { in InitializePcatPciRootBridge()
260 PrivateData->IoBase = Base; in InitializePcatPciRootBridge()
434 PrivateData->IoBase = 0; in InitializePcatPciRootBridge()
572 if (PrivateData->IoLimit >= PrivateData->IoBase) { in ConstructConfiguration()
651 if (PrivateData->IoLimit >= PrivateData->IoBase) { in ConstructConfiguration()
656 Configuration->AddrRangeMin = PrivateData->IoBase; in ConstructConfiguration()
866 if (PrivateData->IoBase > Base) { in PcatPciRootBridgeParseBars()
[all …]
DPcatPciRootBridge.h66 UINT64 IoBase; // Offsets host to bus io addr. member
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/
DMemoryCallback.c152 UINT32 IoBase; in MemoryDiscoveredPpiNotifyCallback()
218IoBase = MmPci32( 0, DEFAULT_PCI_BUS_NUMBER_PCH, PCI_DEVICE_NUMBER_PCH_LPC, 0, R_PCH_LPC_IO_BASE )… in MemoryDiscoveredPpiNotifyCallback()
222 IoBase, in MemoryDiscoveredPpiNotifyCallback()
225 DEBUG ((EFI_D_INFO, "IoBase : 0x%x\n", IoBase)); in MemoryDiscoveredPpiNotifyCallback()
DPchInitPeim.c616 UINT32 IoBase;
652 PchPlatformPolicyPpi->IoBase = IO_BASE_ADDRESS;
709 IoBase = MmioRead32 (MmPciAddress (0,
715 MmioAnd32 ((UINTN) (IoBase + 0x270), (UINT32) (~0x07));
/device/linaro/bootloader/edk2/ArmVirtPkg/VirtFdtDxe/
DVirtFdtDxe.c160 UINT64 IoBase, IoSize, IoTranslation; in ProcessPciHost() local
207 IoBase = 0; in ProcessPciHost()
225 IoBase = fdt64_to_cpu (Record->ChildBase); in ProcessPciHost()
227 IoTranslation = fdt64_to_cpu (Record->CpuBase) - IoBase; in ProcessPciHost()
261 PcdSet64 (PcdPciIoBase, IoBase); in ProcessPciHost()
272 ConfigSize, BusMin, BusMax, IoBase, IoSize, IoTranslation, MmioBase, in ProcessPciHost()
/device/linaro/bootloader/edk2/PcAtChipsetPkg/PciHostBridgeDxe/
DPciHostBridge.h559 UINT64 IoBase; member
609 UINT64 IoBase; member
DPciRootBridgeIo.c840 PrivateData->IoBase = ResAperture->IoBase; in RootBridgeConstructor()
1023 Base = PrivateData->IoBase; in RootBridgeIoCheckParameter()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/
DPciEnumerator.c1342 OUT UINT64 *IoBase, in GetResourceBase() argument
1355 *IoBase = 0xFFFFFFFFFFFFFFFFULL; in GetResourceBase()
1402 *IoBase = Ptr->AddrRangeMin; in GetResourceBase()
1500 UINT64 IoBase; in PciBridgeResourceAllocator() local
1566 &IoBase, in PciBridgeResourceAllocator()
1581 IoBase, in PciBridgeResourceAllocator()
1649 OUT UINT64 *IoBase, in GetResourceBaseFromBridge() argument
1660 *IoBase = gAllOne; in GetResourceBaseFromBridge()
1669 *IoBase = Bridge->PciBar[PPB_IO_RANGE].BaseAddress; in GetResourceBaseFromBridge()
1690 *IoBase = Bridge->PciBar[P2C_IO_1].BaseAddress; in GetResourceBaseFromBridge()
[all …]
DPciEnumerator.h280 OUT UINT64 *IoBase,
333 OUT UINT64 *IoBase,
DPciLib.c370 UINT64 IoBase; in PciHostBridgeResourceAllocator() local
787 &IoBase, in PciHostBridgeResourceAllocator()
819 IoBase, in PciHostBridgeResourceAllocator()
855 IoBridge ->PciDev->PciBar[IoBridge ->Bar].BaseAddress = IoBase; in PciHostBridgeResourceAllocator()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Pci/Dxe/PciHostBridge/
DPciHostResource.h36 UINTN IoBase; member
DPciHostBridge.c164 PrivateData->Aperture.IoBase = PcdGet16 (PcdPciHostBridgeIoBase); in InitializePciHostBridge()
411 … if (RootBridgeInstance->Aperture.IoBase < RootBridgeInstance->Aperture.IoLimit) { in NotifyPhase()
418 BaseAddress = RootBridgeInstance->Aperture.IoBase; in NotifyPhase()
/device/linaro/bootloader/edk2/OvmfPkg/PciHostBridgeDxe/
DPciHostBridge.h553 UINT64 IoBase; member
610 UINT64 IoBase; member
DPciRootBridgeIo.c840 PrivateData->IoBase = ResAperture->IoBase; in RootBridgeConstructor()
1023 Base = PrivateData->IoBase; in RootBridgeIoCheckParameter()
/device/linaro/bootloader/edk2/ArmVirtPkg/PciHostBridgeDxe/
DPciHostBridge.h405 UINT64 IoBase; member
456 UINT64 IoBase; member
DPciRootBridgeIo.c648 PrivateData->IoBase = ResAperture->IoBase; in RootBridgeConstructor()
815 Base = PrivateData->IoBase; in RootBridgeIoCheckParameter()
/device/linaro/bootloader/edk2/DuetPkg/PciBusNoEnumerationDxe/
DPciDeviceSupport.c494 if ((((PciData.Bridge.IoBase & 0xF) == 0) && in EnableBridgeAttributes()
495 (PciData.Bridge.IoBase != 0 || PciData.Bridge.IoLimit != 0)) || in EnableBridgeAttributes()
496 (((PciData.Bridge.IoBase & 0xF) == 1) && in EnableBridgeAttributes()
497 …((PciData.Bridge.IoBase & 0xF0) != 0 || (PciData.Bridge.IoLimit & 0xF0) != 0 || PciData.Bridge.IoB… in EnableBridgeAttributes()
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Ppi/
DPchPlatformPolicy.h151 UINT32 IoBase; // IO Base Address. member
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/Lan91xDxe/
DLan91xDxe.c74 UINTN IoBase; // I/O Base Address member
252 MmioWrite16 (LanDriver->IoBase + LAN91X_BANK_OFFSET, Bank); in SelectIoBank()
272 return MmioRead16 (LanDriver->IoBase + Offset); in ReadIoReg16()
291 return MmioWrite16 (LanDriver->IoBase + Offset, Value); in WriteIoReg16()
309 return MmioRead8 (LanDriver->IoBase + Offset); in ReadIoReg8()
328 return MmioWrite8 (LanDriver->IoBase + Offset, Value); in WriteIoReg8()
480 Value = MmioRead16 (LanDriver->IoBase + LAN91X_BANK_OFFSET); in PrintIoRegisters()
929 Bank = MmioRead16 (LanDriver->IoBase + LAN91X_BANK_OFFSET); in Probe()
939 Bank = MmioRead16 (LanDriver->IoBase + LAN91X_BANK_OFFSET); in Probe()
2134 LanDriver->IoBase = PcdGet32 (PcdLan91xDxeBaseAddress); in Lan91xDxeEntry()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformPei/
DPlatform.c224 UINT32 IoBase = 0; in DetermineTurbotBoard()
233 IoBase = MmioRead32 (PciD31F0RegBase + R_PCH_LPC_IO_BASE) & B_PCH_LPC_IO_BASE_BAR; in DetermineTurbotBoard()
235 MmioConf0 = IoBase + SSUSOffset + PConf0Offset; in DetermineTurbotBoard()
236 MmioPadval = IoBase + SSUSOffset + PValueOffset; in DetermineTurbotBoard()
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/Ipf/
DPcatIo.c80 if ( Address < PrivateData->IoBase || Address > PrivateData->IoLimit ) { in PcatRootBridgeIoIoRead()
183 if ( Address < PrivateData->IoBase || Address > PrivateData->IoLimit ) { in PcatRootBridgeIoIoWrite()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DPci.h371 UINT8 IoBase; // I/O Base member
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/
Dpci22.h71 UINT8 IoBase; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/IndustryStandard/
Dpci22.h78 UINT8 IoBase; member

12