Lines Matching refs:resourceId
205 int_fast16_t Power_getDependencyCount(uint_fast16_t resourceId) in Power_getDependencyCount() argument
207 DebugP_assert(resourceId < PowerCC26X2_NUMRESOURCES); in Power_getDependencyCount()
209 return ((int_fast16_t)PowerCC26X2_module.resourceCounts[resourceId]); in Power_getDependencyCount()
484 int_fast16_t Power_releaseDependency(uint_fast16_t resourceId) in Power_releaseDependency() argument
492 DebugP_assert(resourceId < PowerCC26X2_NUMRESOURCES); in Power_releaseDependency()
498 count = PowerCC26X2_module.resourceCounts[resourceId]; in Power_releaseDependency()
505 PowerCC26X2_module.resourceCounts[resourceId] = count; in Power_releaseDependency()
510 id = resourceDB[resourceId].driverlibID; in Power_releaseDependency()
513 if (resourceDB[resourceId].flags & PowerCC26XX_PERIPH) { in Power_releaseDependency()
523 else if (resourceDB[resourceId].flags & PowerCC26XX_SPECIAL) { in Power_releaseDependency()
539 parent = resourceDB[resourceId].flags & PowerCC26XX_PARENTMASK; in Power_releaseDependency()
583 int_fast16_t Power_setDependency(uint_fast16_t resourceId) in Power_setDependency() argument
591 DebugP_assert(resourceId < PowerCC26X2_NUMRESOURCES); in Power_setDependency()
597 count = PowerCC26X2_module.resourceCounts[resourceId]++; in Power_setDependency()
604 parent = resourceDB[resourceId].flags & PowerCC26XX_PARENTMASK; in Power_setDependency()
612 id = resourceDB[resourceId].driverlibID; in Power_setDependency()
615 if (resourceDB[resourceId].flags & PowerCC26XX_PERIPH) { in Power_setDependency()
625 else if (resourceDB[resourceId].flags & PowerCC26XX_SPECIAL) { in Power_setDependency()