/Zephyr-latest/tests/subsys/pm/power_mgmt/src/ |
D | main.c | 106 zassert_equal(state_a, PM_DEVICE_STATE_ACTIVE, in device_b_pm_action() 114 zassert_equal(state_a, PM_DEVICE_STATE_ACTIVE, in device_b_pm_action() 185 zassert_true(device_power_state == PM_DEVICE_STATE_ACTIVE, in pm_state_set() 189 zassert_true(device_power_state == PM_DEVICE_STATE_ACTIVE, in pm_state_set() 207 zassert_true(device_power_state == PM_DEVICE_STATE_ACTIVE); in pm_state_set() 223 zassert_true(device_power_state == PM_DEVICE_STATE_ACTIVE); in pm_state_set() 226 zassert_false(device_power_state == PM_DEVICE_STATE_ACTIVE); in pm_state_set() 287 zassert_true(device_power_state == PM_DEVICE_STATE_ACTIVE); in notify_pm_state_entry() 290 zassert_false(device_power_state == PM_DEVICE_STATE_ACTIVE); in notify_pm_state_entry() 309 zassert_equal(device_power_state, PM_DEVICE_STATE_ACTIVE); in notify_pm_state_exit() [all …]
|
/Zephyr-latest/tests/subsys/pm/device_runtime_api/src/ |
D | main.c | 77 zassert_equal(state, PM_DEVICE_STATE_ACTIVE); in test_api_teardown() 106 zassert_equal(state, PM_DEVICE_STATE_ACTIVE); in ZTEST() 118 zassert_equal(state, PM_DEVICE_STATE_ACTIVE); in ZTEST() 141 zassert_equal(state, PM_DEVICE_STATE_ACTIVE); in ZTEST() 182 zassert_equal(state, PM_DEVICE_STATE_ACTIVE); in ZTEST() 214 zassert_equal(state, PM_DEVICE_STATE_ACTIVE); in ZTEST()
|
/Zephyr-latest/tests/subsys/pm/device_power_domains/src/ |
D | main.c | 99 zassert_equal(PM_DEVICE_STATE_ACTIVE, state, ""); in ZTEST() 101 zassert_equal(PM_DEVICE_STATE_ACTIVE, state, ""); in ZTEST() 121 zassert_equal(PM_DEVICE_STATE_ACTIVE, state, ""); in ZTEST() 123 zassert_equal(PM_DEVICE_STATE_ACTIVE, state, ""); in ZTEST()
|
/Zephyr-latest/subsys/pm/ |
D | device_runtime.c | 22 #define EVENT_STATE_ACTIVE BIT(PM_DEVICE_STATE_ACTIVE) 113 pm->base.state = PM_DEVICE_STATE_ACTIVE; in runtime_suspend_work() 156 pm->base.state = PM_DEVICE_STATE_ACTIVE; in get_sync_locked() 235 pm->base.state = PM_DEVICE_STATE_ACTIVE; in pm_device_runtime_get() 264 pm->base.state = PM_DEVICE_STATE_ACTIVE; in pm_device_runtime_get() 391 if (pm->base.state == PM_DEVICE_STATE_ACTIVE) { in runtime_enable_sync() 445 if (pm->base.state == PM_DEVICE_STATE_ACTIVE) { in pm_device_runtime_enable() 479 pm->base.state = PM_DEVICE_STATE_ACTIVE; in runtime_disable_sync() 518 pm->base.state = PM_DEVICE_STATE_ACTIVE; in pm_device_runtime_disable() 540 pm->base.state = PM_DEVICE_STATE_ACTIVE; in pm_device_runtime_disable()
|
D | device.c | 17 [PM_DEVICE_ACTION_RESUME] = PM_DEVICE_STATE_ACTIVE, 22 [PM_DEVICE_ACTION_SUSPEND] = PM_DEVICE_STATE_ACTIVE, 31 case PM_DEVICE_STATE_ACTIVE: in pm_device_state_str() 351 (pm->domain->pm_base->state == PM_DEVICE_STATE_ACTIVE); in pm_device_is_powered()
|
/Zephyr-latest/tests/subsys/pm/power_domain/src/ |
D | main.c | 159 zassert_equal(state, PM_DEVICE_STATE_ACTIVE); in ZTEST() 162 zassert_equal(state, PM_DEVICE_STATE_ACTIVE); in ZTEST() 178 zassert_equal(state, PM_DEVICE_STATE_ACTIVE); in ZTEST() 271 zassert_equal(state, PM_DEVICE_STATE_ACTIVE); in ZTEST() 279 zassert_equal(state, PM_DEVICE_STATE_ACTIVE); in ZTEST()
|
/Zephyr-latest/tests/subsys/pm/device_driver_init/src/ |
D | main.c | 39 DEVICE_STATE_IS(DT_NODELABEL(test_reg), PM_DEVICE_STATE_ACTIVE); in ZTEST() 40 DEVICE_STATE_IS(DT_NODELABEL(test_reg_chained), PM_DEVICE_STATE_ACTIVE); in ZTEST()
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_nrfx_twim_common.c | 30 if (state == PM_DEVICE_STATE_ACTIVE) { in i2c_nrfx_twim_recover_bus() 37 if (state == PM_DEVICE_STATE_ACTIVE) { in i2c_nrfx_twim_recover_bus()
|
/Zephyr-latest/subsys/shell/modules/ |
D | device_service.c | 74 enum pm_device_state st = PM_DEVICE_STATE_ACTIVE; in cmd_device_list() 141 if (pm_state == PM_DEVICE_STATE_ACTIVE) { in cmd_device_pm_toggle()
|
/Zephyr-latest/include/zephyr/pm/ |
D | device.h | 70 PM_DEVICE_STATE_ACTIVE, enumerator 246 .state = PM_DEVICE_STATE_ACTIVE, \ 644 *state = PM_DEVICE_STATE_ACTIVE; in pm_device_state_get()
|
/Zephyr-latest/tests/subsys/pm/device_wakeup_api/src/ |
D | main.c | 46 zassert_equal(dev_state, PM_DEVICE_STATE_ACTIVE, "Wrong device state"); in pm_state_set()
|
/Zephyr-latest/tests/drivers/uart/uart_pm/src/ |
D | main.c | 147 exp_state = PM_DEVICE_STATE_ACTIVE; in action_run() 167 state_verify(dev, PM_DEVICE_STATE_ACTIVE); in ZTEST()
|
/Zephyr-latest/samples/subsys/pm/device_pm/src/ |
D | dummy_driver.c | 33 if (state == PM_DEVICE_STATE_ACTIVE) { in dummy_open()
|
/Zephyr-latest/drivers/sensor/amd_sb_tsi/ |
D | sb_tsi.c | 37 if (pm_state != PM_DEVICE_STATE_ACTIVE) { in sb_tsi_sample_fetch()
|
/Zephyr-latest/drivers/sensor/bosch/bmi08x/ |
D | bmi08x_gyro_trigger.c | 27 if (state != PM_DEVICE_STATE_ACTIVE) { in bmi08x_handle_drdy_gyr()
|
D | bmi08x_accel_trigger.c | 27 if (state != PM_DEVICE_STATE_ACTIVE) { in bmi08x_handle_drdy_acc()
|
D | bmi08x_gyro.c | 206 if (state != PM_DEVICE_STATE_ACTIVE) { in bmi08x_attr_set() 305 if (state != PM_DEVICE_STATE_ACTIVE) { in bmi08x_channel_get()
|
D | bmi08x_accel.c | 348 if (state != PM_DEVICE_STATE_ACTIVE) { in bmi08x_attr_set() 380 if (state != PM_DEVICE_STATE_ACTIVE) { in bmi08x_sample_fetch() 480 if (state != PM_DEVICE_STATE_ACTIVE) { in bmi08x_channel_get()
|
/Zephyr-latest/drivers/sensor/ti/tmag5170/ |
D | tmag5170_trigger.c | 86 if (state != PM_DEVICE_STATE_ACTIVE) { in tmag5170_trigger_set()
|
/Zephyr-latest/drivers/sensor/ti/bq274xx/ |
D | bq274xx_trigger.c | 119 if (state != PM_DEVICE_STATE_ACTIVE) { in bq274xx_trigger_set()
|
/Zephyr-latest/drivers/sensor/bosch/bmp388/ |
D | bmp388_trigger.c | 90 if (state != PM_DEVICE_STATE_ACTIVE) { in bmp388_trigger_set()
|
/Zephyr-latest/drivers/sensor/f75303/ |
D | f75303.c | 86 if (pm_state != PM_DEVICE_STATE_ACTIVE) { in f75303_sample_fetch()
|
/Zephyr-latest/drivers/sensor/bosch/bmm150/ |
D | bmm150_trigger.c | 92 if (state != PM_DEVICE_STATE_ACTIVE) { in bmm150_trigger_set()
|
/Zephyr-latest/drivers/sensor/bosch/bmp180/ |
D | bmp180.c | 112 if (state != PM_DEVICE_STATE_ACTIVE) { in bmp180_attr_set() 258 if (state != PM_DEVICE_STATE_ACTIVE) { in bmp180_sample_fetch()
|
/Zephyr-latest/drivers/sensor/ntc_thermistor/ |
D | ntc_thermistor.c | 42 if (pm_state != PM_DEVICE_STATE_ACTIVE) { in ntc_thermistor_sample_fetch()
|