Lines Matching refs:pi32

401  * @param   pi32    Pointer to the 32-bit variable to update.
402 * @param i32 The 32-bit value to assign to *pi32.
404 DECLINLINE(int32_t) ASMAtomicXchgS32(volatile int32_t *pi32, int32_t i32)
406 return (int32_t)ASMAtomicXchgU32((volatile uint32_t *)pi32, (uint32_t)i32);
787 * @param pi32 Pointer to the value to update.
788 * @param i32New The new value to assigned to *pi32.
789 * @param i32Old The old value to *pi32 compare with.
791 DECLINLINE(bool) ASMAtomicCmpXchgS32(volatile int32_t *pi32, const int32_t i32New, const int32_t i32Old)
793 return ASMAtomicCmpXchgU32((volatile uint32_t *)pi32, (uint32_t)i32New, (uint32_t)i32Old);
1082 * @param pi32 Pointer to the value to update.
1083 * @param i32New The new value to assigned to *pi32.
1084 * @param i32Old The old value to *pi32 compare with.
1087 DECLINLINE(bool) ASMAtomicCmpXchgExS32(volatile int32_t *pi32, const int32_t i32New, const int32_t i32Old, int32_t *pi32Old)
1089 return ASMAtomicCmpXchgExU32((volatile uint32_t *)pi32, (uint32_t)i32New, (uint32_t)i32Old, (uint32_t *)pi32Old);
1534 * @returns Current *pi32 value
1535 * @param pi32 Pointer to the 32-bit variable to read.
1537 DECLINLINE(int32_t) ASMAtomicReadS32(volatile int32_t *pi32)
1540 Assert(!((uintptr_t)pi32 & 3));
1541 return *pi32;
1548 * @returns Current *pi32 value
1549 * @param pi32 Pointer to the 32-bit variable to read.
1551 DECLINLINE(int32_t) ASMAtomicUoReadS32(volatile int32_t *pi32)
1553 Assert(!((uintptr_t)pi32 & 3));
1554 return *pi32;
2108 * @param pi32 Pointer to the 32-bit variable to write.
2109 * @param i32 The 32-bit value to assign to *pi32.
2111 DECLINLINE(void) ASMAtomicWriteS32(volatile int32_t *pi32, int32_t i32)
2113 ASMAtomicXchgS32(pi32, i32);
2120 * @param pi32 Pointer to the 32-bit variable to write.
2121 * @param i32 The 32-bit value to assign to *pi32.
2123 DECLINLINE(void) ASMAtomicUoWriteS32(volatile int32_t *pi32, int32_t i32)
2125 Assert(!((uintptr_t)pi32 & 3));
2126 *pi32 = i32;
2491 * @param pi32 Pointer to the value.
2494 DECLINLINE(int32_t) ASMAtomicAddS32(int32_t volatile *pi32, int32_t i32)
2496 return (int32_t)ASMAtomicAddU32((uint32_t volatile *)pi32, (uint32_t)i32);
2608 * @param pi32 Pointer to the value.
2611 DECLINLINE(int32_t) ASMAtomicSubS32(int32_t volatile *pi32, int32_t i32)
2613 return (int32_t)ASMAtomicAddU32((uint32_t volatile *)pi32, (uint32_t)-i32);
2727 * @param pi32 Pointer to the value to increment.
2729 DECLINLINE(int32_t) ASMAtomicIncS32(int32_t volatile *pi32)
2731 return (int32_t)ASMAtomicIncU32((uint32_t volatile *)pi32);
2844 * @param pi32 Pointer to the value to decrement.
2846 DECLINLINE(int32_t) ASMAtomicDecS32(int32_t volatile *pi32)
2848 return (int32_t)ASMAtomicDecU32((uint32_t volatile *)pi32);
2952 * @param pi32 Pointer to the pointer variable to OR u32 with.
2955 DECLINLINE(void) ASMAtomicOrS32(int32_t volatile *pi32, int32_t i32)
2957 ASMAtomicOrU32((uint32_t volatile *)pi32, i32);
3045 * @param pi32 Pointer to the pointer variable to AND i32 with.
3046 * @param i32 The value to AND *pi32 with.
3048 DECLINLINE(void) ASMAtomicAndS32(int32_t volatile *pi32, int32_t i32)
3050 ASMAtomicAndU32((uint32_t volatile *)pi32, (uint32_t)i32);
3135 * @param pi32 Pointer to the pointer variable to OR u32 with.
3138 DECLINLINE(void) ASMAtomicUoOrS32(int32_t volatile *pi32, int32_t i32)
3140 ASMAtomicUoOrU32((uint32_t volatile *)pi32, i32);
3222 * @param pi32 Pointer to the pointer variable to AND i32 with.
3223 * @param i32 The value to AND *pi32 with.
3225 DECLINLINE(void) ASMAtomicUoAndS32(int32_t volatile *pi32, int32_t i32)
3227 ASMAtomicUoAndU32((uint32_t volatile *)pi32, (uint32_t)i32);