Lines Matching defs:pu16
305 * @returns Current *pu16 value
306 * @param pu16 Pointer to the 16-bit variable to update.
307 * @param u16 The 16-bit value to assign to *pu16.
310 DECLASM(uint16_t) ASMAtomicXchgU16(volatile uint16_t *pu16, uint16_t u16);
312 DECLINLINE(uint16_t) ASMAtomicXchgU16(volatile uint16_t *pu16, uint16_t u16)
316 : "=m" (*pu16),
319 "m" (*pu16));
324 mov rdx, [pu16]
329 mov edx, [pu16]
344 * @returns Current *pu16 value
1453 * @returns Current *pu16 value
1454 * @param pu16 Pointer to the 16-bit variable to read.
1456 DECLINLINE(uint16_t) ASMAtomicReadU16(volatile uint16_t *pu16)
1459 Assert(!((uintptr_t)pu16 & 1));
1460 return *pu16;
1467 * @returns Current *pu16 value
1468 * @param pu16 Pointer to the 16-bit variable to read.
1470 DECLINLINE(uint16_t) ASMAtomicUoReadU16(volatile uint16_t *pu16)
1472 Assert(!((uintptr_t)pu16 & 1));
1473 return *pu16;
2033 * @param pu16 Pointer to the 16-bit variable to write.
2034 * @param u16 The 16-bit value to assign to *pu16.
2036 DECLINLINE(void) ASMAtomicWriteU16(volatile uint16_t *pu16, uint16_t u16)
2038 ASMAtomicXchgU16(pu16, u16);
2045 * @param pu16 Pointer to the 16-bit variable to write.
2046 * @param u16 The 16-bit value to assign to *pu16.
2048 DECLINLINE(void) ASMAtomicUoWriteU16(volatile uint16_t *pu16, uint16_t u16)
2050 Assert(!((uintptr_t)pu16 & 1));
2051 *pu16 = u16;