pmnc              723 arch/arm/kernel/perf_event_v7.c static inline int armv7_pmnc_has_overflowed(u32 pmnc)
pmnc              725 arch/arm/kernel/perf_event_v7.c 	return pmnc & ARMV7_OVERFLOWED_MASK;
pmnc              734 arch/arm/kernel/perf_event_v7.c static inline int armv7_pmnc_counter_has_overflowed(u32 pmnc, int idx)
pmnc              736 arch/arm/kernel/perf_event_v7.c 	return pmnc & BIT(ARMV7_IDX_TO_COUNTER(idx));
pmnc              951 arch/arm/kernel/perf_event_v7.c 	u32 pmnc;
pmnc              960 arch/arm/kernel/perf_event_v7.c 	pmnc = armv7_pmnc_getreset_flags();
pmnc              965 arch/arm/kernel/perf_event_v7.c 	if (!armv7_pmnc_has_overflowed(pmnc))
pmnc              985 arch/arm/kernel/perf_event_v7.c 		if (!armv7_pmnc_counter_has_overflowed(pmnc, idx))
pmnc              122 arch/arm/kernel/perf_event_xscale.c xscale1_pmnc_counter_has_overflowed(unsigned long pmnc,
pmnc              129 arch/arm/kernel/perf_event_xscale.c 		ret = pmnc & XSCALE1_CCOUNT_OVERFLOW;
pmnc              132 arch/arm/kernel/perf_event_xscale.c 		ret = pmnc & XSCALE1_COUNT0_OVERFLOW;
pmnc              135 arch/arm/kernel/perf_event_xscale.c 		ret = pmnc & XSCALE1_COUNT1_OVERFLOW;
pmnc              147 arch/arm/kernel/perf_event_xscale.c 	unsigned long pmnc;
pmnc              159 arch/arm/kernel/perf_event_xscale.c 	pmnc = xscale1pmu_read_pmnc();
pmnc              166 arch/arm/kernel/perf_event_xscale.c 	xscale1pmu_write_pmnc(pmnc & ~XSCALE_PMU_ENABLE);
pmnc              168 arch/arm/kernel/perf_event_xscale.c 	if (!(pmnc & XSCALE1_OVERFLOWED_MASK))
pmnc              180 arch/arm/kernel/perf_event_xscale.c 		if (!xscale1_pmnc_counter_has_overflowed(pmnc, idx))
pmnc              198 arch/arm/kernel/perf_event_xscale.c 	pmnc = xscale1pmu_read_pmnc() | XSCALE_PMU_ENABLE;
pmnc              199 arch/arm/kernel/perf_event_xscale.c 	xscale1pmu_write_pmnc(pmnc);
pmnc              499 arch/arm/kernel/perf_event_xscale.c 	unsigned long pmnc, of_flags;
pmnc              506 arch/arm/kernel/perf_event_xscale.c 	pmnc = xscale2pmu_read_pmnc();
pmnc              507 arch/arm/kernel/perf_event_xscale.c 	xscale2pmu_write_pmnc(pmnc & ~XSCALE_PMU_ENABLE);
pmnc              544 arch/arm/kernel/perf_event_xscale.c 	pmnc = xscale2pmu_read_pmnc() | XSCALE_PMU_ENABLE;
pmnc              545 arch/arm/kernel/perf_event_xscale.c 	xscale2pmu_write_pmnc(pmnc);
pmnc              395 arch/arm64/kernel/perf_event.c static inline int armv8pmu_counter_has_overflowed(u32 pmnc, int idx)
pmnc              397 arch/arm64/kernel/perf_event.c 	return pmnc & BIT(ARMV8_IDX_TO_COUNTER(idx));
pmnc              127 drivers/devfreq/event/exynos-ppmu.c 	u32 pmnc;
pmnc              140 drivers/devfreq/event/exynos-ppmu.c 	ret = regmap_read(info->regmap, PPMU_PMNC, &pmnc);
pmnc              144 drivers/devfreq/event/exynos-ppmu.c 	pmnc &= ~PPMU_PMNC_ENABLE_MASK;
pmnc              145 drivers/devfreq/event/exynos-ppmu.c 	ret = regmap_write(info->regmap, PPMU_PMNC, pmnc);
pmnc              157 drivers/devfreq/event/exynos-ppmu.c 	u32 pmnc, cntens;
pmnc              179 drivers/devfreq/event/exynos-ppmu.c 	ret = regmap_read(info->regmap, PPMU_PMNC, &pmnc);
pmnc              183 drivers/devfreq/event/exynos-ppmu.c 	pmnc &= ~(PPMU_PMNC_ENABLE_MASK
pmnc              186 drivers/devfreq/event/exynos-ppmu.c 	pmnc |= (PPMU_ENABLE << PPMU_PMNC_ENABLE_SHIFT);
pmnc              187 drivers/devfreq/event/exynos-ppmu.c 	pmnc |= (PPMU_ENABLE << PPMU_PMNC_COUNTER_RESET_SHIFT);
pmnc              188 drivers/devfreq/event/exynos-ppmu.c 	pmnc |= (PPMU_ENABLE << PPMU_PMNC_CC_RESET_SHIFT);
pmnc              189 drivers/devfreq/event/exynos-ppmu.c 	ret = regmap_write(info->regmap, PPMU_PMNC, pmnc);
pmnc              203 drivers/devfreq/event/exynos-ppmu.c 	unsigned int pmnc, cntenc;
pmnc              210 drivers/devfreq/event/exynos-ppmu.c 	ret = regmap_read(info->regmap, PPMU_PMNC, &pmnc);
pmnc              214 drivers/devfreq/event/exynos-ppmu.c 	pmnc &= ~PPMU_PMNC_ENABLE_MASK;
pmnc              215 drivers/devfreq/event/exynos-ppmu.c 	ret = regmap_write(info->regmap, PPMU_PMNC, pmnc);
pmnc              279 drivers/devfreq/event/exynos-ppmu.c 	u32 pmnc, clear;
pmnc              357 drivers/devfreq/event/exynos-ppmu.c 	ret = regmap_read(info->regmap, PPMU_V2_PMNC, &pmnc);
pmnc              361 drivers/devfreq/event/exynos-ppmu.c 	pmnc &= ~PPMU_PMNC_ENABLE_MASK;
pmnc              362 drivers/devfreq/event/exynos-ppmu.c 	ret = regmap_write(info->regmap, PPMU_V2_PMNC, pmnc);
pmnc              372 drivers/devfreq/event/exynos-ppmu.c 	unsigned int pmnc, cntens;
pmnc              393 drivers/devfreq/event/exynos-ppmu.c 	ret = regmap_read(info->regmap, PPMU_V2_PMNC, &pmnc);
pmnc              397 drivers/devfreq/event/exynos-ppmu.c 	pmnc &= ~(PPMU_PMNC_ENABLE_MASK
pmnc              402 drivers/devfreq/event/exynos-ppmu.c 	pmnc |= (PPMU_ENABLE << PPMU_PMNC_ENABLE_SHIFT);
pmnc              403 drivers/devfreq/event/exynos-ppmu.c 	pmnc |= (PPMU_ENABLE << PPMU_PMNC_COUNTER_RESET_SHIFT);
pmnc              404 drivers/devfreq/event/exynos-ppmu.c 	pmnc |= (PPMU_ENABLE << PPMU_PMNC_CC_RESET_SHIFT);
pmnc              405 drivers/devfreq/event/exynos-ppmu.c 	pmnc |= (PPMU_V2_MODE_MANUAL << PPMU_V2_PMNC_START_MODE_SHIFT);
pmnc              407 drivers/devfreq/event/exynos-ppmu.c 	ret = regmap_write(info->regmap, PPMU_V2_PMNC, pmnc);
pmnc              420 drivers/devfreq/event/exynos-ppmu.c 	unsigned int pmnc, cntenc;
pmnc              426 drivers/devfreq/event/exynos-ppmu.c 	ret = regmap_read(info->regmap, PPMU_V2_PMNC, &pmnc);
pmnc              430 drivers/devfreq/event/exynos-ppmu.c 	pmnc &= ~PPMU_PMNC_ENABLE_MASK;
pmnc              431 drivers/devfreq/event/exynos-ppmu.c 	ret = regmap_write(info->regmap, PPMU_V2_PMNC, pmnc);