Home
last modified time | relevance | path

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

/arch/powerpc/perf/
Dmpc7450-pmu.c266 u32 pmc_inuse = 0, pmc_avail; in mpc7450_compute_mmcr() local
290 if (pmc_inuse & (1 << (pmc - 1))) in mpc7450_compute_mmcr()
294 pmc_avail = classmap[class] & ~pmc_inuse; in mpc7450_compute_mmcr()
299 pmc_inuse |= 1 << (pmc - 1); in mpc7450_compute_mmcr()
318 if (pmc_inuse & 1) in mpc7450_compute_mmcr()
320 if (pmc_inuse & 0x3e) in mpc7450_compute_mmcr()
Dppc970-pmu.c261 unsigned int pmc_inuse = 0; in p970_compute_mmcr() local
281 if (pmc_inuse & (1 << (pmc - 1))) in p970_compute_mmcr()
283 pmc_inuse |= 1 << (pmc - 1); in p970_compute_mmcr()
357 if (pmc_inuse & (1 << pmc)) in p970_compute_mmcr()
368 pmc_inuse |= 1 << pmc; in p970_compute_mmcr()
388 if (pmc_inuse & 1) in p970_compute_mmcr()
390 if (pmc_inuse & 0xfe) in p970_compute_mmcr()
Dpower7-pmu.c250 unsigned int pmc_inuse = 0; in power7_compute_mmcr() local
259 if (pmc_inuse & (1 << (pmc - 1))) in power7_compute_mmcr()
261 pmc_inuse |= 1 << (pmc - 1); in power7_compute_mmcr()
275 if (!(pmc_inuse & (1 << pmc))) in power7_compute_mmcr()
280 pmc_inuse |= 1 << pmc; in power7_compute_mmcr()
302 if (pmc_inuse & 1) in power7_compute_mmcr()
304 if (pmc_inuse & 0x3e) in power7_compute_mmcr()
Dpower6-pmu.c181 unsigned int pmc_inuse = 0; in p6_compute_mmcr() local
188 if (pmc_inuse & (1 << (pmc - 1))) in p6_compute_mmcr()
190 pmc_inuse |= 1 << (pmc - 1); in p6_compute_mmcr()
201 if (!(pmc_inuse & (1 << pmc))) in p6_compute_mmcr()
205 pmc_inuse |= 1 << pmc; in p6_compute_mmcr()
247 if (pmc_inuse & 1) in p6_compute_mmcr()
249 if (pmc_inuse & 0xe) in p6_compute_mmcr()
Disa207-common.c381 unsigned int pmc, pmc_inuse; in isa207_compute_mmcr() local
384 pmc_inuse = 0; in isa207_compute_mmcr()
390 pmc_inuse |= 1 << pmc; in isa207_compute_mmcr()
404 if (!(pmc_inuse & (1 << pmc))) in isa207_compute_mmcr()
408 pmc_inuse |= 1 << pmc; in isa207_compute_mmcr()
481 if (pmc_inuse & 2) in isa207_compute_mmcr()
484 if (pmc_inuse & 0x7c) in isa207_compute_mmcr()
488 if (!(pmc_inuse & 0x60)) in isa207_compute_mmcr()
Dpower5-pmu.c389 unsigned int pmc_inuse = 0; in power5_compute_mmcr() local
407 if (pmc_inuse & (1 << (pmc - 1))) in power5_compute_mmcr()
409 pmc_inuse |= 1 << (pmc - 1); in power5_compute_mmcr()
496 if (pmc_inuse & (1 << pmc)) in power5_compute_mmcr()
507 pmc_inuse |= 1 << pmc; in power5_compute_mmcr()
532 if (pmc_inuse & 1) in power5_compute_mmcr()
534 if (pmc_inuse & 0x3e) in power5_compute_mmcr()
Dpower5+-pmu.c458 unsigned int pmc_inuse = 0; in power5p_compute_mmcr() local
474 if (pmc_inuse & (1 << (pmc - 1))) in power5p_compute_mmcr()
476 pmc_inuse |= 1 << (pmc - 1); in power5p_compute_mmcr()
556 if (!(pmc_inuse & (1 << pmc))) in power5p_compute_mmcr()
561 pmc_inuse |= 1 << pmc; in power5p_compute_mmcr()
590 if (pmc_inuse & 1) in power5p_compute_mmcr()
592 if (pmc_inuse & 0x3e) in power5p_compute_mmcr()