Lines Matching refs:mhpmevent_val
154 (env->mhpmevent_val[ctr_idx] & MHPMEVENT_BIT_MINH)) || in riscv_pmu_incr_ctr_rv64()
156 (env->mhpmevent_val[ctr_idx] & MHPMEVENT_BIT_VSINH)) || in riscv_pmu_incr_ctr_rv64()
158 (env->mhpmevent_val[ctr_idx] & MHPMEVENT_BIT_VUINH)) || in riscv_pmu_incr_ctr_rv64()
160 (env->mhpmevent_val[ctr_idx] & MHPMEVENT_BIT_SINH)) || in riscv_pmu_incr_ctr_rv64()
162 (env->mhpmevent_val[ctr_idx] & MHPMEVENT_BIT_UINH))) { in riscv_pmu_incr_ctr_rv64()
170 if (!(env->mhpmevent_val[ctr_idx] & MHPMEVENT_BIT_OF)) { in riscv_pmu_incr_ctr_rv64()
171 env->mhpmevent_val[ctr_idx] |= MHPMEVENT_BIT_OF; in riscv_pmu_incr_ctr_rv64()
425 target_ulong mhpmevent_val; in pmu_hpmevent_is_of_set() local
429 mhpmevent_val = env->mhpmeventh_val[ctr_idx]; in pmu_hpmevent_is_of_set()
432 mhpmevent_val = env->mhpmevent_val[ctr_idx]; in pmu_hpmevent_is_of_set()
436 return get_field(mhpmevent_val, of_bit_mask); in pmu_hpmevent_is_of_set()
441 target_ulong *mhpmevent_val; in pmu_hpmevent_set_of_if_clear() local
445 mhpmevent_val = &env->mhpmeventh_val[ctr_idx]; in pmu_hpmevent_set_of_if_clear()
448 mhpmevent_val = &env->mhpmevent_val[ctr_idx]; in pmu_hpmevent_set_of_if_clear()
452 if (!get_field(*mhpmevent_val, of_bit_mask)) { in pmu_hpmevent_set_of_if_clear()
453 *mhpmevent_val |= of_bit_mask; in pmu_hpmevent_set_of_if_clear()