Lines Matching defs:value
57 * bit will be set. Otherwise the value of the register before
62 int64_t value:63;
67 * bit will be set. Otherwise the value of the register before
72 int32_t value:31;
77 * bit will be set. Otherwise the value of the register before
82 int16_t value:15;
87 * bit will be set. Otherwise the value of the register before
92 int8_t value:7;
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)
156 cvmx_build_bits(CVMX_FAU_BITS_INEVAL, value) |
166 * @value: Signed value to add.
171 int64_t value)
173 return cvmx_read64_int64(__cvmx_fau_atomic_address(0, reg, value));
181 * @value: Signed value to add.
186 int32_t value)
189 return cvmx_read64_int32(__cvmx_fau_atomic_address(0, reg, value));
197 * @value: Signed value to add.
201 int16_t value)
204 return cvmx_read64_int16(__cvmx_fau_atomic_address(0, reg, value));
211 * @value: Signed value to add.
214 static inline int8_t cvmx_fau_fetch_and_add8(cvmx_fau_reg_8_t reg, int8_t value)
217 return cvmx_read64_int8(__cvmx_fau_atomic_address(0, reg, value));
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)
240 cvmx_read64_int64(__cvmx_fau_atomic_address(1, reg, value));
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)
265 cvmx_read64_int32(__cvmx_fau_atomic_address(1, reg, value));
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)
289 cvmx_read64_int16(__cvmx_fau_atomic_address(1, reg, value));
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)
311 result.i8 = cvmx_read64_int8(__cvmx_fau_atomic_address(1, reg, value));
319 * @value: Signed value to add.
337 static inline uint64_t __cvmx_fau_iobdma_data(uint64_t scraddr, int64_t value,
345 cvmx_build_bits(CVMX_FAU_BITS_INEVAL, value) |
352 * Perform an async atomic 64 bit add. The old value is
359 * @value: Signed value to add.
365 int64_t value)
368 (scraddr, value, 0, CVMX_FAU_OP_SIZE_64, reg));
372 * Perform an async atomic 32 bit add. The old value is
379 * @value: Signed value to add.
385 int32_t value)
388 (scraddr, value, 0, CVMX_FAU_OP_SIZE_32, reg));
392 * Perform an async atomic 16 bit add. The old value is
399 * @value: Signed value to add.
404 int16_t value)
407 (scraddr, value, 0, CVMX_FAU_OP_SIZE_16, reg));
411 * Perform an async atomic 8 bit add. The old value is
417 * @value: Signed value to add.
422 int8_t value)
425 (scraddr, value, 0, CVMX_FAU_OP_SIZE_8, reg));
434 * will be set. Otherwise the value of the register before
439 * @value: Signed value to add.
445 int64_t value)
448 (scraddr, value, 1, CVMX_FAU_OP_SIZE_64, reg));
457 * will be set. Otherwise the value of the register before
462 * @value: Signed value to add.
468 int32_t value)
471 (scraddr, value, 1, CVMX_FAU_OP_SIZE_32, reg));
480 * will be set. Otherwise the value of the register before
485 * @value: Signed value to add.
491 int16_t value)
494 (scraddr, value, 1, CVMX_FAU_OP_SIZE_16, reg));
503 * will be set. Otherwise the value of the register before
507 * @value: Signed value to add.
513 int8_t value)
516 (scraddr, value, 1, CVMX_FAU_OP_SIZE_8, reg));
524 * @value: Signed value to add.
526 static inline void cvmx_fau_atomic_add64(cvmx_fau_reg_64_t reg, int64_t value)
528 cvmx_write64_int64(__cvmx_fau_store_address(0, reg), value);
536 * @value: Signed value to add.
538 static inline void cvmx_fau_atomic_add32(cvmx_fau_reg_32_t reg, int32_t value)
541 cvmx_write64_int32(__cvmx_fau_store_address(0, reg), value);
549 * @value: Signed value to add.
551 static inline void cvmx_fau_atomic_add16(cvmx_fau_reg_16_t reg, int16_t value)
554 cvmx_write64_int16(__cvmx_fau_store_address(0, reg), value);
561 * @value: Signed value to add.
563 static inline void cvmx_fau_atomic_add8(cvmx_fau_reg_8_t reg, int8_t value)
566 cvmx_write64_int8(__cvmx_fau_store_address(0, reg), value);
574 * @value: Signed value to write.
576 static inline void cvmx_fau_atomic_write64(cvmx_fau_reg_64_t reg, int64_t value)
578 cvmx_write64_int64(__cvmx_fau_store_address(1, reg), value);
586 * @value: Signed value to write.
588 static inline void cvmx_fau_atomic_write32(cvmx_fau_reg_32_t reg, int32_t value)
591 cvmx_write64_int32(__cvmx_fau_store_address(1, reg), value);
599 * @value: Signed value to write.
601 static inline void cvmx_fau_atomic_write16(cvmx_fau_reg_16_t reg, int16_t value)
604 cvmx_write64_int16(__cvmx_fau_store_address(1, reg), value);
611 * @value: Signed value to write.
613 static inline void cvmx_fau_atomic_write8(cvmx_fau_reg_8_t reg, int8_t value)
616 cvmx_write64_int8(__cvmx_fau_store_address(1, reg), value);