Home
last modified time | relevance | path

Searched refs:unituse (Results 1 – 4 of 4) sorted by relevance

/arch/powerpc/perf/
Dpower4-pmu.c367 unsigned char unituse[16]; in p4_compute_mmcr() local
377 memset(unituse, 0, sizeof(unituse)); in p4_compute_mmcr()
400 if (unituse[unit] && lower != (unitlower & lower)) in p4_compute_mmcr()
402 unituse[unit] = 1; in p4_compute_mmcr()
417 if (unituse[2] & (unituse[1] | (unituse[3] & unituse[9]))) { in p4_compute_mmcr()
418 unituse[6] = 1; /* Move 2 to 6 */ in p4_compute_mmcr()
419 unituse[2] = 0; in p4_compute_mmcr()
421 if (unituse[3] & (unituse[1] | unituse[2])) { in p4_compute_mmcr()
422 unituse[8] = 1; /* Move 3 to 8 */ in p4_compute_mmcr()
423 unituse[3] = 0; in p4_compute_mmcr()
[all …]
Dpower5-pmu.c396 unsigned char unituse[16]; in power5_compute_mmcr() local
405 memset(unituse, 0, sizeof(unituse)); in power5_compute_mmcr()
436 unituse[unit] = 1; in power5_compute_mmcr()
448 if (unituse[PM_ISU0] & in power5_compute_mmcr()
449 (unituse[PM_FPU] | unituse[PM_IFU] | unituse[PM_ISU1])) { in power5_compute_mmcr()
450 unituse[PM_ISU0_ALT] = 1; /* move ISU to TTM1 */ in power5_compute_mmcr()
451 unituse[PM_ISU0] = 0; in power5_compute_mmcr()
456 if (!unituse[i]) in power5_compute_mmcr()
464 if (!unituse[i]) in power5_compute_mmcr()
478 if (unit == PM_ISU0 && unituse[PM_ISU0_ALT]) { in power5_compute_mmcr()
Dpower5+-pmu.c464 unsigned char unituse[16]; in power5p_compute_mmcr() local
472 memset(unituse, 0, sizeof(unituse)); in power5p_compute_mmcr()
498 unituse[unit] = 1; in power5p_compute_mmcr()
508 if (unituse[PM_ISU0] & in power5p_compute_mmcr()
509 (unituse[PM_FPU] | unituse[PM_IFU] | unituse[PM_ISU1])) { in power5p_compute_mmcr()
510 unituse[PM_ISU0_ALT] = 1; /* move ISU to TTM1 */ in power5p_compute_mmcr()
511 unituse[PM_ISU0] = 0; in power5p_compute_mmcr()
516 if (!unituse[i]) in power5p_compute_mmcr()
524 if (!unituse[i]) in power5p_compute_mmcr()
538 if (unit == PM_ISU0 && unituse[PM_ISU0_ALT]) { in power5p_compute_mmcr()
Dppc970-pmu.c268 unsigned char unituse[16]; in p970_compute_mmcr() local
281 memset(unituse, 0, sizeof(unituse)); in p970_compute_mmcr()
301 unituse[unit] = 1; in p970_compute_mmcr()
313 if (unituse[PM_ISU] & in p970_compute_mmcr()
314 (unituse[PM_FPU] | unituse[PM_IFU] | unituse[PM_VPU])) in p970_compute_mmcr()
319 if (!unituse[i]) in p970_compute_mmcr()