Lines Matching refs:pf
288 * @returns Current *pf value
289 * @param pf Pointer to the 8-bit variable to update.
292 DECLINLINE(bool) ASMAtomicXchgBool(volatile bool *pf, bool f)
295 return !!ASMAtomicXchgU8((volatile uint8_t *)pf, (uint8_t)f);
297 return (bool)ASMAtomicXchgU8((volatile uint8_t *)pf, (uint8_t)f);
715 * @param pf Pointer to the value to update.
716 * @param fNew The new value to assigned to *pf.
717 * @param fOld The old value to *pf compare with.
719 DECLINLINE(bool) ASMAtomicCmpXchgBool(volatile bool *pf, const bool fNew, const bool fOld)
721 return ASMAtomicCmpXchgU8((volatile uint8_t *)pf, (const uint8_t)fNew, (const uint8_t)fOld);
1868 * @returns Current *pf value
1869 * @param pf Pointer to the boolean variable to read.
1871 DECLINLINE(bool) ASMAtomicReadBool(volatile bool *pf)
1874 return *pf; /* byte reads are atomic on x86 */
1881 * @returns Current *pf value
1882 * @param pf Pointer to the boolean variable to read.
1884 DECLINLINE(bool) ASMAtomicUoReadBool(volatile bool *pf)
1886 return *pf; /* byte reads are atomic on x86 */
2191 * @param pf Pointer to the boolean variable to write.
2192 * @param f The boolean value to assign to *pf.
2194 DECLINLINE(void) ASMAtomicWriteBool(volatile bool *pf, bool f)
2196 ASMAtomicWriteU8((uint8_t volatile *)pf, f);
2203 * @param pf Pointer to the boolean variable to write.
2204 * @param f The boolean value to assign to *pf.
2206 DECLINLINE(void) ASMAtomicUoWriteBool(volatile bool *pf, bool f)
2208 *pf = f; /* byte writes are atomic on x86 */