Home
last modified time | relevance | path

Searched refs:CVMX_SCRATCH_BASE (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-scratch.h42 #define CVMX_SCRATCH_BASE (-32768l) /* 0xffffffffffff8000 */ macro
53 return *CASTPTR(volatile uint8_t, CVMX_SCRATCH_BASE + address); in cvmx_scratch_read8()
65 return *CASTPTR(volatile uint16_t, CVMX_SCRATCH_BASE + address); in cvmx_scratch_read16()
77 return *CASTPTR(volatile uint32_t, CVMX_SCRATCH_BASE + address); in cvmx_scratch_read32()
89 return *CASTPTR(volatile uint64_t, CVMX_SCRATCH_BASE + address); in cvmx_scratch_read64()
100 *CASTPTR(volatile uint8_t, CVMX_SCRATCH_BASE + address) = in cvmx_scratch_write8()
112 *CASTPTR(volatile uint16_t, CVMX_SCRATCH_BASE + address) = in cvmx_scratch_write16()
124 *CASTPTR(volatile uint32_t, CVMX_SCRATCH_BASE + address) = in cvmx_scratch_write32()
136 *CASTPTR(volatile uint64_t, CVMX_SCRATCH_BASE + address) = value; in cvmx_scratch_write64()