Lines Matching defs:pi16
345 * @param pi16 Pointer to the 16-bit variable to update.
346 * @param i16 The 16-bit value to assign to *pi16.
348 DECLINLINE(int16_t) ASMAtomicXchgS16(volatile int16_t *pi16, int16_t i16)
350 return (int16_t)ASMAtomicXchgU16((volatile uint16_t *)pi16, (uint16_t)i16);
1480 * @returns Current *pi16 value
1481 * @param pi16 Pointer to the 16-bit variable to read.
1483 DECLINLINE(int16_t) ASMAtomicReadS16(volatile int16_t *pi16)
1486 Assert(!((uintptr_t)pi16 & 1));
1487 return *pi16;
1494 * @returns Current *pi16 value
1495 * @param pi16 Pointer to the 16-bit variable to read.
1497 DECLINLINE(int16_t) ASMAtomicUoReadS16(volatile int16_t *pi16)
1499 Assert(!((uintptr_t)pi16 & 1));
1500 return *pi16;
2058 * @param pi16 Pointer to the 16-bit variable to write.
2059 * @param i16 The 16-bit value to assign to *pi16.
2061 DECLINLINE(void) ASMAtomicWriteS16(volatile int16_t *pi16, int16_t i16)
2063 ASMAtomicXchgS16(pi16, i16);
2070 * @param pi16 Pointer to the 16-bit variable to write.
2071 * @param i16 The 16-bit value to assign to *pi16.
2073 DECLINLINE(void) ASMAtomicUoWriteS16(volatile int16_t *pi16, int16_t i16)
2075 Assert(!((uintptr_t)pi16 & 1));
2076 *pi16 = i16;