Lines Matching refs:pmnc
256 u32 evtsel, pmnc; in xscale_setup_ctrs() local
268 pmnc = (counter_config[PMN1].event << 20) | (counter_config[PMN0].event << 12); in xscale_setup_ctrs()
269 pr_debug("xscale_setup_ctrs: pmnc: %#08x\n", pmnc); in xscale_setup_ctrs()
270 write_pmnc(pmnc); in xscale_setup_ctrs()
302 u32 pmnc = read_pmnc(); in __xsc1_check_ctrs() local
311 write_pmnc(pmnc & ~PMU_ENABLE); in __xsc1_check_ctrs()
317 if (pmnc & pmu->cnt_ovf[i]) in __xsc1_check_ctrs()
325 u32 flag = 0, pmnc = read_pmnc(); in __xsc2_check_ctrs() local
327 pmnc &= ~PMU_ENABLE; in __xsc2_check_ctrs()
328 write_pmnc(pmnc); in __xsc2_check_ctrs()
348 u32 pmnc; in xscale_pmu_interrupt() local
364 pmnc = read_pmnc() | PMU_ENABLE; in xscale_pmu_interrupt()
365 write_pmnc(pmnc); in xscale_pmu_interrupt()
372 u32 pmnc = read_pmnc(); in xscale_pmu_stop() local
374 pmnc &= ~PMU_ENABLE; in xscale_pmu_stop()
375 write_pmnc(pmnc); in xscale_pmu_stop()
383 u32 pmnc = read_pmnc(); in xscale_pmu_start() local
395 pmnc |= pmu->int_enable; in xscale_pmu_start()
398 pmnc &= ~PMU_CNT64; in xscale_pmu_start()
401 pmnc |= PMU_ENABLE; in xscale_pmu_start()
402 write_pmnc(pmnc); in xscale_pmu_start()
403 pr_debug("xscale_pmu_start: pmnc: %#08x mask: %08x\n", pmnc, pmu->int_enable); in xscale_pmu_start()