Lines Matching refs:pmc_desc
96 #define PMC_IS_LAST(i) (pmu_conf->pmc_desc[i].type & PFM_REG_END)
102 #define PMC_IS_IMPL(i) (i< PMU_MAX_PMCS && (pmu_conf->pmc_desc[i].type & PFM_REG_IMPL))
107 #define PMC_IS_COUNTING(i) ((pmu_conf->pmc_desc[i].type & PFM_REG_COUNTING) == PFM_REG_COUNTING)
108 #define PMC_IS_MONITOR(i) ((pmu_conf->pmc_desc[i].type & PFM_REG_MONITOR) == PFM_REG_MONITOR)
109 #define PMC_IS_CONTROL(i) ((pmu_conf->pmc_desc[i].type & PFM_REG_CONTROL) == PFM_REG_CONTROL)
111 #define PMC_DFL_VAL(i) pmu_conf->pmc_desc[i].default_value
112 #define PMC_RSVD_MASK(i) pmu_conf->pmc_desc[i].reserved_mask
114 #define PMC_PMD_DEP(i) pmu_conf->pmc_desc[i].dep_pmd[0]
401 #define PMC_PM(cnum, val) (((val) >> (pmu_conf->pmc_desc[cnum].pm_pos)) & 0x1)
418 pfm_reg_desc_t *pmc_desc; /* detailed PMC register dependencies descriptions */ member
2871 pmc_type = pmu_conf->pmc_desc[cnum].type; in pfm_write_pmcs()
2872 pmc_pm = (value >> pmu_conf->pmc_desc[cnum].pm_pos) & 0x1; in pfm_write_pmcs()
2885 wr_func = pmu_conf->pmc_desc[cnum].write_check; in pfm_write_pmcs()
2986 CTX_USED_PMD(ctx, pmu_conf->pmc_desc[cnum].dep_pmd[0]); in pfm_write_pmcs()