Lines Matching refs:nvpe
101 static void setup_cross_vpe_interrupts(unsigned int nvpe);
395 int i, vpe, tc, ntc, nvpe, tcpervpe[NR_CPUS], slop, cpu;
449 nvpe = ((val & MVPCONF0_PVPE) >> MVPCONF0_PVPE_SHIFT) + 1;
450 if (vpelimit > 0 && nvpe > vpelimit)
451 nvpe = vpelimit;
457 slop = ntc % nvpe;
458 for (i = 0; i < nvpe; i++) {
459 tcpervpe[i] = ntc / nvpe;
471 slopslop = slop % (nvpe - 1);
473 for (i = 1; i < nvpe; i++) {
474 tcpervpe[i] += slop / (nvpe - 1);
481 slopslop = slop % (nvpe - 1);
483 for (i = 1; i < nvpe; i++) {
484 tcpervpe[i] -= slop / (nvpe - 1);
494 for (tc = 0, vpe = 0 ; (vpe < nvpe) && (tc < ntc) ; vpe++) {
505 if (nvpe == 2)
608 setup_cross_vpe_interrupts(nvpe);
1193 static void setup_cross_vpe_interrupts(unsigned int nvpe)
1195 if (nvpe < 1)