Searched refs:pmnc (Results 1 – 2 of 2) sorted by relevance
55 u32 pmnc; in arm11_setup_pmu() local66 for (pmnc = 0, cnt = PMN0; cnt <= CCNT; cnt++) { in arm11_setup_pmu()78 pmnc |= event << 20; in arm11_setup_pmu()80 pmnc |= event << 12; in arm11_setup_pmu()87 pmnc |= PMCR_IEN_PMN0 << cnt; in arm11_setup_pmu()90 arm11_write_pmnc(pmnc); in arm11_setup_pmu()120 u32 pmnc; in arm11_pmu_interrupt() local122 pmnc = arm11_read_pmnc(); in arm11_pmu_interrupt()125 if ((pmnc & (PMCR_OFL_PMN0 << cnt)) && (pmnc & (PMCR_IEN_PMN0 << cnt))) { in arm11_pmu_interrupt()131 arm11_write_pmnc(pmnc); in arm11_pmu_interrupt()
256 u32 evtsel, pmnc; in xscale_setup_ctrs() local268 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() local311 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() local327 pmnc &= ~PMU_ENABLE; in __xsc2_check_ctrs()328 write_pmnc(pmnc); in __xsc2_check_ctrs()[all …]