Lines Matching full:value
57 * bit will be set. Otherwise the value of the register before
62 int64_t value:63; member
67 * bit will be set. Otherwise the value of the register before
72 int32_t value:31; member
77 * bit will be set. Otherwise the value of the register before
82 int16_t value:15; member
87 * bit will be set. Otherwise the value of the register before
92 int8_t value:7; member
97 * the error bit will be set. Otherwise the value of the
121 * @noadd: 0 = Store value is atomically added to the current value
122 * 1 = Store value is atomically written over the current value
147 * @value: Signed value to add.
153 int64_t value) in __cvmx_fau_atomic_address() argument
156 cvmx_build_bits(CVMX_FAU_BITS_INEVAL, value) | in __cvmx_fau_atomic_address()
166 * @value: Signed value to add.
168 * Returns Value of the register before the update
171 int64_t value) in cvmx_fau_fetch_and_add64() argument
173 return cvmx_read64_int64(__cvmx_fau_atomic_address(0, reg, value)); in cvmx_fau_fetch_and_add64()
181 * @value: Signed value to add.
183 * Returns Value of the register before the update
186 int32_t value) in cvmx_fau_fetch_and_add32() argument
189 return cvmx_read64_int32(__cvmx_fau_atomic_address(0, reg, value)); in cvmx_fau_fetch_and_add32()
197 * @value: Signed value to add.
198 * Returns Value of the register before the update
201 int16_t value) in cvmx_fau_fetch_and_add16() argument
204 return cvmx_read64_int16(__cvmx_fau_atomic_address(0, reg, value)); in cvmx_fau_fetch_and_add16()
211 * @value: Signed value to add.
212 * Returns Value of the register before the update
214 static inline int8_t cvmx_fau_fetch_and_add8(cvmx_fau_reg_8_t reg, int8_t value) in cvmx_fau_fetch_and_add8() argument
217 return cvmx_read64_int8(__cvmx_fau_atomic_address(0, reg, value)); in cvmx_fau_fetch_and_add8()
226 * @value: Signed value to add.
229 * the value of the register before the update will be
233 cvmx_fau_tagwait_fetch_and_add64(cvmx_fau_reg_64_t reg, int64_t value) in cvmx_fau_tagwait_fetch_and_add64() argument
240 cvmx_read64_int64(__cvmx_fau_atomic_address(1, reg, value)); in cvmx_fau_tagwait_fetch_and_add64()
250 * @value: Signed value to add.
253 * the value of the register before the update will be
257 cvmx_fau_tagwait_fetch_and_add32(cvmx_fau_reg_32_t reg, int32_t value) in cvmx_fau_tagwait_fetch_and_add32() argument
265 cvmx_read64_int32(__cvmx_fau_atomic_address(1, reg, value)); in cvmx_fau_tagwait_fetch_and_add32()
275 * @value: Signed value to add.
277 * the value of the register before the update will be
281 cvmx_fau_tagwait_fetch_and_add16(cvmx_fau_reg_16_t reg, int16_t value) in cvmx_fau_tagwait_fetch_and_add16() argument
289 cvmx_read64_int16(__cvmx_fau_atomic_address(1, reg, value)); in cvmx_fau_tagwait_fetch_and_add16()
298 * @value: Signed value to add.
300 * the value of the register before the update will be
304 cvmx_fau_tagwait_fetch_and_add8(cvmx_fau_reg_8_t reg, int8_t value) in cvmx_fau_tagwait_fetch_and_add8() argument
311 result.i8 = cvmx_read64_int8(__cvmx_fau_atomic_address(1, reg, value)); in cvmx_fau_tagwait_fetch_and_add8()
319 * @value: Signed value to add.
337 static inline uint64_t __cvmx_fau_iobdma_data(uint64_t scraddr, int64_t value, in __cvmx_fau_iobdma_data() argument
345 cvmx_build_bits(CVMX_FAU_BITS_INEVAL, value) | in __cvmx_fau_iobdma_data()
352 * Perform an async atomic 64 bit add. The old value is
359 * @value: Signed value to add.
365 int64_t value) in cvmx_fau_async_fetch_and_add64() argument
368 (scraddr, value, 0, CVMX_FAU_OP_SIZE_64, reg)); in cvmx_fau_async_fetch_and_add64()
372 * Perform an async atomic 32 bit add. The old value is
379 * @value: Signed value to add.
385 int32_t value) in cvmx_fau_async_fetch_and_add32() argument
388 (scraddr, value, 0, CVMX_FAU_OP_SIZE_32, reg)); in cvmx_fau_async_fetch_and_add32()
392 * Perform an async atomic 16 bit add. The old value is
399 * @value: Signed value to add.
404 int16_t value) in cvmx_fau_async_fetch_and_add16() argument
407 (scraddr, value, 0, CVMX_FAU_OP_SIZE_16, reg)); in cvmx_fau_async_fetch_and_add16()
411 * Perform an async atomic 8 bit add. The old value is
417 * @value: Signed value to add.
422 int8_t value) in cvmx_fau_async_fetch_and_add8() argument
425 (scraddr, value, 0, CVMX_FAU_OP_SIZE_8, reg)); in cvmx_fau_async_fetch_and_add8()
434 * will be set. Otherwise the value of the register before
439 * @value: Signed value to add.
445 int64_t value) in cvmx_fau_async_tagwait_fetch_and_add64() argument
448 (scraddr, value, 1, CVMX_FAU_OP_SIZE_64, reg)); in cvmx_fau_async_tagwait_fetch_and_add64()
457 * will be set. Otherwise the value of the register before
462 * @value: Signed value to add.
468 int32_t value) in cvmx_fau_async_tagwait_fetch_and_add32() argument
471 (scraddr, value, 1, CVMX_FAU_OP_SIZE_32, reg)); in cvmx_fau_async_tagwait_fetch_and_add32()
480 * will be set. Otherwise the value of the register before
485 * @value: Signed value to add.
491 int16_t value) in cvmx_fau_async_tagwait_fetch_and_add16() argument
494 (scraddr, value, 1, CVMX_FAU_OP_SIZE_16, reg)); in cvmx_fau_async_tagwait_fetch_and_add16()
503 * will be set. Otherwise the value of the register before
507 * @value: Signed value to add.
513 int8_t value) in cvmx_fau_async_tagwait_fetch_and_add8() argument
516 (scraddr, value, 1, CVMX_FAU_OP_SIZE_8, reg)); in cvmx_fau_async_tagwait_fetch_and_add8()
524 * @value: Signed value to add.
526 static inline void cvmx_fau_atomic_add64(cvmx_fau_reg_64_t reg, int64_t value) in cvmx_fau_atomic_add64() argument
528 cvmx_write64_int64(__cvmx_fau_store_address(0, reg), value); in cvmx_fau_atomic_add64()
536 * @value: Signed value to add.
538 static inline void cvmx_fau_atomic_add32(cvmx_fau_reg_32_t reg, int32_t value) in cvmx_fau_atomic_add32() argument
541 cvmx_write64_int32(__cvmx_fau_store_address(0, reg), value); in cvmx_fau_atomic_add32()
549 * @value: Signed value to add.
551 static inline void cvmx_fau_atomic_add16(cvmx_fau_reg_16_t reg, int16_t value) in cvmx_fau_atomic_add16() argument
554 cvmx_write64_int16(__cvmx_fau_store_address(0, reg), value); in cvmx_fau_atomic_add16()
561 * @value: Signed value to add.
563 static inline void cvmx_fau_atomic_add8(cvmx_fau_reg_8_t reg, int8_t value) in cvmx_fau_atomic_add8() argument
566 cvmx_write64_int8(__cvmx_fau_store_address(0, reg), value); in cvmx_fau_atomic_add8()
574 * @value: Signed value to write.
576 static inline void cvmx_fau_atomic_write64(cvmx_fau_reg_64_t reg, int64_t value) in cvmx_fau_atomic_write64() argument
578 cvmx_write64_int64(__cvmx_fau_store_address(1, reg), value); in cvmx_fau_atomic_write64()
586 * @value: Signed value to write.
588 static inline void cvmx_fau_atomic_write32(cvmx_fau_reg_32_t reg, int32_t value) in cvmx_fau_atomic_write32() argument
591 cvmx_write64_int32(__cvmx_fau_store_address(1, reg), value); in cvmx_fau_atomic_write32()
599 * @value: Signed value to write.
601 static inline void cvmx_fau_atomic_write16(cvmx_fau_reg_16_t reg, int16_t value) in cvmx_fau_atomic_write16() argument
604 cvmx_write64_int16(__cvmx_fau_store_address(1, reg), value); in cvmx_fau_atomic_write16()
611 * @value: Signed value to write.
613 static inline void cvmx_fau_atomic_write8(cvmx_fau_reg_8_t reg, int8_t value) in cvmx_fau_atomic_write8() argument
616 cvmx_write64_int8(__cvmx_fau_store_address(1, reg), value); in cvmx_fau_atomic_write8()