Searched refs:pmc_inuse (Results 1 – 7 of 7) sorted by relevance
254 unsigned int pmc_inuse = 0; in power7_compute_mmcr() local263 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()
265 unsigned int pmc_inuse = 0; in p970_compute_mmcr() local285 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()
267 u32 pmc_inuse = 0, pmc_avail; in mpc7450_compute_mmcr() local291 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()
184 unsigned int pmc_inuse = 0; in p6_compute_mmcr() local191 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()
393 unsigned int pmc_inuse = 0; in power5_compute_mmcr() local411 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()
462 unsigned int pmc_inuse = 0; in power5p_compute_mmcr() local478 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()
564 unsigned int pmc, pmc_inuse; in isa207_compute_mmcr() local567 pmc_inuse = 0; in isa207_compute_mmcr()573 pmc_inuse |= 1 << pmc; in isa207_compute_mmcr()594 if (!(pmc_inuse & (1 << pmc))) in isa207_compute_mmcr()598 pmc_inuse |= 1 << pmc; in isa207_compute_mmcr()707 if (pmc_inuse & 2) in isa207_compute_mmcr()710 if (pmc_inuse & 0x7c) in isa207_compute_mmcr()714 if (!(pmc_inuse & 0x60)) in isa207_compute_mmcr()