Home
last modified time | relevance | path

Searched refs:_reg_name (Results 1 – 2 of 2) sorted by relevance

/external/arm-trusted-firmware/include/arch/aarch64/
Darch_helpers.h22 #define _DEFINE_SYSREG_READ_FUNC(_name, _reg_name) \ argument
26 __asm__ volatile ("mrs %0, " #_reg_name : "=r" (v)); \
30 #define _DEFINE_SYSREG_WRITE_FUNC(_name, _reg_name) \ argument
33 __asm__ volatile ("msr " #_reg_name ", %0" : : "r" (v)); \
49 #define DEFINE_RENAME_SYSREG_RW_FUNCS(_name, _reg_name) \ argument
50 _DEFINE_SYSREG_READ_FUNC(_name, _reg_name) \
51 _DEFINE_SYSREG_WRITE_FUNC(_name, _reg_name)
54 #define DEFINE_RENAME_SYSREG_READ_FUNC(_name, _reg_name) \ argument
55 _DEFINE_SYSREG_READ_FUNC(_name, _reg_name)
58 #define DEFINE_RENAME_SYSREG_WRITE_FUNC(_name, _reg_name) \ argument
[all …]
/external/arm-trusted-firmware/include/arch/aarch32/
Darch_helpers.h54 #define _DEFINE_SYSREG_READ_FUNC(_name, _reg_name) \ argument
58 __asm__ volatile ("mrs %0, " #_reg_name : "=r" (v)); \
62 #define _DEFINE_SYSREG_WRITE_FUNC(_name, _reg_name) \ argument
65 __asm__ volatile ("msr " #_reg_name ", %0" : : "r" (v)); \
68 #define _DEFINE_SYSREG_WRITE_CONST_FUNC(_name, _reg_name) \ argument
71 __asm__ volatile ("msr " #_reg_name ", %0" : : "i" (v)); \