@@ -166,25 +166,25 @@ void pm_dump_debug_info(void);
166166 *
167167 * @details Disabled state cannot be selected by the Zephyr power
168168 * management policies. Application defined policy should
169- * use the @ref pm_ctrl_is_state_enabled function to
169+ * use the @ref pm_constraint_get function to
170170 * check if given state is enabled and could be used.
171171 *
172172 * @param [in] state Power state to be disabled.
173173 */
174- void pm_ctrl_disable_state (enum pm_state state );
174+ void pm_constraint_set (enum pm_state state );
175175
176176/**
177177 * @brief Enable particular power state
178178 *
179179 * @details Enabled state can be selected by the Zephyr power
180180 * management policies. Application defined policy should
181- * use the @ref pm_ctrl_is_state_enabled function to
181+ * use the @ref pm_constraint_get function to
182182 * check if given state is enabled and could be used.
183183 * By default all power states are enabled.
184184 *
185185 * @param [in] state Power state to be enabled.
186186 */
187- void pm_ctrl_enable_state (enum pm_state state );
187+ void pm_constraint_release (enum pm_state state );
188188
189189/**
190190 * @brief Check if particular power state is enabled
@@ -193,7 +193,7 @@ void pm_ctrl_enable_state(enum pm_state state);
193193 *
194194 * @param [in] state Power state.
195195 */
196- bool pm_ctrl_is_state_enabled (enum pm_state state );
196+ bool pm_constraint_get (enum pm_state state );
197197
198198#endif /* CONFIG_PM_STATE_LOCK */
199199
0 commit comments