Home
last modified time | relevance | path

Searched refs:pmc_grp_use (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/arch/powerpc/perf/
Dppc970-pmu.c266 unsigned int pmc_grp_use[2]; in p970_compute_mmcr() local
279 pmc_grp_use[0] = pmc_grp_use[1] = 0; in p970_compute_mmcr()
289 ++pmc_grp_use[((pmc - 1) >> 1) & 1]; in p970_compute_mmcr()
297 ++pmc_grp_use[byte & 1]; in p970_compute_mmcr()
304 if (pmc_grp_use[0] > 4 || pmc_grp_use[1] > 4) in p970_compute_mmcr()
367 } else if (pmc_grp_use[grp] < 4) { in p970_compute_mmcr()
368 ++pmc_grp_use[grp]; in p970_compute_mmcr()
Dpower5-pmu.c394 unsigned int pmc_grp_use[2]; in power5_compute_mmcr() local
403 pmc_grp_use[0] = pmc_grp_use[1] = 0; in power5_compute_mmcr()
416 ++pmc_grp_use[(pmc - 1) >> 1]; in power5_compute_mmcr()
432 ++pmc_grp_use[byte & 1]; in power5_compute_mmcr()
439 if (pmc_grp_use[0] > 2 || pmc_grp_use[1] > 2) in power5_compute_mmcr()
506 } else if (pmc_grp_use[grp] < 2) { in power5_compute_mmcr()
507 ++pmc_grp_use[grp]; in power5_compute_mmcr()