Lines Matching refs:pmc_desc
98 #define PMC_IS_LAST(i) (pmu_conf->pmc_desc[i].type & PFM_REG_END)
104 #define PMC_IS_IMPL(i) (i< PMU_MAX_PMCS && (pmu_conf->pmc_desc[i].type & PFM_REG_IMPL))
109 #define PMC_IS_COUNTING(i) ((pmu_conf->pmc_desc[i].type & PFM_REG_COUNTING) == PFM_REG_COUNTING)
110 #define PMC_IS_MONITOR(i) ((pmu_conf->pmc_desc[i].type & PFM_REG_MONITOR) == PFM_REG_MONITOR)
111 #define PMC_IS_CONTROL(i) ((pmu_conf->pmc_desc[i].type & PFM_REG_CONTROL) == PFM_REG_CONTROL)
113 #define PMC_DFL_VAL(i) pmu_conf->pmc_desc[i].default_value
114 #define PMC_RSVD_MASK(i) pmu_conf->pmc_desc[i].reserved_mask
116 #define PMC_PMD_DEP(i) pmu_conf->pmc_desc[i].dep_pmd[0]
403 #define PMC_PM(cnum, val) (((val) >> (pmu_conf->pmc_desc[cnum].pm_pos)) & 0x1)
420 pfm_reg_desc_t *pmc_desc; /* detailed PMC register dependencies descriptions */ member
2863 pmc_type = pmu_conf->pmc_desc[cnum].type; in pfm_write_pmcs()
2864 pmc_pm = (value >> pmu_conf->pmc_desc[cnum].pm_pos) & 0x1; in pfm_write_pmcs()
2877 wr_func = pmu_conf->pmc_desc[cnum].write_check; in pfm_write_pmcs()
2978 CTX_USED_PMD(ctx, pmu_conf->pmc_desc[cnum].dep_pmd[0]); in pfm_write_pmcs()