Lines Matching refs:base_addr
192 static inline uintptr_t calc_ts_addr(uintptr_t base_addr, in calc_ts_addr() argument
197 assert(base_addr >= PMF_TIMESTAMP_ARRAY_START); in calc_ts_addr()
198 assert(base_addr < ((PMF_TIMESTAMP_ARRAY_START + in calc_ts_addr()
202 base_addr += ((cpuid * PMF_PERCPU_TIMESTAMP_SIZE) + in calc_ts_addr()
205 return base_addr; in calc_ts_addr()
214 void __pmf_store_timestamp(uintptr_t base_addr, in __pmf_store_timestamp() argument
218 unsigned long long *ts_addr = (unsigned long long *)calc_ts_addr(base_addr, in __pmf_store_timestamp()
228 void __pmf_store_timestamp_with_cache_maint(uintptr_t base_addr, in __pmf_store_timestamp_with_cache_maint() argument
232 unsigned long long *ts_addr = (unsigned long long *)calc_ts_addr(base_addr, in __pmf_store_timestamp_with_cache_maint()
243 unsigned long long __pmf_get_timestamp(uintptr_t base_addr, in __pmf_get_timestamp() argument
249 unsigned long long *ts_addr = (unsigned long long *)calc_ts_addr(base_addr, in __pmf_get_timestamp()