Home
last modified time | relevance | path

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

/device/linaro/bootloader/arm-trusted-firmware/include/lib/aarch64/
Darch_helpers.h20 #define _DEFINE_SYSREG_READ_FUNC(_name, _reg_name) \ argument
24 __asm__ volatile ("mrs %0, " #_reg_name : "=r" (v)); \
28 #define _DEFINE_SYSREG_WRITE_FUNC(_name, _reg_name) \ argument
31 __asm__ volatile ("msr " #_reg_name ", %0" : : "r" (v)); \
47 #define DEFINE_RENAME_SYSREG_RW_FUNCS(_name, _reg_name) \ argument
48 _DEFINE_SYSREG_READ_FUNC(_name, _reg_name) \
49 _DEFINE_SYSREG_WRITE_FUNC(_name, _reg_name)
52 #define DEFINE_RENAME_SYSREG_READ_FUNC(_name, _reg_name) \ argument
53 _DEFINE_SYSREG_READ_FUNC(_name, _reg_name)
56 #define DEFINE_RENAME_SYSREG_WRITE_FUNC(_name, _reg_name) \ argument
[all …]
/device/linaro/bootloader/arm-trusted-firmware/include/lib/aarch32/
Darch_helpers.h56 #define _DEFINE_SYSREG_READ_FUNC(_name, _reg_name) \ argument
60 __asm__ volatile ("mrs %0, " #_reg_name : "=r" (v)); \
64 #define _DEFINE_SYSREG_WRITE_FUNC(_name, _reg_name) \ argument
67 __asm__ volatile ("msr " #_reg_name ", %0" : : "r" (v)); \
70 #define _DEFINE_SYSREG_WRITE_CONST_FUNC(_name, _reg_name) \ argument
73 __asm__ volatile ("msr " #_reg_name ", %0" : : "i" (v)); \