Lines Matching defs:value
45 * Reads an 8 bit value from the processor local scratchpad memory.
49 * Returns value read
57 * Reads a 16 bit value from the processor local scratchpad memory.
61 * Returns value read
69 * Reads a 32 bit value from the processor local scratchpad memory.
73 * Returns value read
81 * Reads a 64 bit value from the processor local scratchpad memory.
85 * Returns value read
93 * Writes an 8 bit value to the processor local scratchpad memory.
96 * @value: value to write
98 static inline void cvmx_scratch_write8(uint64_t address, uint64_t value)
101 (uint8_t) value;
105 * Writes a 32 bit value to the processor local scratchpad memory.
108 * @value: value to write
110 static inline void cvmx_scratch_write16(uint64_t address, uint64_t value)
113 (uint16_t) value;
117 * Writes a 16 bit value to the processor local scratchpad memory.
120 * @value: value to write
122 static inline void cvmx_scratch_write32(uint64_t address, uint64_t value)
125 (uint32_t) value;
129 * Writes a 64 bit value to the processor local scratchpad memory.
132 * @value: value to write
134 static inline void cvmx_scratch_write64(uint64_t address, uint64_t value)
136 *CASTPTR(volatile uint64_t, CVMX_SCRATCH_BASE + address) = value;