Searched refs:pmu_mask (Results 1 – 5 of 5) sorted by relevance
282 if (!cpu->cfg.pmu_mask) { in riscv_pmu_incr_ctr()585 if (cpu->cfg.pmu_mask & (COUNTEREN_CY | COUNTEREN_TM | COUNTEREN_IR)) { in riscv_pmu_init()590 if (ctpop32(cpu->cfg.pmu_mask) > (RV_MAX_MHPMCOUNTERS - 3)) { in riscv_pmu_init()601 cpu->pmu_avail_ctrs = cpu->cfg.pmu_mask; in riscv_pmu_init()
1350 cpu->cfg.pmu_mask = MAKE_64BIT_MASK(3, 16); in riscv_cpu_init()1641 uint32_t pmu_mask; in prop_pmu_num_set() local1645 curr_pmu_num = ctpop32(cpu->cfg.pmu_mask); in prop_pmu_num_set()1660 pmu_mask = 0; in prop_pmu_num_set()1662 pmu_mask = MAKE_64BIT_MASK(3, pmu_num); in prop_pmu_num_set()1666 cpu->cfg.pmu_mask = pmu_mask; in prop_pmu_num_set()1674 uint8_t pmu_num = ctpop32(cpu->cfg.pmu_mask); in prop_pmu_num_get()1697 name, cpu->cfg.pmu_mask); in prop_pmu_mask_set()1709 cpu->cfg.pmu_mask = value; in prop_pmu_mask_set()1715 uint8_t pmu_mask = RISCV_CPU(obj)->cfg.pmu_mask; in prop_pmu_mask_get() local[all …]
162 uint32_t pmu_mask; member
318 return (cpu->cfg.pmu_mask > 0); in pmu_needed()
622 cpu->cfg.pmu_mask = 0; in riscv_cpu_validate_set_extensions()956 if (cpu->cfg.pmu_mask) { in riscv_tcg_cpu_realize()