Lines Matching defs:value
133 * Perform mask and shift to place the supplied value into
136 * Example: cvmx_build_bits(39,24,value)
144 * @high_bit: Highest bit value can occupy (inclusive) 0-63
145 * @low_bit: Lowest bit value can occupy inclusive 0-high_bit
146 * @value: Value to use
150 uint64_t low_bit, uint64_t value)
152 return (value & cvmx_build_mask(high_bit - low_bit + 1)) << low_bit;
234 takes two arguments, the address and the value to write.
390 * Returns the number of bits set in the provided value.
393 * @val: 32 bit value to count set bits in
405 * Returns the number of bits set in the provided value.
408 * @val: 64 bit value to count set bits in
420 * Provide current cycle counter as a return value
448 * This macro spins on a field waiting for it to reach a value. It
450 * to match a specific value. Conceptually this macro expands to:
453 * 2) Check if ("type".s."field" "op" "value")
456 #define CVMX_WAIT_FOR_FIELD64(address, type, field, op, value, timeout_usec)\
466 if ((c.s.field) op(value)) { \