Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dpercpu-defs.h230 #define SHIFT_PERCPU_PTR(__p, __offset) \ macro
236 SHIFT_PERCPU_PTR((ptr), per_cpu_offset((cpu))); \
249 SHIFT_PERCPU_PTR(ptr, my_cpu_offset); \
/openbmc/linux/arch/arm/mach-bcm/
H A Dplatsmp-brcmstb.c61 sync_cache_r(SHIFT_PERCPU_PTR(&per_cpu_sw_state, per_cpu_offset(cpu))); in per_cpu_sw_state_rd()
69 sync_cache_w(SHIFT_PERCPU_PTR(&per_cpu_sw_state, per_cpu_offset(cpu))); in per_cpu_sw_state_wr()
/openbmc/linux/include/asm-generic/
H A Dpercpu.h44 #define arch_raw_cpu_ptr(ptr) SHIFT_PERCPU_PTR(ptr, __my_cpu_offset)