Lines Matching refs:phw
92 struct pmc_hw *phw; in uncore_pcpu_init() local
113 for (n = 0, phw = cc->pc_uncorepmcs; n < npmc; n++, phw++) { in uncore_pcpu_init()
114 phw->phw_state = PMC_PHW_FLAG_IS_ENABLED | in uncore_pcpu_init()
117 phw->phw_pmc = NULL; in uncore_pcpu_init()
118 pc->pc_hwpmcs[n + uncore_ri] = phw; in uncore_pcpu_init()
236 struct pmc_hw *phw; in ucf_describe() local
238 phw = &uncore_pcpu[cpu]->pc_uncorepmcs[ri + uncore_ucf_ri]; in ucf_describe()
243 if (phw->phw_state & PMC_PHW_FLAG_IS_ENABLED) { in ucf_describe()
245 *ppmc = phw->phw_pmc; in ucf_describe()
545 struct pmc_hw *phw; in ucp_describe() local
547 phw = &uncore_pcpu[cpu]->pc_uncorepmcs[ri]; in ucp_describe()
552 if (phw->phw_state & PMC_PHW_FLAG_IS_ENABLED) { in ucp_describe()
554 *ppmc = phw->phw_pmc; in ucp_describe()