Home
last modified time | relevance | path

Searched refs:OriginalValue (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/MdePkg/Library/BaseSynchronizationLib/Ipf/
DSynchronization.c36 UINT32 OriginalValue; in InternalSyncIncrement() local
39 OriginalValue = *Value; in InternalSyncIncrement()
40 } while (OriginalValue != InternalSyncCompareExchange32 ( in InternalSyncIncrement()
42 OriginalValue, in InternalSyncIncrement()
43 OriginalValue + 1 in InternalSyncIncrement()
45 return OriginalValue + 1; in InternalSyncIncrement()
67 UINT32 OriginalValue; in InternalSyncDecrement() local
70 OriginalValue = *Value; in InternalSyncDecrement()
71 } while (OriginalValue != InternalSyncCompareExchange32 ( in InternalSyncDecrement()
73 OriginalValue, in InternalSyncDecrement()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ipf/
DSynchronization.c42 UINT32 OriginalValue; in InternalSyncIncrement() local
45 OriginalValue = *Value; in InternalSyncIncrement()
46 } while (OriginalValue != InternalSyncCompareExchange32 ( in InternalSyncIncrement()
48 OriginalValue, in InternalSyncIncrement()
49 OriginalValue + 1 in InternalSyncIncrement()
51 return OriginalValue + 1; in InternalSyncIncrement()
73 UINT32 OriginalValue; in InternalSyncDecrement() local
76 OriginalValue = *Value; in InternalSyncDecrement()
77 } while (OriginalValue != InternalSyncCompareExchange32 ( in InternalSyncDecrement()
79 OriginalValue, in InternalSyncDecrement()
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/Library/PciHostBridgeLib/
DXenSupport.c34 OUT UINT32 *OriginalValue, in PcatPciRootBridgeBarExisted() argument
41 *OriginalValue = PciRead32 (Address); in PcatPciRootBridgeBarExisted()
50 PciWrite32 (Address, *OriginalValue); in PcatPciRootBridgeBarExisted()
75 UINT32 OriginalValue; in PcatPciRootBridgeParseBars() local
89 &OriginalValue, &Value in PcatPciRootBridgeParseBars()
100 Base = OriginalValue & Mask; in PcatPciRootBridgeParseBars()
123 Base = OriginalValue & Mask; in PcatPciRootBridgeParseBars()
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/PciHostBridgeLib/
DPciHostBridgeSupport.c120 OUT UINT32 *OriginalValue, in PcatPciRootBridgeBarExisted() argument
131 *OriginalValue = PciRead32 (PciAddress); in PcatPciRootBridgeBarExisted()
140 PciWrite32 (PciAddress, *OriginalValue); in PcatPciRootBridgeBarExisted()
190 UINT32 OriginalValue; in PcatPciRootBridgeParseBars() local
205 &OriginalValue, &Value in PcatPciRootBridgeParseBars()
216 Base = OriginalValue & Mask; in PcatPciRootBridgeParseBars()
239 Base = OriginalValue & Mask; in PcatPciRootBridgeParseBars()
/device/linaro/bootloader/edk2/DuetPkg/PciBusNoEnumerationDxe/
DPciEnumeratorSupport.c692 UINT32 OriginalValue; in BarExisted() local
702 PciIo->Pci.Read (PciIo, EfiPciIoWidthUint32, (UINT8) Offset, 1, &OriginalValue); in BarExisted()
715 PciIo->Pci.Write (PciIo, EfiPciIoWidthUint32, (UINT8) Offset, 1, &OriginalValue); in BarExisted()
727 *OriginalBarValue = OriginalValue; in BarExisted()
877 UINT32 OriginalValue; in PciParseBar() local
881 OriginalValue = 0; in PciParseBar()
888 &OriginalValue in PciParseBar()
936 PciIoDevice->PciBar[BarIndex].BaseAddress = OriginalValue & Mask; in PciParseBar()
942 PciIoDevice->PciBar[BarIndex].BaseAddress = OriginalValue & Mask; in PciParseBar()
990 &OriginalValue in PciParseBar()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/
DPciEnumeratorSupport.c796 UINT32 OriginalValue; in VfBarExisted() local
814 PciIo->Pci.Read (PciIo, EfiPciIoWidthUint32, (UINT32)Offset, 1, &OriginalValue); in VfBarExisted()
827 PciIo->Pci.Write (PciIo, EfiPciIoWidthUint32, (UINT32)Offset, 1, &OriginalValue); in VfBarExisted()
839 *OriginalBarValue = OriginalValue; in VfBarExisted()
870 UINT32 OriginalValue; in BarExisted() local
879 PciIo->Pci.Read (PciIo, EfiPciIoWidthUint32, (UINT8) Offset, 1, &OriginalValue); in BarExisted()
892 PciIo->Pci.Write (PciIo, EfiPciIoWidthUint32, (UINT8) Offset, 1, &OriginalValue); in BarExisted()
904 *OriginalBarValue = OriginalValue; in BarExisted()
1577 UINT32 OriginalValue; in PciIovParseVfBar() local
1589 OriginalValue = 0; in PciIovParseVfBar()
[all …]
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/
DPcatPciRootBridge.c736 OUT UINT32 *OriginalValue, in PcatPciRootBridgeBarExisted() argument
763 OriginalValue in PcatPciRootBridgeBarExisted()
796 OriginalValue in PcatPciRootBridgeBarExisted()
832 UINT32 OriginalValue; in PcatPciRootBridgeParseBars() local
847 &OriginalValue, in PcatPciRootBridgeParseBars()
858 Base = OriginalValue & Mask; in PcatPciRootBridgeParseBars()
880 Base = OriginalValue & Mask; in PcatPciRootBridgeParseBars()