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

/linux-4.1.27/arch/powerpc/perf/
H A Dpower4-pmu.c367 unsigned char unituse[16]; p4_compute_mmcr() local
377 memset(unituse, 0, sizeof(unituse)); p4_compute_mmcr()
400 if (unituse[unit] && lower != (unitlower & lower)) p4_compute_mmcr()
402 unituse[unit] = 1; p4_compute_mmcr()
417 if (unituse[2] & (unituse[1] | (unituse[3] & unituse[9]))) { p4_compute_mmcr()
418 unituse[6] = 1; /* Move 2 to 6 */ p4_compute_mmcr()
419 unituse[2] = 0; p4_compute_mmcr()
421 if (unituse[3] & (unituse[1] | unituse[2])) { p4_compute_mmcr()
422 unituse[8] = 1; /* Move 3 to 8 */ p4_compute_mmcr()
423 unituse[3] = 0; p4_compute_mmcr()
427 if (unituse[1] + unituse[2] + unituse[3] > 1 || p4_compute_mmcr()
428 unituse[4] + unituse[6] + unituse[7] > 1 || p4_compute_mmcr()
429 unituse[8] + unituse[9] > 1 || p4_compute_mmcr()
430 (unituse[5] | unituse[10] | unituse[11] | p4_compute_mmcr()
431 unituse[13] | unituse[14])) p4_compute_mmcr()
435 mmcr1 |= (unsigned long)(unituse[3] * 2 + unituse[2]) p4_compute_mmcr()
437 mmcr1 |= (unsigned long)(unituse[7] * 3 + unituse[6] * 2) p4_compute_mmcr()
439 mmcr1 |= (unsigned long)unituse[9] << MMCR1_TTM2SEL_SH; p4_compute_mmcr()
460 if (!unituse[unit]) p4_compute_mmcr()
H A Dpower5+-pmu.c464 unsigned char unituse[16]; power5p_compute_mmcr() local
472 memset(unituse, 0, sizeof(unituse)); power5p_compute_mmcr()
498 unituse[unit] = 1; power5p_compute_mmcr()
508 if (unituse[PM_ISU0] & power5p_compute_mmcr()
509 (unituse[PM_FPU] | unituse[PM_IFU] | unituse[PM_ISU1])) { power5p_compute_mmcr()
510 unituse[PM_ISU0_ALT] = 1; /* move ISU to TTM1 */ power5p_compute_mmcr()
511 unituse[PM_ISU0] = 0; power5p_compute_mmcr()
516 if (!unituse[i]) power5p_compute_mmcr()
524 if (!unituse[i]) power5p_compute_mmcr()
538 if (unit == PM_ISU0 && unituse[PM_ISU0_ALT]) { power5p_compute_mmcr()
H A Dpower5-pmu.c396 unsigned char unituse[16]; power5_compute_mmcr() local
405 memset(unituse, 0, sizeof(unituse)); power5_compute_mmcr()
436 unituse[unit] = 1; power5_compute_mmcr()
448 if (unituse[PM_ISU0] & power5_compute_mmcr()
449 (unituse[PM_FPU] | unituse[PM_IFU] | unituse[PM_ISU1])) { power5_compute_mmcr()
450 unituse[PM_ISU0_ALT] = 1; /* move ISU to TTM1 */ power5_compute_mmcr()
451 unituse[PM_ISU0] = 0; power5_compute_mmcr()
456 if (!unituse[i]) power5_compute_mmcr()
464 if (!unituse[i]) power5_compute_mmcr()
478 if (unit == PM_ISU0 && unituse[PM_ISU0_ALT]) { power5_compute_mmcr()
H A Dppc970-pmu.c268 unsigned char unituse[16]; p970_compute_mmcr() local
281 memset(unituse, 0, sizeof(unituse)); p970_compute_mmcr()
301 unituse[unit] = 1; p970_compute_mmcr()
313 if (unituse[PM_ISU] & p970_compute_mmcr()
314 (unituse[PM_FPU] | unituse[PM_IFU] | unituse[PM_VPU])) p970_compute_mmcr()
319 if (!unituse[i]) p970_compute_mmcr()

Completed in 84 milliseconds