Lines Matching refs:PowerCC32XX_module
95 PowerCC32XX_ModuleState PowerCC32XX_module = { variable
164 bool enablePolicy = PowerCC32XX_module.enablePolicy; in Power_disablePolicy()
165 PowerCC32XX_module.enablePolicy = FALSE; in Power_disablePolicy()
178 PowerCC32XX_module.enablePolicy = TRUE; in Power_enablePolicy()
190 return (PowerCC32XX_module.constraintMask); in Power_getConstraintMask()
205 status = PowerCC32XX_module.refCount[resourceId]; in Power_getDependencyCount()
237 return (PowerCC32XX_module.state); in Power_getTransitionState()
248 if (PowerCC32XX_module.enablePolicy) { in Power_idleFunc()
249 if (PowerCC32XX_module.policyFxn != NULL) { in Power_idleFunc()
251 (uintptr_t) PowerCC32XX_module.policyFxn); in Power_idleFunc()
252 (*(PowerCC32XX_module.policyFxn))(); in Power_idleFunc()
263 if (PowerCC32XX_module.initialized) { in Power_init()
268 PowerCC32XX_module.initialized = TRUE; in Power_init()
271 PowerCC32XX_module.enablePolicy = PowerCC32XX_config.enablePolicy; in Power_init()
279 PowerCC32XX_module.wakeupConfig.enableGPIOWakeupLPDS = in Power_init()
281 PowerCC32XX_module.wakeupConfig.enableGPIOWakeupShutdown = in Power_init()
283 PowerCC32XX_module.wakeupConfig.enableNetworkWakeupLPDS = in Power_init()
285 PowerCC32XX_module.wakeupConfig.wakeupGPIOSourceLPDS = in Power_init()
287 PowerCC32XX_module.wakeupConfig.wakeupGPIOTypeLPDS = in Power_init()
289 PowerCC32XX_module.wakeupConfig.wakeupGPIOFxnLPDS = in Power_init()
291 PowerCC32XX_module.wakeupConfig.wakeupGPIOFxnLPDSArg = in Power_init()
293 PowerCC32XX_module.wakeupConfig.wakeupGPIOSourceShutdown = in Power_init()
295 PowerCC32XX_module.wakeupConfig.wakeupGPIOTypeShutdown = in Power_init()
299 PowerCC32XX_configureWakeup(&PowerCC32XX_module.wakeupConfig); in Power_init()
302 PowerCC32XX_module.policyFxn = PowerCC32XX_config.policyFxn; in Power_init()
339 List_put(&PowerCC32XX_module.notifyList, (List_Elem*)pNotifyObj); in Power_registerNotify()
371 count = PowerCC32XX_module.constraintCounts[constraintId]; in Power_releaseConstraint()
384 PowerCC32XX_module.constraintCounts[constraintId] = count; in Power_releaseConstraint()
388 PowerCC32XX_module.constraintMask &= ~(1 << constraintId); in Power_releaseConstraint()
424 count = PowerCC32XX_module.refCount[resourceId]; in Power_releaseDependency()
440 id = PowerCC32XX_module.dbRecords[resourceId]; in Power_releaseDependency()
448 PowerCC32XX_module.refCount[resourceId] = count; in Power_releaseDependency()
480 PowerCC32XX_module.constraintMask |= 1 << constraintId; in Power_setConstraint()
483 PowerCC32XX_module.constraintCounts[constraintId]++; in Power_setConstraint()
517 count = PowerCC32XX_module.refCount[resourceId]++; in Power_setDependency()
522 id = PowerCC32XX_module.dbRecords[resourceId]; in Power_setDependency()
566 PowerCC32XX_module.policyFxn = policy; in Power_setPolicy()
589 if (PowerCC32XX_module.state == Power_ACTIVE) { in Power_shutdown()
591 PowerCC32XX_module.state = Power_ENTERING_SHUTDOWN; in Power_shutdown()
597 PowerCC32XX_module.state = Power_ACTIVE; in Power_shutdown()
637 PowerCC32XX_module.state = Power_ACTIVE; in Power_shutdown()
664 else if (PowerCC32XX_module.state == Power_ACTIVE) { in Power_sleep()
667 PowerCC32XX_module.state = Power_ENTERING_SLEEP; in Power_sleep()
678 PowerCC32XX_module.state = Power_ACTIVE; in Power_sleep()
766 PowerCC32XX_module.state = Power_EXITING_SLEEP; in Power_sleep()
786 if (PowerCC32XX_module.wakeupConfig.wakeupGPIOFxnLPDS != NULL) { in Power_sleep()
787 (*(PowerCC32XX_module.wakeupConfig.wakeupGPIOFxnLPDS)) in Power_sleep()
788 (PowerCC32XX_module.wakeupConfig.wakeupGPIOFxnLPDSArg); in Power_sleep()
793 PowerCC32XX_module.state = Power_ACTIVE; in Power_sleep()
815 List_remove(&PowerCC32XX_module.notifyList, (List_Elem *)pNotifyObj); in Power_unregisterNotify()
838 PowerCC32XX_module.wakeupConfig.enableNetworkWakeupLPDS = in PowerCC32XX_configureWakeup()
851 PowerCC32XX_module.wakeupConfig.enableGPIOWakeupLPDS = in PowerCC32XX_configureWakeup()
853 PowerCC32XX_module.wakeupConfig.wakeupGPIOSourceLPDS = in PowerCC32XX_configureWakeup()
855 PowerCC32XX_module.wakeupConfig.wakeupGPIOTypeLPDS = in PowerCC32XX_configureWakeup()
870 PowerCC32XX_module.wakeupConfig.enableGPIOWakeupShutdown = in PowerCC32XX_configureWakeup()
872 PowerCC32XX_module.wakeupConfig.wakeupGPIOSourceShutdown = in PowerCC32XX_configureWakeup()
874 PowerCC32XX_module.wakeupConfig.wakeupGPIOTypeShutdown = in PowerCC32XX_configureWakeup()
878 PowerCC32XX_module.wakeupConfig.wakeupGPIOFxnLPDS = in PowerCC32XX_configureWakeup()
880 PowerCC32XX_module.wakeupConfig.wakeupGPIOFxnLPDSArg = in PowerCC32XX_configureWakeup()
926 *wakeup = PowerCC32XX_module.wakeupConfig; in PowerCC32XX_getWakeup()
1137 id = PowerCC32XX_module.dbRecords[resourceId]; in PowerCC32XX_reset()
1158 if (!List_empty(&PowerCC32XX_module.notifyList)) { in notify()
1160 elem = List_head(&PowerCC32XX_module.notifyList); in notify()
1243 MAP_PRCMPeripheralClkEnable(PowerCC32XX_module.dbRecords[i], in restorePeriphClocks()
1246 while(!MAP_PRCMPeripheralStatusGet(PowerCC32XX_module.dbRecords[i])) { in restorePeriphClocks()
1315 PowerCC32XX_module.stateAntPin29 = (uint16_t) HWREG(antpadreg); in parkPins()
1319 PowerCC32XX_module.stateAntPin30 = (uint16_t) HWREG(antpadreg); in parkPins()
1356 &PowerCC32XX_module.pinType[i], in parkPins()
1357 &PowerCC32XX_module.pinDir[i]); in parkPins()
1372 PowerCC32XX_module.pinMode[i] = in parkPins()
1379 PowerCC32XX_module.pinLockMask |= 1 << in parkPins()
1386 PowerCC32XX_module.pinLockMask |= 1 << in parkPins()
1394 if (PowerCC32XX_module.pinLockMask) { in parkPins()
1395 MAP_PinLock(PowerCC32XX_module.pinLockMask); in parkPins()
1410 if (PowerCC32XX_module.pinLockMask) { in restoreParkedPins()
1427 (PowerCC32XX_module.stateAntPin29 & 0x00000FFF)); in restoreParkedPins()
1432 (PowerCC32XX_module.stateAntPin30 & 0x00000FFF)); in restoreParkedPins()
1439 (unsigned long)PowerCC32XX_module.pinMode[i]); in restoreParkedPins()
1450 PowerCC32XX_module.pinType[i], in restoreParkedPins()
1451 PowerCC32XX_module.pinDir[i]); in restoreParkedPins()