• Home
  • Raw
  • Download

Lines Matching refs:_name

50 #define PMF_DECLARE_CAPTURE_TIMESTAMP(_name)			\  argument
51 void pmf_capture_timestamp_with_cache_maint_ ## _name( \
54 void pmf_capture_timestamp_ ## _name( \
58 #define PMF_CAPTURE_TIMESTAMP(_name, _tid, _flags) \ argument
62 pmf_capture_timestamp_with_cache_maint_ ## _name((_tid), ts);\
64 pmf_capture_timestamp_ ## _name((_tid), ts); \
67 #define PMF_CAPTURE_AND_GET_TIMESTAMP(_name, _tid, _flags, _tsval) \ argument
72 pmf_capture_timestamp_with_cache_maint_ ## _name((_tid), (_tsval));\
74 pmf_capture_timestamp_ ## _name((_tid), (_tsval));\
77 #define PMF_WRITE_TIMESTAMP(_name, _tid, _flags, _wrval) \ argument
81 pmf_capture_timestamp_with_cache_maint_ ## _name((_tid), (_wrval));\
83 pmf_capture_timestamp_ ## _name((_tid), (_wrval));\
89 #define PMF_DECLARE_GET_TIMESTAMP(_name) \ argument
90 unsigned long long pmf_get_timestamp_by_index_ ## _name(\
94 unsigned long long pmf_get_timestamp_by_mpidr_ ## _name(\
99 #define PMF_GET_TIMESTAMP_BY_MPIDR(_name, _tid, _mpidr, _flags, _tsval)\ argument
100 _tsval = pmf_get_timestamp_by_mpidr_ ## _name(_tid, _mpidr, _flags)
102 #define PMF_GET_TIMESTAMP_BY_INDEX(_name, _tid, _cpuid, _flags, _tsval)\ argument
103 _tsval = pmf_get_timestamp_by_index_ ## _name(_tid, _cpuid, _flags)
110 #define PMF_REGISTER_SERVICE(_name, _svcid, _totalid, _flags) \ argument
111 PMF_ALLOCATE_TIMESTAMP_MEMORY(_name, _totalid) \
112 PMF_DEFINE_CAPTURE_TIMESTAMP(_name, _flags) \
113 PMF_DEFINE_GET_TIMESTAMP(_name)
119 #define PMF_REGISTER_SERVICE_SMC(_name, _svcid, _totalid, _flags)\ argument
120 PMF_REGISTER_SERVICE(_name, _svcid, _totalid, _flags) \
121 PMF_DEFINE_SERVICE_DESC(_name, PMF_ARM_TIF_IMPL_ID, \
123 pmf_get_timestamp_by_mpidr_ ## _name)
129 #define PMF_REGISTER_SERVICE_SMC_OWN(_name, _implid, _svcid, _totalid, \ argument
131 PMF_DEFINE_SERVICE_DESC(_name, _implid, _svcid, _totalid, \
136 #define PMF_REGISTER_SERVICE(_name, _svcid, _totalid, _flags) argument
137 #define PMF_REGISTER_SERVICE_SMC(_name, _svcid, _totalid, _flags) argument
138 #define PMF_REGISTER_SERVICE_SMC_OWN(_name, _implid, _svcid, _totalid, \ argument
140 #define PMF_DECLARE_CAPTURE_TIMESTAMP(_name) argument
141 #define PMF_DECLARE_GET_TIMESTAMP(_name) argument
142 #define PMF_CAPTURE_TIMESTAMP(_name, _tid, _flags) argument
143 #define PMF_GET_TIMESTAMP_BY_MPIDR(_name, _tid, _mpidr, _flags, _tsval) argument
144 #define PMF_GET_TIMESTAMP_BY_INDEX(_name, _tid, _cpuid, _flags, _tsval) argument
153 #define PMF_ALLOCATE_TIMESTAMP_MEMORY(_name, _total_id) \ argument
154 extern unsigned long long pmf_ts_mem_ ## _name[_total_id]; \
155 unsigned long long pmf_ts_mem_ ## _name[_total_id] \
163 #define PMF_VALIDATE_TID(_name, _tid) \ argument
164 assert((_tid & PMF_TID_MASK) < (ARRAY_SIZE(pmf_ts_mem_ ## _name)))
171 #define PMF_DEFINE_CAPTURE_TIMESTAMP(_name, _flags) \ argument
172 void pmf_capture_timestamp_ ## _name( \
177 PMF_VALIDATE_TID(_name, (uint64_t)tid); \
178 uintptr_t base_addr = (uintptr_t) pmf_ts_mem_ ## _name; \
185 void pmf_capture_timestamp_with_cache_maint_ ## _name( \
190 PMF_VALIDATE_TID(_name, (uint64_t)tid); \
191 uintptr_t base_addr = (uintptr_t) pmf_ts_mem_ ## _name; \
204 #define PMF_DEFINE_GET_TIMESTAMP(_name) \ argument
205 unsigned long long pmf_get_timestamp_by_index_ ## _name( \
208 PMF_VALIDATE_TID(_name, tid); \
209 uintptr_t base_addr = (uintptr_t) pmf_ts_mem_ ## _name; \
212 unsigned long long pmf_get_timestamp_by_mpidr_ ## _name( \
215 PMF_VALIDATE_TID(_name, tid); \
216 uintptr_t base_addr = (uintptr_t) pmf_ts_mem_ ## _name; \
225 #define PMF_DEFINE_SERVICE_DESC(_name, _implid, _svcid, _totalid, \ argument
227 static const pmf_svc_desc_t __pmf_desc_ ## _name \
233 .name = #_name, \