Lines Matching defs:cpu
270 int cpu;
273 cpu = cpu_number(); /* Get our processor */
297 if((uint32_t)pnstate->sf.pmsSetFunc) pnstate->sf.pmsSetFunc(pnstate->pmsSetCmd, cpu, pmsPlatformData); /* Tell the platform to set power mode */
322 pmsCtls.pmsStats[cpu][pcstate->pmsStepID].stTime[dir] += dur; /* Accumulate the total time in the old step */
323 pmsCtls.pmsStats[cpu][pcstate->pmsStepID].stCnt[dir] += 1; /* Count transitions */
350 int cpu, i;
370 cpu = cpu_number(); /* Get our processor */
372 pmsCtls.pmsStats[cpu][i].stTime[0] = 0; /* Clear accumulated time - downward */
373 pmsCtls.pmsStats[cpu][i].stTime[1] = 0; /* Clear accumulated time - forward */
374 pmsCtls.pmsStats[cpu][i].stCnt[0] = 0; /* Clear transition count - downward */
375 pmsCtls.pmsStats[cpu][i].stCnt[1] = 0; /* Clear transition count - forward */
392 int ret, cpu;
398 cpu = cpu_number(); /* Get our processor */
414 presult = pmsQueryFunc(cpu, pmsPlatformData); /* Go get the platform state */