Searched refs:CASTPTR (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/arch/mips/include/asm/octeon/ |
D | cvmx-scratch.h | 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()
|
D | cvmx.h | 91 #define CASTPTR(type, v) ((type *)(long)(v)) macro 195 return CASTPTR(void, in cvmx_phys_to_ptr() 199 return CASTPTR(void, in cvmx_phys_to_ptr() 215 *CASTPTR(volatile TYPE##_t, addr) = val; \ 229 return *CASTPTR(volatile TYPE##_t, addr); \
|