Home
last modified time | relevance | path

Searched refs:PM_DEVICE_FLAG_RUNTIME_ENABLED (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/pm/
Ddevice_runtime.c55 if (!atomic_test_bit(&pm->base.flags, PM_DEVICE_FLAG_RUNTIME_ENABLED)) { in runtime_suspend()
180 if (!atomic_test_bit(&pm->base.flags, PM_DEVICE_FLAG_RUNTIME_ENABLED)) { in pm_device_runtime_get()
284 if (!(flags & BIT(PM_DEVICE_FLAG_RUNTIME_ENABLED))) { in put_sync_locked()
402 pm->base.flags |= BIT(PM_DEVICE_FLAG_RUNTIME_ENABLED); in runtime_enable_sync()
421 if (atomic_test_bit(&pm->base.flags, PM_DEVICE_FLAG_RUNTIME_ENABLED)) { in pm_device_runtime_enable()
455 atomic_set_bit(&pm->base.flags, PM_DEVICE_FLAG_RUNTIME_ENABLED); in pm_device_runtime_enable()
484 pm->base.flags &= ~BIT(PM_DEVICE_FLAG_RUNTIME_ENABLED); in runtime_disable_sync()
502 if (!atomic_test_bit(&pm->base.flags, PM_DEVICE_FLAG_RUNTIME_ENABLED)) { in pm_device_runtime_disable()
544 atomic_clear_bit(&pm->base.flags, PM_DEVICE_FLAG_RUNTIME_ENABLED); in pm_device_runtime_disable()
561 return pm && atomic_test_bit(&pm->flags, PM_DEVICE_FLAG_RUNTIME_ENABLED); in pm_device_runtime_is_enabled()
/Zephyr-latest/include/zephyr/pm/
Ddevice.h46 PM_DEVICE_FLAG_RUNTIME_ENABLED, enumerator