Searched refs:mcountinhibit (Results 1 – 4 of 4) sorted by relevance
97 !get_field(env->mcountinhibit, BIT(ctr_idx))) { in riscv_pmu_counter_enabled()
451 VMSTATE_UINT32(env.mcountinhibit, RISCVCPU),
1306 if (!get_field(env->mcountinhibit, BIT(ctr_idx)) && in riscv_pmu_write_ctr()1335 if (!get_field(env->mcountinhibit, BIT(ctr_idx)) && in riscv_pmu_write_ctrh()1375 if (get_field(env->mcountinhibit, BIT(ctr_idx))) { in riscv_pmu_read_ctr()2993 *val = env->mcountinhibit; in read_mcountinhibit()3004 target_ulong updated_ctrs = (env->mcountinhibit ^ val) & present_ctrs; in write_mcountinhibit()3008 env->mcountinhibit = val & present_ctrs; in write_mcountinhibit()3020 if (!get_field(env->mcountinhibit, BIT(cidx))) { in write_mcountinhibit()3068 *val = env->mcountinhibit & env->mcounteren; in read_scountinhibit()
403 uint32_t mcountinhibit; member