Lines Matching defs: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))
106 #define PMC_IS_COUNTING(i) ((pmu_conf->pmc_desc[i].type & PFM_REG_COUNTING) == PFM_REG_COUNTING)
107 #define PMC_IS_MONITOR(i) ((pmu_conf->pmc_desc[i].type & PFM_REG_MONITOR) == PFM_REG_MONITOR)
108 #define PMC_IS_CONTROL(i) ((pmu_conf->pmc_desc[i].type & PFM_REG_CONTROL) == PFM_REG_CONTROL)
110 #define PMC_DFL_VAL(i) pmu_conf->pmc_desc[i].default_value
111 #define PMC_RSVD_MASK(i) pmu_conf->pmc_desc[i].reserved_mask
113 #define PMC_PMD_DEP(i) pmu_conf->pmc_desc[i].dep_pmd[0]
399 #define PMC_PM(cnum, val) (((val) >> (pmu_conf->pmc_desc[cnum].pm_pos)) & 0x1)
416 pfm_reg_desc_t *pmc_desc; /* detailed PMC register dependencies descriptions */
2849 pmc_type = pmu_conf->pmc_desc[cnum].type;
2850 pmc_pm = (value >> pmu_conf->pmc_desc[cnum].pm_pos) & 0x1;
2863 wr_func = pmu_conf->pmc_desc[cnum].write_check;
2964 CTX_USED_PMD(ctx, pmu_conf->pmc_desc[cnum].dep_pmd[0]);