/trusted-firmware-a/include/lib/pmf/ |
A D | pmf_helpers.h | 54 void pmf_capture_timestamp_ ## _name( \ 89 #define PMF_DECLARE_GET_TIMESTAMP(_name) \ argument 113 PMF_DEFINE_GET_TIMESTAMP(_name) 123 pmf_get_timestamp_by_mpidr_ ## _name) 140 #define PMF_DECLARE_CAPTURE_TIMESTAMP(_name) argument 141 #define PMF_DECLARE_GET_TIMESTAMP(_name) argument 163 #define PMF_VALIDATE_TID(_name, _tid) \ argument 172 void pmf_capture_timestamp_ ## _name( \ 208 PMF_VALIDATE_TID(_name, tid); \ 215 PMF_VALIDATE_TID(_name, tid); \ [all …]
|
/trusted-firmware-a/include/common/ |
A D | asm_macros_common.S | 20 .macro func _name, _align=2 33 .type \_name, %function 40 \_name: 52 .macro endfunc _name 54 .size \_name, . - \_name 63 .macro func_deprecated _name 64 func deprecated\_name 68 endfunc deprecated\_name 72 func \_name 76 endfunc \_name [all …]
|
A D | runtime_svc.h | 73 #define DECLARE_RT_SVC(_name, _start, _end, _type, _setup, _smch) \ argument 74 static const rt_svc_desc_t __svc_desc_ ## _name \ 79 .name = #_name, \
|
/trusted-firmware-a/include/arch/aarch32/ |
A D | arch_helpers.h | 23 static inline void write_## _name(u_register_t v) \ 29 static inline u_register_t read_ ## _name(void) \ 48 static inline uint64_t read64_## _name(void) \ 76 _DEFINE_COPROCR_READ_FUNC(_name, __VA_ARGS__) 80 _DEFINE_COPROCR_WRITE_FUNC(_name, __VA_ARGS__) 83 #define DEFINE_COPROCR_RW_FUNCS(_name, ...) \ argument 85 _DEFINE_COPROCR_WRITE_FUNC(_name, __VA_ARGS__) 89 _DEFINE_COPROCR_READ_FUNC_64(_name, __VA_ARGS__) 101 #define DEFINE_SYSREG_RW_FUNCS(_name) \ argument 102 _DEFINE_SYSREG_READ_FUNC(_name, _name) \ [all …]
|
A D | asm_macros.S | 80 .macro get_my_mp_stack _name, _size 82 ldr r2, =(\_name + \_size) 92 .macro get_up_stack _name, _size 93 ldr r0, =(\_name + \_size) 171 .macro define_asm_spinlock _name:req 173 \_name:
|
/trusted-firmware-a/include/lib/ |
A D | utils.h | 81 #define DEFINE_LOAD_SYM_ADDR(_name) \ argument 82 static inline u_register_t load_addr_## _name(void) \ 85 __asm__ volatile ("ldr %0, =" #_name : "=r" (v) : "X" (#_name));\ 90 #define LOAD_ADDR_OF(_name) (typeof(_name) *) load_addr_## _name() argument
|
A D | bakery_lock.h | 99 #define DEFINE_BAKERY_LOCK(_name) bakery_lock_t _name __section("bakery_lock") argument 101 #define DECLARE_BAKERY_LOCK(_name) extern bakery_lock_t _name argument
|
A D | smccc.h | 166 #define DEFINE_SVC_UUID2(_name, _tl, _tm, _th, _cl, _ch, \ argument 169 invalid_svc_uuid_##_name); \ 170 static const uuid_t _name = { \
|
/trusted-firmware-a/include/lib/cpus/aarch64/ |
A D | cpu_macros.S | 155 .type cpu_ops_\_name, %object 169 .ifndef \_name\()_cpu_str 175 define_asm_spinlock \_name\()_errata_lock 176 \_name\()_errata_reported: 182 \_name\()_cpu_str: 191 .quad \_name\()_errata_report 195 .quad \_name\()_errata_lock 196 .quad \_name\()_errata_reported 201 .quad \_name\()_cpu_reg_dump 213 declare_cpu_ops_base \_name, \_midr, \_resetfunc, \ [all …]
|
/trusted-firmware-a/include/lib/cpus/aarch32/ |
A D | cpu_macros.S | 130 .macro declare_cpu_ops _name:req, _midr:req, _resetfunc:req, \ 134 .type cpu_ops_\_name, %object 145 .ifndef \_name\()_cpu_str 151 define_asm_spinlock \_name\()_errata_lock 152 \_name\()_errata_reported: 158 \_name\()_cpu_str: 167 .word \_name\()_errata_report 171 .word \_name\()_errata_lock 172 .word \_name\()_errata_reported
|
/trusted-firmware-a/include/arch/aarch64/ |
A D | asm_macros.S | 107 .macro get_my_mp_stack _name, _size 109 adrp x2, (\_name + \_size) 110 add x2, x2, :lo12:(\_name + \_size) 120 .macro get_up_stack _name, _size 121 adrp x0, (\_name + \_size) 122 add x0, x0, :lo12:(\_name + \_size) 183 .macro define_asm_spinlock _name:req 185 \_name:
|
A D | arch_helpers.h | 23 static inline u_register_t read_ ## _name(void) \ 40 #define DEFINE_SYSREG_READ_FUNC(_name) \ argument 41 _DEFINE_SYSREG_READ_FUNC(_name, _name) 44 #define DEFINE_SYSREG_RW_FUNCS(_name) \ argument 45 _DEFINE_SYSREG_READ_FUNC(_name, _name) \ 46 _DEFINE_SYSREG_WRITE_FUNC(_name, _name) 50 _DEFINE_SYSREG_READ_FUNC(_name, _reg_name) \ 51 _DEFINE_SYSREG_WRITE_FUNC(_name, _reg_name) 55 _DEFINE_SYSREG_READ_FUNC(_name, _reg_name) 59 _DEFINE_SYSREG_WRITE_FUNC(_name, _reg_name) [all …]
|
/trusted-firmware-a/lib/psci/ |
A D | psci_private.h | 171 #define DEFINE_PSCI_LOCK(_name) spinlock_t _name argument 172 #define DECLARE_PSCI_LOCK(_name) extern DEFINE_PSCI_LOCK(_name) argument 211 #define DEFINE_PSCI_LOCK(_name) DEFINE_BAKERY_LOCK(_name) argument 212 #define DECLARE_PSCI_LOCK(_name) DECLARE_BAKERY_LOCK(_name) argument
|
/trusted-firmware-a/include/drivers/auth/ |
A D | crypto_mod.h | 86 #define REGISTER_CRYPTO_LIB(_name, _init, _verify_signature, _verify_hash, \ argument 89 .name = _name, \ 97 #define REGISTER_CRYPTO_LIB(_name, _init, _verify_signature, _verify_hash, \ argument 100 .name = _name, \
|
A D | img_parser_mod.h | 54 #define REGISTER_IMG_PARSER_LIB(_type, _name, _init, _check_int, _get_param) \ argument 58 .name = _name, \
|
/trusted-firmware-a/plat/rockchip/common/aarch64/ |
A D | pmu_sram_cpus_on.S | 12 .macro pmusram_entry_func _name 14 .type \_name, %function 16 \_name:
|
/trusted-firmware-a/plat/rockchip/common/aarch32/ |
A D | pmu_sram_cpus_on.S | 12 .macro pmusram_entry_func _name 14 .type \_name, %function 16 \_name:
|
/trusted-firmware-a/plat/rockchip/common/pmusram/ |
A D | cpus_on_fixed_addr.S | 15 .macro pmusram_entry_func _name 17 .type \_name, %function 19 \_name:
|
/trusted-firmware-a/drivers/scmi-msg/ |
A D | common.h | 28 #define COPY_NAME_IDENTIFIER(_dst_array, _name) \ argument 30 assert(strlen(_name) < sizeof(_dst_array)); \ 31 strlcpy((_dst_array), (_name), sizeof(_dst_array)); \
|
/trusted-firmware-a/include/lib/pmf/aarch32/ |
A D | pmf_asm_macros.S | 17 .macro pmf_calc_timestamp_addr _name, _tid 24 ldr r1, =pmf_ts_mem_\_name
|
/trusted-firmware-a/include/lib/psci/ |
A D | psci_lib.h | 58 #define DEFINE_STATIC_PSCI_LIB_ARGS_V1(_name, _entry) \ argument 59 static const psci_lib_args_t (_name) = { \ 62 .h.size = (uint16_t)sizeof(_name), \
|
/trusted-firmware-a/plat/mediatek/mt8195/ |
A D | plat_pm.c | 44 #define plat_mt_pm_invoke(_name, _cpu, _state) ({ \ argument 46 if (plat_mt_pm != NULL && plat_mt_pm->_name != NULL) { \ 47 ret = plat_mt_pm->_name(_cpu, _state); \ 51 #define plat_mt_pm_invoke_no_check(_name, _cpu, _state) ({ \ argument 52 if (plat_mt_pm != NULL && plat_mt_pm->_name != NULL) { \ 53 (void) plat_mt_pm->_name(_cpu, _state); \
|
/trusted-firmware-a/plat/mediatek/mt8192/ |
A D | plat_pm.c | 44 #define plat_mt_pm_invoke(_name, _cpu, _state) ({ \ argument 46 if (plat_mt_pm != NULL && plat_mt_pm->_name != NULL) { \ 47 ret = plat_mt_pm->_name(_cpu, _state); \ 51 #define plat_mt_pm_invoke_no_check(_name, _cpu, _state) ({ \ argument 52 if (plat_mt_pm != NULL && plat_mt_pm->_name != NULL) { \ 53 (void) plat_mt_pm->_name(_cpu, _state); \
|
/trusted-firmware-a/include/lib/pmf/aarch64/ |
A D | pmf_asm_macros.S | 17 .macro pmf_calc_timestamp_addr _name, _tid 26 adr x1, pmf_ts_mem_\_name
|
/trusted-firmware-a/plat/rockchip/rk3399/drivers/pmu/ |
A D | plat_pmu_macros.S | 14 .macro sram_func _name 17 .type \_name, %function 19 \_name:
|