Home
last modified time | relevance | path

Searched refs:PM_DEVICE_STATE_SUSPENDED (Results 1 – 18 of 18) sorted by relevance

/Zephyr-latest/tests/subsys/pm/power_domain/src/
Dmain.c143 zassert_equal(state, PM_DEVICE_STATE_SUSPENDED); in ZTEST()
146 zassert_equal(state, PM_DEVICE_STATE_SUSPENDED); in ZTEST()
149 zassert_equal(state, PM_DEVICE_STATE_SUSPENDED); in ZTEST()
152 zassert_equal(state, PM_DEVICE_STATE_SUSPENDED); in ZTEST()
191 zassert_equal(state, PM_DEVICE_STATE_SUSPENDED); in ZTEST()
256 zassert_equal(state, PM_DEVICE_STATE_SUSPENDED); in ZTEST()
265 zassert_equal(state, PM_DEVICE_STATE_SUSPENDED); in ZTEST()
/Zephyr-latest/tests/subsys/pm/device_runtime_api/src/
Dmain.c53 zassert_equal(state, PM_DEVICE_STATE_SUSPENDED); in test_api_setup()
96 zassert_equal(state, PM_DEVICE_STATE_SUSPENDED); in ZTEST()
126 zassert_equal(state, PM_DEVICE_STATE_SUSPENDED); in ZTEST()
153 zassert_equal(state, PM_DEVICE_STATE_SUSPENDED); in ZTEST()
173 zassert_equal(state, PM_DEVICE_STATE_SUSPENDED); in ZTEST()
255 zassert_equal(state, PM_DEVICE_STATE_SUSPENDED); in ZTEST()
/Zephyr-latest/subsys/pm/
Ddevice.c16 [PM_DEVICE_ACTION_SUSPEND] = PM_DEVICE_STATE_SUSPENDED,
19 [PM_DEVICE_ACTION_TURN_ON] = PM_DEVICE_STATE_SUSPENDED,
23 [PM_DEVICE_ACTION_RESUME] = PM_DEVICE_STATE_SUSPENDED,
24 [PM_DEVICE_ACTION_TURN_OFF] = PM_DEVICE_STATE_SUSPENDED,
33 case PM_DEVICE_STATE_SUSPENDED: in pm_device_state_str()
Ddevice_runtime.c23 #define EVENT_STATE_SUSPENDED BIT(PM_DEVICE_STATE_SUSPENDED)
91 pm->base.state = PM_DEVICE_STATE_SUSPENDED; in runtime_suspend()
115 pm->base.state = PM_DEVICE_STATE_SUSPENDED; in runtime_suspend_work()
298 pm->base.state = PM_DEVICE_STATE_SUSPENDED; in put_sync_locked()
397 pm->base.state = PM_DEVICE_STATE_SUSPENDED; in runtime_enable_sync()
450 pm->base.state = PM_DEVICE_STATE_SUSPENDED; in pm_device_runtime_enable()
473 if (pm->base.state == PM_DEVICE_STATE_SUSPENDED) { in runtime_disable_sync()
534 if (pm->base.state == PM_DEVICE_STATE_SUSPENDED) { in pm_device_runtime_disable()
Ddevice_system_managed.c56 pm_device_state_str(PM_DEVICE_STATE_SUSPENDED), in pm_suspend_devices()
/Zephyr-latest/tests/subsys/pm/device_driver_init/src/
Dmain.c46 DEVICE_STATE_IS(DT_NODELABEL(test_reg_chained_auto), PM_DEVICE_STATE_SUSPENDED); in ZTEST()
47 DEVICE_STATE_IS(DT_NODELABEL(test_reg_auto), PM_DEVICE_STATE_SUSPENDED); in ZTEST()
/Zephyr-latest/tests/subsys/pm/device_power_domains/src/
Dmain.c77 zassert_equal(PM_DEVICE_STATE_SUSPENDED, state, ""); in ZTEST()
110 zassert_equal(PM_DEVICE_STATE_SUSPENDED, state, ""); in ZTEST()
130 zassert_equal(PM_DEVICE_STATE_SUSPENDED, state, ""); in ZTEST()
/Zephyr-latest/tests/subsys/pm/device_wakeup_api/src/
Dmain.c32 zassert_equal(dev_state, PM_DEVICE_STATE_SUSPENDED, "Wrong device state"); in pm_state_set()
/Zephyr-latest/tests/subsys/pm/power_mgmt/src/
Dmain.c103 zassert_equal(state_c, PM_DEVICE_STATE_SUSPENDED, in device_b_pm_action()
111 zassert_equal(state_c, PM_DEVICE_STATE_SUSPENDED, in device_b_pm_action()
411 zassert_equal(device_power_state, PM_DEVICE_STATE_SUSPENDED); in ZTEST()
/Zephyr-latest/include/zephyr/pm/
Ddevice.h77 PM_DEVICE_STATE_SUSPENDED, enumerator
472 pm->state = PM_DEVICE_STATE_SUSPENDED; in pm_device_init_suspended()
/Zephyr-latest/doc/services/pm/
Ddevice_runtime.rst18 initially set to a :c:enumerator:`PM_DEVICE_STATE_SUSPENDED` indicating it is
24 :c:enumerator:`PM_DEVICE_STATE_SUSPENDED` state, whereas if it is performed
27 :c:enumerator:`PM_DEVICE_STATE_SUSPENDED` state when the action is run.
45 SUSPENDED [label=PM_DEVICE_STATE_SUSPENDED];
Ddevice.rst172 SUSPENDED [label=PM_DEVICE_STATE_SUSPENDED];
/Zephyr-latest/tests/drivers/uart/uart_pm/src/
Dmain.c144 exp_state = PM_DEVICE_STATE_SUSPENDED; in action_run()
/Zephyr-latest/subsys/logging/backends/
Dlog_backend_uart.c198 if ((rc == 0) && (pm_state == PM_DEVICE_STATE_SUSPENDED)) { in panic()
/Zephyr-latest/drivers/sensor/silabs/si7210/
Dsi7210.c335 if (state == PM_DEVICE_STATE_SUSPENDED) { in si7210_sample_fetch()
/Zephyr-latest/tests/drivers/dma/loop_transfer/src/
Dtest_dma_loop.c358 PM_DEVICE_STATE_OFF : PM_DEVICE_STATE_SUSPENDED; in test_loop_repeated_start_stop()
/Zephyr-latest/drivers/sensor/bosch/bme280/
Dbme280.c166 if (state == PM_DEVICE_STATE_SUSPENDED) { in bme280_sample_fetch_helper()
/Zephyr-latest/drivers/modem/
Dhl7800.c4807 if (state != PM_DEVICE_STATE_SUSPENDED) { in shutdown_uart()