Home
last modified time | relevance | path

Searched refs:CompareValue (Results 1 – 25 of 40) sorted by relevance

12

/device/linaro/bootloader/edk2/MdePkg/Library/BaseSynchronizationLib/X64/
DGccInline.c113 IN UINT16 CompareValue, in InternalSyncCompareExchange16() argument
122 : "=a" (CompareValue), in InternalSyncCompareExchange16()
124 : "a" (CompareValue), in InternalSyncCompareExchange16()
131 return CompareValue; in InternalSyncCompareExchange16()
157 IN UINT32 CompareValue, in InternalSyncCompareExchange32() argument
166 : "=a" (CompareValue), // %0 in InternalSyncCompareExchange32()
168 : "a" (CompareValue), // %2 in InternalSyncCompareExchange32()
175 return CompareValue; in InternalSyncCompareExchange32()
200 IN UINT64 CompareValue, in InternalSyncCompareExchange64() argument
208 : "=a" (CompareValue), // %0 in InternalSyncCompareExchange64()
[all …]
DInterlockedCompareExchange32.c48 IN UINT32 CompareValue, in InternalSyncCompareExchange32() argument
52 return _InterlockedCompareExchange (Value, ExchangeValue, CompareValue); in InternalSyncCompareExchange32()
DInterlockedCompareExchange16.c48 IN UINT16 CompareValue, in InternalSyncCompareExchange16() argument
52 return _InterlockedCompareExchange16 (Value, ExchangeValue, CompareValue); in InternalSyncCompareExchange16()
DInterlockedCompareExchange64.c47 IN UINT64 CompareValue, in InternalSyncCompareExchange64() argument
51 return _InterlockedCompareExchange64 (Value, ExchangeValue, CompareValue); in InternalSyncCompareExchange64()
/device/linaro/bootloader/edk2/MdePkg/Library/BaseSynchronizationLib/Ia32/
DGccInline.c112 IN UINT16 CompareValue, in InternalSyncCompareExchange16() argument
121 : "=a" (CompareValue) in InternalSyncCompareExchange16()
124 "0" (CompareValue) in InternalSyncCompareExchange16()
129 return CompareValue; in InternalSyncCompareExchange16()
154 IN UINT32 CompareValue, in InternalSyncCompareExchange32() argument
163 : "=a" (CompareValue) // %0 in InternalSyncCompareExchange32()
166 "0" (CompareValue) // %4 in InternalSyncCompareExchange32()
171 return CompareValue; in InternalSyncCompareExchange32()
195 IN UINT64 CompareValue, in InternalSyncCompareExchange64() argument
206 : "+A" (CompareValue) // %0 in InternalSyncCompareExchange64()
[all …]
DInterlockedCompareExchange64.c38 IN UINT64 CompareValue, in InternalSyncCompareExchange64() argument
44 mov eax, dword ptr [CompareValue + 0] in InternalSyncCompareExchange64()
45 mov edx, dword ptr [CompareValue + 4] in InternalSyncCompareExchange64()
DInterlockedCompareExchange32.c39 IN UINT32 CompareValue, in InternalSyncCompareExchange32() argument
45 mov eax, CompareValue in InternalSyncCompareExchange32()
DInterlockedCompareExchange16.c40 IN UINT16 CompareValue, in InternalSyncCompareExchange16() argument
46 mov ax, CompareValue in InternalSyncCompareExchange16()
/device/linaro/bootloader/edk2/MdePkg/Library/BaseSynchronizationLib/Ebc/
DSynchronization.c38 IN UINT16 CompareValue, in InternalSyncCompareExchange16() argument
42 return *Value != CompareValue ? *Value : in InternalSyncCompareExchange16()
43 ((*Value = ExchangeValue), CompareValue); in InternalSyncCompareExchange16()
69 IN UINT32 CompareValue, in InternalSyncCompareExchange32() argument
73 return *Value != CompareValue ? *Value : in InternalSyncCompareExchange32()
74 ((*Value = ExchangeValue), CompareValue); in InternalSyncCompareExchange32()
97 IN UINT64 CompareValue, in InternalSyncCompareExchange64() argument
101 return *Value != CompareValue ? *Value : in InternalSyncCompareExchange64()
102 ((*Value = ExchangeValue), CompareValue); in InternalSyncCompareExchange64()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ebc/
DSynchronization.c28 IN UINT32 CompareValue, in InternalSyncCompareExchange32() argument
32 return *Value != CompareValue ? *Value : in InternalSyncCompareExchange32()
33 ((*Value = ExchangeValue), CompareValue); in InternalSyncCompareExchange32()
56 IN UINT64 CompareValue, in InternalSyncCompareExchange64() argument
60 return *Value != CompareValue ? *Value : in InternalSyncCompareExchange64()
61 ((*Value = ExchangeValue), CompareValue); in InternalSyncCompareExchange64()
/device/linaro/bootloader/edk2/MdePkg/Library/BaseSynchronizationLib/
DSynchronization.c302 IN UINT16 CompareValue, in InterlockedCompareExchange16() argument
307 return InternalSyncCompareExchange16 (Value, CompareValue, ExchangeValue); in InterlockedCompareExchange16()
333 IN UINT32 CompareValue, in InterlockedCompareExchange32() argument
338 return InternalSyncCompareExchange32 (Value, CompareValue, ExchangeValue); in InterlockedCompareExchange32()
363 IN UINT64 CompareValue, in InterlockedCompareExchange64() argument
368 return InternalSyncCompareExchange64 (Value, CompareValue, ExchangeValue); in InterlockedCompareExchange64()
393 IN VOID *CompareValue, in InterlockedCompareExchangePointer() argument
405 (UINT32)(UINTN)CompareValue, in InterlockedCompareExchangePointer()
411 (UINT64)(UINTN)CompareValue, in InterlockedCompareExchangePointer()
DSynchronizationMsc.c320 IN UINT16 CompareValue, in InterlockedCompareExchange16() argument
325 return InternalSyncCompareExchange16 (Value, CompareValue, ExchangeValue); in InterlockedCompareExchange16()
351 IN UINT32 CompareValue, in InterlockedCompareExchange32() argument
356 return InternalSyncCompareExchange32 (Value, CompareValue, ExchangeValue); in InterlockedCompareExchange32()
381 IN UINT64 CompareValue, in InterlockedCompareExchange64() argument
386 return InternalSyncCompareExchange64 (Value, CompareValue, ExchangeValue); in InterlockedCompareExchange64()
411 IN VOID *CompareValue, in InterlockedCompareExchangePointer() argument
423 (UINT32)(UINTN)CompareValue, in InterlockedCompareExchangePointer()
429 (UINT64)(UINTN)CompareValue, in InterlockedCompareExchangePointer()
DSynchronizationGcc.c318 IN UINT16 CompareValue, in InterlockedCompareExchange16() argument
323 return InternalSyncCompareExchange16 (Value, CompareValue, ExchangeValue); in InterlockedCompareExchange16()
349 IN UINT32 CompareValue, in InterlockedCompareExchange32() argument
354 return InternalSyncCompareExchange32 (Value, CompareValue, ExchangeValue); in InterlockedCompareExchange32()
379 IN UINT64 CompareValue, in InterlockedCompareExchange64() argument
384 return InternalSyncCompareExchange64 (Value, CompareValue, ExchangeValue); in InterlockedCompareExchange64()
409 IN VOID *CompareValue, in InterlockedCompareExchangePointer() argument
421 (UINT32)(UINTN)CompareValue, in InterlockedCompareExchangePointer()
427 (UINT64)(UINTN)CompareValue, in InterlockedCompareExchangePointer()
DBaseSynchronizationLibInternals.h86 IN UINT16 CompareValue,
112 IN UINT32 CompareValue,
137 IN UINT64 CompareValue,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/
DSynchronization.c280 IN UINT32 CompareValue, in InterlockedCompareExchange32() argument
285 return InternalSyncCompareExchange32 (Value, CompareValue, ExchangeValue); in InterlockedCompareExchange32()
310 IN UINT64 CompareValue, in InterlockedCompareExchange64() argument
315 return InternalSyncCompareExchange64 (Value, CompareValue, ExchangeValue); in InterlockedCompareExchange64()
339 IN VOID *CompareValue, in InterlockedCompareExchangePointer() argument
351 (UINT32)(UINTN)CompareValue, in InterlockedCompareExchangePointer()
357 (UINT64)(UINTN)CompareValue, in InterlockedCompareExchangePointer()
DSynchronizationMsc.c291 IN UINT32 CompareValue, in InterlockedCompareExchange32() argument
296 return InternalSyncCompareExchange32 (Value, CompareValue, ExchangeValue); in InterlockedCompareExchange32()
321 IN UINT64 CompareValue, in InterlockedCompareExchange64() argument
326 return InternalSyncCompareExchange64 (Value, CompareValue, ExchangeValue); in InterlockedCompareExchange64()
350 IN VOID *CompareValue, in InterlockedCompareExchangePointer() argument
362 (UINT32)(UINTN)CompareValue, in InterlockedCompareExchangePointer()
368 (UINT64)(UINTN)CompareValue, in InterlockedCompareExchangePointer()
DSynchronizationGcc.c319 IN UINT32 CompareValue, in InterlockedCompareExchange32() argument
324 return InternalSyncCompareExchange32 (Value, CompareValue, ExchangeValue); in InterlockedCompareExchange32()
349 IN UINT64 CompareValue, in InterlockedCompareExchange64() argument
354 return InternalSyncCompareExchange64 (Value, CompareValue, ExchangeValue); in InterlockedCompareExchange64()
378 IN VOID *CompareValue, in InterlockedCompareExchangePointer() argument
390 (UINT32)(UINTN)CompareValue, in InterlockedCompareExchangePointer()
396 (UINT64)(UINTN)CompareValue, in InterlockedCompareExchangePointer()
/device/linaro/bootloader/edk2/MdePkg/Include/Library/
DSynchronizationLib.h208 IN UINT16 CompareValue,
235 IN UINT32 CompareValue,
262 IN UINT64 CompareValue,
289 IN VOID *CompareValue,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ia32/
DInterlockedCompareExchange64.c21 IN UINT64 CompareValue, in InternalSyncCompareExchange64() argument
27 mov eax, dword ptr [CompareValue + 0] in InternalSyncCompareExchange64()
28 mov edx, dword ptr [CompareValue + 4] in InternalSyncCompareExchange64()
DInterlockedCompareExchange32.c21 IN UINT32 CompareValue, in InternalSyncCompareExchange32() argument
27 mov eax, CompareValue in InternalSyncCompareExchange32()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/X64/
DInterlockedCompareExchange32.c32 IN UINT32 CompareValue, in InternalSyncCompareExchange32() argument
36 return _InterlockedCompareExchange (Value, ExchangeValue, CompareValue); in InternalSyncCompareExchange32()
DInterlockedCompareExchange64.c32 IN UINT64 CompareValue, in InternalSyncCompareExchange64() argument
36 return _InterlockedCompareExchange64 (Value, ExchangeValue, CompareValue); in InternalSyncCompareExchange64()
DInterlockedCompareExchange32.S29 # IN UINT32 CompareValue,
DInterlockedCompareExchange32.asm29 ; IN UINT32 CompareValue,
/device/linaro/bootloader/edk2/ArmPkg/Drivers/TimerDxe/
DTimerDxe.c301 UINT64 CompareValue; in TimerInterruptHandler() local
327 CompareValue = ArmGenericTimerGetCompareVal (); in TimerInterruptHandler()
334 CompareValue += mTimerTicks; in TimerInterruptHandler()
336 } while (CompareValue < CurrentValue); in TimerInterruptHandler()
339 ArmGenericTimerSetCompareVal (CompareValue); in TimerInterruptHandler()

12