Lines Matching defs:vpe
340 static void smtc_tc_setup(int vpe, int tc, int cpu)
368 write_tc_c0_tcbind(vpe);
374 if (!cp1contexts[vpe])
377 cp1contexts[vpe]--;
380 cpu_data[cpu].vpe_id = vpe;
395 int i, vpe, tc, ntc, nvpe, tcpervpe[NR_CPUS], slop, cpu;
494 for (tc = 0, vpe = 0 ; (vpe < nvpe) && (tc < ntc) ; vpe++) {
513 if (tcpervpe[vpe] == 0)
515 if (vpe != 0)
517 printk("VPE %d: TC", vpe);
518 for (i = 0; i < tcpervpe[vpe]; i++) {
525 smtc_tc_setup(vpe, tc, cpu);
526 if (vpe != 0) {
543 if (vpe != 0) {
712 unsigned int vpe = current_cpu_data.vpe_id;
714 vpemask[vpe][irq - MIPS_CPU_IRQ_BASE] = 1;
1266 int vpe;
1288 for (vpe = 0; vpe < 2; vpe++)
1290 imstuckcount[vpe][im] = 0;
1313 vpe = current_cpu_data.vpe_id;
1319 if (vpemask[vpe][bit]) {
1321 imstuckcount[vpe][bit]++;
1323 imstuckcount[vpe][bit] = 0;
1324 if (imstuckcount[vpe][bit] > IM_LIMIT) {
1327 imstuckcount[vpe][bit] = 0;
1330 vpe);