Searched refs:pmc_inuse (Results 1 - 8 of 8) sorted by relevance

/linux-4.1.27/arch/powerpc/perf/
H A Dmpc7450-pmu.c270 u32 pmc_inuse = 0, pmc_avail; mpc7450_compute_mmcr() local
294 if (pmc_inuse & (1 << (pmc - 1))) mpc7450_compute_mmcr()
298 pmc_avail = classmap[class] & ~pmc_inuse; mpc7450_compute_mmcr()
303 pmc_inuse |= 1 << (pmc - 1); mpc7450_compute_mmcr()
322 if (pmc_inuse & 1) mpc7450_compute_mmcr()
324 if (pmc_inuse & 0x3e) mpc7450_compute_mmcr()
H A Dpower7-pmu.c253 unsigned int pmc_inuse = 0; power7_compute_mmcr() local
262 if (pmc_inuse & (1 << (pmc - 1))) power7_compute_mmcr()
264 pmc_inuse |= 1 << (pmc - 1); power7_compute_mmcr()
278 if (!(pmc_inuse & (1 << pmc))) power7_compute_mmcr()
283 pmc_inuse |= 1 << pmc; power7_compute_mmcr()
305 if (pmc_inuse & 1) power7_compute_mmcr()
307 if (pmc_inuse & 0x3e) power7_compute_mmcr()
H A Dppc970-pmu.c265 unsigned int pmc_inuse = 0; p970_compute_mmcr() local
285 if (pmc_inuse & (1 << (pmc - 1))) p970_compute_mmcr()
287 pmc_inuse |= 1 << (pmc - 1); p970_compute_mmcr()
361 if (pmc_inuse & (1 << pmc)) p970_compute_mmcr()
372 pmc_inuse |= 1 << pmc; p970_compute_mmcr()
392 if (pmc_inuse & 1) p970_compute_mmcr()
394 if (pmc_inuse & 0xfe) p970_compute_mmcr()
H A Dpower5+-pmu.c462 unsigned int pmc_inuse = 0; power5p_compute_mmcr() local
478 if (pmc_inuse & (1 << (pmc - 1))) power5p_compute_mmcr()
480 pmc_inuse |= 1 << (pmc - 1); power5p_compute_mmcr()
560 if (!(pmc_inuse & (1 << pmc))) power5p_compute_mmcr()
565 pmc_inuse |= 1 << pmc; power5p_compute_mmcr()
594 if (pmc_inuse & 1) power5p_compute_mmcr()
596 if (pmc_inuse & 0x3e) power5p_compute_mmcr()
H A Dpower5-pmu.c393 unsigned int pmc_inuse = 0; power5_compute_mmcr() local
411 if (pmc_inuse & (1 << (pmc - 1))) power5_compute_mmcr()
413 pmc_inuse |= 1 << (pmc - 1); power5_compute_mmcr()
500 if (pmc_inuse & (1 << pmc)) power5_compute_mmcr()
511 pmc_inuse |= 1 << pmc; power5_compute_mmcr()
536 if (pmc_inuse & 1) power5_compute_mmcr()
538 if (pmc_inuse & 0x3e) power5_compute_mmcr()
H A Dpower6-pmu.c185 unsigned int pmc_inuse = 0; p6_compute_mmcr() local
192 if (pmc_inuse & (1 << (pmc - 1))) p6_compute_mmcr()
194 pmc_inuse |= 1 << (pmc - 1); p6_compute_mmcr()
205 if (!(pmc_inuse & (1 << pmc))) p6_compute_mmcr()
209 pmc_inuse |= 1 << pmc; p6_compute_mmcr()
251 if (pmc_inuse & 1) p6_compute_mmcr()
253 if (pmc_inuse & 0xe) p6_compute_mmcr()
H A Dpower4-pmu.c364 unsigned int pmc_inuse = 0; p4_compute_mmcr() local
381 if (pmc_inuse & (1 << (pmc - 1))) p4_compute_mmcr()
383 pmc_inuse |= 1 << (pmc - 1); p4_compute_mmcr()
480 if (pmc_inuse & (1 << pmc)) p4_compute_mmcr()
491 pmc_inuse |= 1 << pmc; p4_compute_mmcr()
514 if (pmc_inuse & 1) p4_compute_mmcr()
516 if (pmc_inuse & 0xfe) p4_compute_mmcr()
H A Dpower8-pmu.c406 unsigned int pmc, pmc_inuse; power8_compute_mmcr() local
409 pmc_inuse = 0; power8_compute_mmcr()
415 pmc_inuse |= 1 << pmc; power8_compute_mmcr()
431 if (!(pmc_inuse & (1 << pmc))) power8_compute_mmcr()
435 pmc_inuse |= 1 << pmc; power8_compute_mmcr()
501 /* pmc_inuse is 1-based */ power8_compute_mmcr()
502 if (pmc_inuse & 2) power8_compute_mmcr()
505 if (pmc_inuse & 0x7c) power8_compute_mmcr()
509 if (!(pmc_inuse & 0x60)) power8_compute_mmcr()

Completed in 139 milliseconds