Searched refs:pmsDef (Results 1 - 4 of 4) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | pms.h | 46 typedef struct pmsDef { struct 80 } pmsDef; typedef in typeref:struct:pmsDef 84 pmsDef *pmsDefs[pmsMaxStates]; /* Indexed pointers to steps */ 187 extern kern_return_t pmsBuild(pmsDef *pd, uint32_t pdsize, pmsSetFunc_t *functab, uint32_t platformData, pmsQueryFunc_t queryFunc);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | pms.c | 53 static pmsDef *altDpmsTab; /* Alternate step definition table */ 56 pmsDef pmsDummy = { /* This is the dummy step for initialization. All it does is to park */ 268 pmsDef *pnstate, *pcstate; 394 pmsDef *ndefs; 434 if((reqsize > (pmsMaxStates * sizeof(pmsDef))) || (reqsize < (pmsFree * sizeof(pmsDef)))) { /* Check that the size is reasonable */ 497 if(!(ndefs = (pmsDef *)kalloc(reqsize))) { /* Get memory for the whole thing */ 572 kern_return_t pmsBuild(pmsDef *pd, uint32_t pdsize, pmsSetFunc_t *functab, uint32_t platformData, pmsQueryFunc_t queryFunc) { 577 pmsDef *newpd, *oldAlt; 582 if(pdsize % sizeof(pmsDef)) [all...] |
H A D | pmsCPU.c | 45 pmsDef pmsDefault[] = { 179 ret = pmsBuild((pmsDef *)&pmsDefault, sizeof(pmsDefault), pmsDfltFunc, 0, (pmsQueryFunc_t)0); /* Configure the default stepper */
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | pmCPU.c | 703 pmsBuild(__unused pmsDef *pd, __unused uint32_t pdsize,
|
Completed in 54 milliseconds