Lines Matching full:value
57 * @param i Value to assign to atomic variable.
68 * @param p Pointer value to assign to atomic pointer variable.
117 * Atomically get a value and then test whether bit number @a bit of @a target is set or not.
137 * Atomically clear bit number @a bit of @a target and return its old value.
160 * Atomically set bit number @a bit of @a target and return its old value.
217 * @brief Atomically set a bit to a given value.
219 * Atomically set bit number @a bit of @a target to value @a val.
243 * value of @a target equals @a old_value, @a target is set to @a new_value.
244 * If the current value of @a target does not equal @a old_value, @a target
250 * @param old_value Original value to compare against.
251 * @param new_value New value to store.
260 * value of @a target equals @a old_value, @a target is set to @a new_value.
261 * If the current value of @a target does not equal @a old_value, @a target
267 * @param old_value Original value to compare against.
268 * @param new_value New value to store.
282 * @param value Value to add.
284 * @return Previous value of @a target.
286 atomic_val_t atomic_add(atomic_t *target, atomic_val_t value);
296 * @param value Value to subtract.
298 * @return Previous value of @a target.
300 atomic_val_t atomic_sub(atomic_t *target, atomic_val_t value);
311 * @return Previous value of @a target.
324 * @return Previous value of @a target.
337 * @return Value of @a target.
342 * @brief Atomic get a pointer value
350 * @return Value of @a target.
357 * This routine atomically sets @a target to @a value and returns
358 * the previous value of @a target.
363 * @param value Value to write to @a target.
365 * @return Previous value of @a target.
367 atomic_val_t atomic_set(atomic_t *target, atomic_val_t value);
372 * This routine atomically sets @a target to @a value and returns
373 * the previous value of @a target.
378 * @param value Value to write to @a target.
380 * @return Previous value of @a target.
382 atomic_ptr_val_t atomic_ptr_set(atomic_ptr_t *target, atomic_ptr_val_t value);
388 * value. (Hence, it is equivalent to atomic_set(target, 0).)
394 * @return Previous value of @a target.
399 * @brief Atomic clear of a pointer value
402 * value. (Hence, it is equivalent to atomic_set(target, 0).)
408 * @return Previous value of @a target.
416 * @a target and @a value.
421 * @param value Value to OR.
423 * @return Previous value of @a target.
425 atomic_val_t atomic_or(atomic_t *target, atomic_val_t value);
433 * @a target and @a value.
436 * @param value Value to XOR
438 * @return Previous value of @a target.
440 atomic_val_t atomic_xor(atomic_t *target, atomic_val_t value);
446 * and @a value.
451 * @param value Value to AND.
453 * @return Previous value of @a target.
455 atomic_val_t atomic_and(atomic_t *target, atomic_val_t value);
461 * and @a value. (This operation is equivalent to target = ~(target & value).)
466 * @param value Value to NAND.
468 * @return Previous value of @a target.
470 atomic_val_t atomic_nand(atomic_t *target, atomic_val_t value);