Home
last modified time | relevance | path

Searched refs:AMU_GROUP1_COUNTERS_MASK (Results 1 – 3 of 3) sorted by relevance

/external/arm-trusted-firmware/include/lib/extensions/
Damu.h23 #define AMU_GROUP1_COUNTERS_MASK PLAT_AMU_GROUP1_COUNTERS_MASK macro
25 #define AMU_GROUP1_COUNTERS_MASK U(0) macro
29 #if (AMU_GROUP1_COUNTERS_MASK & (1 << 15))
31 #elif (AMU_GROUP1_COUNTERS_MASK & (1 << 14))
33 #elif (AMU_GROUP1_COUNTERS_MASK & (1 << 13))
35 #elif (AMU_GROUP1_COUNTERS_MASK & (1 << 12))
37 #elif (AMU_GROUP1_COUNTERS_MASK & (1 << 11))
39 #elif (AMU_GROUP1_COUNTERS_MASK & (1 << 10))
41 #elif (AMU_GROUP1_COUNTERS_MASK & (1 << 9))
43 #elif (AMU_GROUP1_COUNTERS_MASK & (1 << 8))
[all …]
/external/arm-trusted-firmware/lib/extensions/amu/aarch64/
Damu.c97 write_amcntenset1_el0(AMU_GROUP1_COUNTERS_MASK); in amu_enable()
175 assert(read_amcntenset1_el0() == AMU_GROUP1_COUNTERS_MASK); in amu_context_save()
184 write_amcntenclr1_el0(AMU_GROUP1_COUNTERS_MASK); in amu_context_save()
196 if ((AMU_GROUP1_COUNTERS_MASK & (1U << i)) != 0U) { in amu_context_save()
236 if ((AMU_GROUP1_COUNTERS_MASK & (1U << i)) != 0U) { in amu_context_restore()
242 write_amcntenset1_el0(AMU_GROUP1_COUNTERS_MASK); in amu_context_restore()
/external/arm-trusted-firmware/lib/extensions/amu/aarch32/
Damu.c88 write_amcntenset1(AMU_GROUP1_COUNTERS_MASK); in amu_enable()
166 assert(read_amcntenset1_el0() == AMU_GROUP1_COUNTERS_MASK); in amu_context_save()
175 write_amcntenclr1(AMU_GROUP1_COUNTERS_MASK); in amu_context_save()
187 if ((AMU_GROUP1_COUNTERS_MASK & (1U << i)) != 0U) { in amu_context_save()
227 if ((AMU_GROUP1_COUNTERS_MASK & (1U << i)) != 0U) { in amu_context_restore()
233 write_amcntenset1(AMU_GROUP1_COUNTERS_MASK); in amu_context_restore()