Searched refs:timeridx (Results 1 – 2 of 2) sorted by relevance
| /openbmc/qemu/target/arm/ |
| H A D | helper.c | 1110 static CPAccessResult gt_counter_access(CPUARMState *env, int timeridx, in gt_counter_access() argument 1121 return (extract32(env->cp15.cnthctl_el2, timeridx, 1) in gt_counter_access() 1126 if (!extract32(env->cp15.c14_cntkctl, timeridx, 1)) { in gt_counter_access() 1132 if (has_el2 && timeridx == GTIMER_PHYS && in gt_counter_access() 1138 if (has_el2 && timeridx == GTIMER_VIRT) { in gt_counter_access() 1148 static CPAccessResult gt_timer_access(CPUARMState *env, int timeridx, in gt_timer_access() argument 1159 return (extract32(env->cp15.cnthctl_el2, 9 - timeridx, 1) in gt_timer_access() 1167 if (!extract32(env->cp15.c14_cntkctl, 9 - timeridx, 1)) { in gt_timer_access() 1173 if (has_el2 && timeridx == GTIMER_PHYS) { in gt_timer_access() 1186 if (has_el2 && timeridx == GTIMER_VIRT) { in gt_timer_access() [all …]
|
| H A D | internals.h | 1961 uint64_t gt_direct_access_timer_offset(CPUARMState *env, int timeridx);
|