• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/

Lines Matching defs:pp

155 	PER_PROC_INFO *pp;
158 pp = GET_PER_PROC_INFO(); /* Get our per_proc */
160 if(!pmsInstalled || pp->pms.pmsState == pmsParked)
163 nstate = pmsCtls.pmsDefs[pp->pms.pmsState]->pmsDown; /* Get the downward step */
181 PER_PROC_INFO *pp;
188 pp = GET_PER_PROC_INFO(); /* Get our per_proc */
190 if(!pmsInstalled || pp->pms.pmsState == pmsParked)
196 nstate = pmsCtls.pmsDefs[pp->pms.pmsState]->pmsNext;
204 if ((pp->pms.pmsState == pmsIdle)
242 && (pmsCtls.pmsDefs[pp->pms.pmsState]->pmsSetCmd == pmsDelay)) {
243 nstate = pmsCtls.pmsDefs[pp->pms.pmsState]->pmsTDelay;
266 PER_PROC_INFO *pp;
272 pp = GET_PER_PROC_INFO(); /* Get our per_proc */
277 if(pp->pms.pmsCSetCmd & pmsMustCmp) { /* Do we have to finish the delay before changing? */
278 while(mach_absolute_time() < pp->pms.pmsPop); /* Yes, spin here... */
284 pp->pms.pmsStamp = tb; /* Show transition now */
285 pp->pms.pmsPop = HalfwayToForever; /* Set the pop way into the future */
286 pp->pms.pmsState = pmsParked; /* Make sure we are parked */
292 pstate = pp->pms.pmsState; /* Save the current step */
293 pp->pms.pmsState = nstep; /* Set the current to the next step */
301 nCSetCmd = pp->pms.pmsCSetCmd & ~mCSetCmd; /* Clear changing bits */
304 pp->pms.pmsCSetCmd = nCSetCmd; /* Set it for real */
308 pp->pms.pmsPop = tb + pnstate->pmsLimit; /* Set the next pop */
310 if((pnstate->pmsSetCmd != pmsDelay) && (pp->pms.pmsCSetCmd & pmsSync) && (pnstate->pmsLimit != 0)) { /* Is this a synchronous command with a delay? */
311 while(mach_absolute_time() < pp->pms.pmsPop); /* Yes, spin here and wait it out... */
318 dur = tb - pp->pms.pmsStamp; /* Get the amount of time we were in the old step */
319 pp->pms.pmsStamp = tb; /* Set the new timestamp */
331 || (!(pp->pms.pmsCSetCmd & pmsSync) && (pnstate->pmsLimit != 0))) { /* Is this not syncronous and a non-zero delay or a delayed step? */
348 PER_PROC_INFO *pp;
358 pp = GET_PER_PROC_INFO(); /* Get our per_proc */
365 lastState = pp->pms.pmsState; /* Remember if we are parked now */
369 if((lastState == pmsParked) && (pp->pms.pmsState != pmsParked)) { /* Did we just unpark? */
395 PER_PROC_INFO *pp;
397 pp = GET_PER_PROC_INFO(); /* Get our per_proc */