Home
last modified time | relevance | path

Searched refs:pmc_inuse (Results 1 – 7 of 7) sorted by relevance

/arch/powerpc/perf/
Dmpc7450-pmu.c267 u32 pmc_inuse = 0, pmc_avail; in mpc7450_compute_mmcr() local
291 if (pmc_inuse & (1 << (pmc - 1))) in mpc7450_compute_mmcr()
295 pmc_avail = classmap[class] & ~pmc_inuse; in mpc7450_compute_mmcr()
300 pmc_inuse |= 1 << (pmc - 1); in mpc7450_compute_mmcr()
319 if (pmc_inuse & 1) in mpc7450_compute_mmcr()
321 if (pmc_inuse & 0x3e) in mpc7450_compute_mmcr()
Dppc970-pmu.c265 unsigned int pmc_inuse = 0; in p970_compute_mmcr() local
285 if (pmc_inuse & (1 << (pmc - 1))) in p970_compute_mmcr()
287 pmc_inuse |= 1 << (pmc - 1); in p970_compute_mmcr()
361 if (pmc_inuse & (1 << pmc)) in p970_compute_mmcr()
372 pmc_inuse |= 1 << pmc; in p970_compute_mmcr()
392 if (pmc_inuse & 1) in p970_compute_mmcr()
394 if (pmc_inuse & 0xfe) in p970_compute_mmcr()
Dpower7-pmu.c254 unsigned int pmc_inuse = 0; in power7_compute_mmcr() local
263 if (pmc_inuse & (1 << (pmc - 1))) in power7_compute_mmcr()
265 pmc_inuse |= 1 << (pmc - 1); in power7_compute_mmcr()
279 if (!(pmc_inuse & (1 << pmc))) in power7_compute_mmcr()
284 pmc_inuse |= 1 << pmc; in power7_compute_mmcr()
306 if (pmc_inuse & 1) in power7_compute_mmcr()
308 if (pmc_inuse & 0x3e) in power7_compute_mmcr()
Dpower6-pmu.c184 unsigned int pmc_inuse = 0; in p6_compute_mmcr() local
191 if (pmc_inuse & (1 << (pmc - 1))) in p6_compute_mmcr()
193 pmc_inuse |= 1 << (pmc - 1); in p6_compute_mmcr()
204 if (!(pmc_inuse & (1 << pmc))) in p6_compute_mmcr()
208 pmc_inuse |= 1 << pmc; in p6_compute_mmcr()
250 if (pmc_inuse & 1) in p6_compute_mmcr()
252 if (pmc_inuse & 0xe) in p6_compute_mmcr()
Dpower5-pmu.c393 unsigned int pmc_inuse = 0; in power5_compute_mmcr() local
411 if (pmc_inuse & (1 << (pmc - 1))) in power5_compute_mmcr()
413 pmc_inuse |= 1 << (pmc - 1); in power5_compute_mmcr()
500 if (pmc_inuse & (1 << pmc)) in power5_compute_mmcr()
511 pmc_inuse |= 1 << pmc; in power5_compute_mmcr()
536 if (pmc_inuse & 1) in power5_compute_mmcr()
538 if (pmc_inuse & 0x3e) in power5_compute_mmcr()
Dpower5+-pmu.c462 unsigned int pmc_inuse = 0; in power5p_compute_mmcr() local
478 if (pmc_inuse & (1 << (pmc - 1))) in power5p_compute_mmcr()
480 pmc_inuse |= 1 << (pmc - 1); in power5p_compute_mmcr()
560 if (!(pmc_inuse & (1 << pmc))) in power5p_compute_mmcr()
565 pmc_inuse |= 1 << pmc; in power5p_compute_mmcr()
594 if (pmc_inuse & 1) in power5p_compute_mmcr()
596 if (pmc_inuse & 0x3e) in power5p_compute_mmcr()
Disa207-common.c518 unsigned int pmc, pmc_inuse; in isa207_compute_mmcr() local
521 pmc_inuse = 0; in isa207_compute_mmcr()
527 pmc_inuse |= 1 << pmc; in isa207_compute_mmcr()
548 if (!(pmc_inuse & (1 << pmc))) in isa207_compute_mmcr()
552 pmc_inuse |= 1 << pmc; in isa207_compute_mmcr()
658 if (pmc_inuse & 2) in isa207_compute_mmcr()
661 if (pmc_inuse & 0x7c) in isa207_compute_mmcr()
665 if (!(pmc_inuse & 0x60)) in isa207_compute_mmcr()