Lines Matching defs:pmu
126 static struct pmu_type *pmu;
130 if (pmu->id == PMU_XSC1) {
145 if (pmu->id == PMU_XSC1)
202 if (pmu->id == PMU_XSC1)
248 if (pmu->id == PMU_XSC1)
266 switch (pmu->id) {
285 pmu->int_enable &= ~pmu->int_mask[i];
291 pmu->int_enable |= pmu->int_mask[i];
313 if (!(pmu->int_mask[i] & pmu->int_enable))
316 if (pmnc & pmu->cnt_ovf[i])
333 if (!(pmu->int_mask[i] & pmu->int_enable))
336 if (flag & pmu->cnt_ovf[i])
349 if (pmu->id == PMU_XSC1)
393 if (pmu->id == PMU_XSC1)
394 pmnc |= pmu->int_enable;
396 __asm__ __volatile__ ("mcr p14, 0, %0, c4, c1, 0" : : "r" (pmu->int_enable));
402 pr_debug("xscale_pmu_start: pmnc: %#08x mask: %08x\n", pmnc, pmu->int_enable);
415 pmu = &pmu_parms[PMU_XSC1];
418 pmu = &pmu_parms[PMU_XSC2];
426 op_xscale_spec.name = pmu->name;
427 op_xscale_spec.num_counters = pmu->num_counters;
428 pr_debug("xscale_detect_pmu: detected %s PMU\n", pmu->name);