Searched refs:CASTPTR (Results 1 – 8 of 8) sorted by relevance
| /arch/mips/mach-octeon/include/mach/ |
| A D | cvmx-scratch.h | 30 return *CASTPTR(volatile u8, CVMX_SCRATCH_BASE + address); in cvmx_scratch_read8() 42 return *CASTPTR(volatile u16, CVMX_SCRATCH_BASE + address); in cvmx_scratch_read16() 54 return *CASTPTR(volatile u32, CVMX_SCRATCH_BASE + address); in cvmx_scratch_read32() 66 return *CASTPTR(volatile u64, CVMX_SCRATCH_BASE + address); in cvmx_scratch_read64() 77 *CASTPTR(volatile u8, CVMX_SCRATCH_BASE + address) = (u8)value; in cvmx_scratch_write8() 88 *CASTPTR(volatile u16, CVMX_SCRATCH_BASE + address) = (u16)value; in cvmx_scratch_write16() 99 *CASTPTR(volatile u32, CVMX_SCRATCH_BASE + address) = (u32)value; in cvmx_scratch_write32() 110 *CASTPTR(volatile u64, CVMX_SCRATCH_BASE + address) = value; in cvmx_scratch_write64()
|
| A D | cvmx-fau.h | 43 return __atomic_fetch_add(CASTPTR(int64_t, __cvmx_fau_sw_addr(reg)), in cvmx_fau_fetch_and_add64() 63 return __atomic_fetch_add(CASTPTR(int32_t, __cvmx_fau_sw_addr(reg)), in cvmx_fau_fetch_and_add32() 99 return __atomic_fetch_add(CASTPTR(int8_t, __cvmx_fau_sw_addr(reg)), in cvmx_fau_fetch_and_add8() 209 __atomic_fetch_add(CASTPTR(int64_t, __cvmx_fau_sw_addr(reg)), in cvmx_fau_async_fetch_and_add64() 234 __atomic_fetch_add(CASTPTR(int32_t, __cvmx_fau_sw_addr(reg)), in cvmx_fau_async_fetch_and_add32() 258 __atomic_fetch_add(CASTPTR(int16_t, __cvmx_fau_sw_addr(reg)), in cvmx_fau_async_fetch_and_add16() 281 __atomic_fetch_add(CASTPTR(int8_t, __cvmx_fau_sw_addr(reg)), in cvmx_fau_async_fetch_and_add8() 312 __atomic_fetch_add(CASTPTR(int64_t, __cvmx_fau_sw_addr(reg)), in cvmx_fau_async_tagwait_fetch_and_add64() 342 __atomic_fetch_add(CASTPTR(int32_t, __cvmx_fau_sw_addr(reg)), in cvmx_fau_async_tagwait_fetch_and_add32() 371 __atomic_fetch_add(CASTPTR(int16_t, __cvmx_fau_sw_addr(reg)), in cvmx_fau_async_tagwait_fetch_and_add16() [all …]
|
| A D | cvmx-regs.h | 31 #define CASTPTR(type, v) ((type *)(long)(v)) macro
|
| A D | cvmx-pko3.h | 878 mem_s.s.addr = cvmx_ptr_to_phys(CASTPTR(void, pcounter)); in cvmx_pko3_xmit_link_buf()
|
| /arch/mips/mach-octeon/ |
| A D | cvmx-pko3-compat.c | 564 CASTPTR(void, __cvmx_fau_sw_addr(pko_command.s.reg0))); in cvmx_pko3_legacy_xmit() 598 CASTPTR(void, __cvmx_fau_sw_addr(pko_command.s.reg1))); in cvmx_pko3_legacy_xmit()
|
| A D | cpu.c | 419 *CASTPTR(volatile u64, addr + CVMX_SCRATCH_BASE) = (u64)0; in configure_lmtdma_window()
|
| A D | cvmx-helper-board.c | 256 const void *fdt_addr = CASTPTR(const void *, gd->fdt_blob); in __cvmx_helper_board_link_get_from_dt() 526 const void *fdt_addr = CASTPTR(const void *, gd->fdt_blob); in __get_muxed_mdio_info_from_dt() 956 const void *fdt_addr = CASTPTR(const void *, gd->fdt_blob); in __cvmx_helper_78xx_parse_phy() 1114 const void *fdt_addr = CASTPTR(const void *, gd->fdt_blob); in __get_phy_info_from_dt()
|
| A D | cvmx-bootmem.c | 1439 tmp = CASTPTR(void, CVMX_ADD_SEG(CVMX_MIPS_SPACE_XKPHYS, phys)); in __cvmx_phys_addr_to_ptr() 1443 tmp = CASTPTR(void, CVMX_ADD_SEG32(CVMX_MIPS32_SPACE_KSEG0, in __cvmx_phys_addr_to_ptr()
|
Completed in 19 milliseconds