Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/powerpc/perf/
H A Dpower5-pmu.c395 unsigned char unituse[16]; in power5_compute_mmcr() local
404 memset(unituse, 0, sizeof(unituse)); in power5_compute_mmcr()
435 unituse[unit] = 1; in power5_compute_mmcr()
447 if (unituse[PM_ISU0] & in power5_compute_mmcr()
448 (unituse[PM_FPU] | unituse[PM_IFU] | unituse[PM_ISU1])) { in power5_compute_mmcr()
449 unituse[PM_ISU0_ALT] = 1; /* move ISU to TTM1 */ in power5_compute_mmcr()
450 unituse[PM_ISU0] = 0; in power5_compute_mmcr()
455 if (!unituse[i]) in power5_compute_mmcr()
463 if (!unituse[i]) in power5_compute_mmcr()
477 if (unit == PM_ISU0 && unituse[PM_ISU0_ALT]) { in power5_compute_mmcr()
H A Dpower5+-pmu.c463 unsigned char unituse[16]; in power5p_compute_mmcr() local
471 memset(unituse, 0, sizeof(unituse)); in power5p_compute_mmcr()
497 unituse[unit] = 1; in power5p_compute_mmcr()
507 if (unituse[PM_ISU0] & in power5p_compute_mmcr()
508 (unituse[PM_FPU] | unituse[PM_IFU] | unituse[PM_ISU1])) { in power5p_compute_mmcr()
509 unituse[PM_ISU0_ALT] = 1; /* move ISU to TTM1 */ in power5p_compute_mmcr()
510 unituse[PM_ISU0] = 0; in power5p_compute_mmcr()
515 if (!unituse[i]) in power5p_compute_mmcr()
523 if (!unituse[i]) in power5p_compute_mmcr()
537 if (unit == PM_ISU0 && unituse[PM_ISU0_ALT]) { in power5p_compute_mmcr()
H A Dppc970-pmu.c267 unsigned char unituse[16]; in p970_compute_mmcr() local
280 memset(unituse, 0, sizeof(unituse)); in p970_compute_mmcr()
300 unituse[unit] = 1; in p970_compute_mmcr()
312 if (unituse[PM_ISU] & in p970_compute_mmcr()
313 (unituse[PM_FPU] | unituse[PM_IFU] | unituse[PM_VPU])) in p970_compute_mmcr()
318 if (!unituse[i]) in p970_compute_mmcr()