Searched refs:PCI_LIB_ADDRESS (Results 1 - 13 of 13) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/PerformancePkg/Include/Ich/
H A DGenericIch.h52 ((UINTN)(PCI_LIB_ADDRESS (PCI_BUS_NUMBER_ICH, PCI_DEVICE_NUMBER_ICH_LPC, PCI_FUNCTION_NUMBER_ICH_LPC, Register)))
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/Library/AcpiTimerLib/
H A DAcpiTimerLib.c91 u16VendorID = PciRead16(PCI_LIB_ADDRESS(0, u8Device, 0, 0));
92 u16DeviceID = PciRead16(PCI_LIB_ADDRESS(0, u8Device, 0, 2));
97 if (PciRead8 (PCI_LIB_ADDRESS (0,u8Device,0,0x80)) & 1) {
98 mPmba = PciRead32 (PCI_LIB_ADDRESS (0, u8Device, 0, 0x40));
104 PciAndThenOr32 (PCI_LIB_ADDRESS (0,u8Device,0,0x40),
106 PciOr8 (PCI_LIB_ADDRESS (0,u8Device,0,0x04), 0x01);
113 PciOr8 (PCI_LIB_ADDRESS (0,u8Device,0,0x80), 0x01);
/vbox/src/VBox/Devices/EFI/Firmware/OvmfPkg/Library/AcpiTimerLib/
H A DAcpiTimerLib.c54 if (PciRead8 (PCI_LIB_ADDRESS (0,Device,3,0x80)) & 1) {
55 mPmba = PciRead32 (PCI_LIB_ADDRESS (0,Device,3,0x40));
59 PciAndThenOr32 (PCI_LIB_ADDRESS (0,Device,3,0x40),
61 PciOr8 (PCI_LIB_ADDRESS (0,Device,3,0x04), 0x01);
67 PciOr8 (PCI_LIB_ADDRESS (0,Device,3,0x80), 0x01);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/PiDxeS3BootScriptLib/
H A DInternalBootScriptLib.h48 #define PCI_ADDRESS_ENCODE(A) (UINTN)PCI_LIB_ADDRESS( \
/vbox/src/VBox/Devices/EFI/Firmware/OvmfPkg/Library/PlatformBdsLib/
H A DBdsPlatform.c822 PciWrite8 (PCI_LIB_ADDRESS (0, 0, 0, 0x3c), 0x00);
827 PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x3c), 0x00);
828 PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x60), 0x0b);
829 PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x61), 0x09);
830 PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x62), 0x0b);
831 PciWrite8 (PCI_LIB_ADDRESS (0, 1, 0, 0x63), 0x09);
836 PciWrite8 (PCI_LIB_ADDRESS (0, 1, 1, 0x3c), 0x00);
837 PciWrite8 (PCI_LIB_ADDRESS (0, 1, 1, 0x0d), 0x40);
842 PciWrite8 (PCI_LIB_ADDRESS (0, 1, 3, 0x3c), 0x0b);
843 PciWrite8 (PCI_LIB_ADDRESS (
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/OvmfPkg/Csm/CsmSupportLib/
H A DLegacyRegion.c129 PCI_LIB_ADDRESS(PAM_PCI_BUS, PAM_PCI_DEV, PAM_PCI_FUNC, mRegisterValues[Index].PAMRegOffset),
134 PCI_LIB_ADDRESS(PAM_PCI_BUS, PAM_PCI_DEV, PAM_PCI_FUNC, mRegisterValues[Index].PAMRegOffset),
142 PCI_LIB_ADDRESS(PAM_PCI_BUS, PAM_PCI_DEV, PAM_PCI_FUNC, mRegisterValues[Index].PAMRegOffset),
147 PCI_LIB_ADDRESS(PAM_PCI_BUS, PAM_PCI_DEV, PAM_PCI_FUNC, mRegisterValues[Index].PAMRegOffset),
188 PamValue = PciRead8 (PCI_LIB_ADDRESS(PAM_PCI_BUS, PAM_PCI_DEV, PAM_PCI_FUNC, mRegisterValues[Index].PAMRegOffset));
H A DLegacyInterrupt.c99 return PCI_LIB_ADDRESS(
H A DLegacyPlatform.c264 SelectedAddress = PCI_LIB_ADDRESS(0xff, 0x1f, 0x7, 0);
328 CurrentAddress = PCI_LIB_ADDRESS(Bus, Device, Function, 0);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei/
H A DPciCfg2.c27 Convert EFI_PEI_PCI_CFG_PPI_PCI_ADDRESS to PCI_LIB_ADDRESS.
31 @return PCI address with PCI_LIB_ADDRESS format.
40 return PCI_LIB_ADDRESS (Address->Bus, Address->Device, Address->Function, Address->Register);
43 return PCI_LIB_ADDRESS (Address->Bus, Address->Device, Address->Function, Address->ExtendedRegister);
/vbox/src/VBox/Devices/EFI/Firmware/OvmfPkg/PlatformPei/
H A DPlatform.c236 PciAndThenOr32 (PCI_LIB_ADDRESS (0, 1, 3, 0x40), (UINT32) ~0xfc0, 0x400);
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Library/
H A DPciLib.h40 #define PCI_LIB_ADDRESS(Bus,Device,Function,Register) \ macro
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/PlatformPei/
H A DPlatform.c319 PciAndThenOr32 (PCI_LIB_ADDRESS (0, 1, 3, 0x40), (UINT32) ~0xfc0, 0x400);
/vbox/src/VBox/Devices/EFI/Firmware/PcAtChipsetPkg/PciHostBridgeDxe/
H A DPciRootBridgeIo.c1120 PcieRegAddr = (UINTN) PCI_LIB_ADDRESS (

Completed in 134 milliseconds