Home
last modified time | relevance | path

Searched refs:PM_DEVICE_STATE_ACTIVE (Results 1 – 25 of 45) sorted by relevance

12

/Zephyr-latest/tests/subsys/pm/power_mgmt/src/
Dmain.c106 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/
Dmain.c77 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/
Dmain.c99 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/
Ddevice_runtime.c22 #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()
Ddevice.c17 [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/
Dmain.c159 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/
Dmain.c39 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/
Di2c_nrfx_twim_common.c30 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/
Ddevice_service.c74 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/
Ddevice.h70 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/
Dmain.c46 zassert_equal(dev_state, PM_DEVICE_STATE_ACTIVE, "Wrong device state"); in pm_state_set()
/Zephyr-latest/tests/drivers/uart/uart_pm/src/
Dmain.c147 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/
Ddummy_driver.c33 if (state == PM_DEVICE_STATE_ACTIVE) { in dummy_open()
/Zephyr-latest/drivers/sensor/amd_sb_tsi/
Dsb_tsi.c37 if (pm_state != PM_DEVICE_STATE_ACTIVE) { in sb_tsi_sample_fetch()
/Zephyr-latest/drivers/sensor/bosch/bmi08x/
Dbmi08x_gyro_trigger.c27 if (state != PM_DEVICE_STATE_ACTIVE) { in bmi08x_handle_drdy_gyr()
Dbmi08x_accel_trigger.c27 if (state != PM_DEVICE_STATE_ACTIVE) { in bmi08x_handle_drdy_acc()
Dbmi08x_gyro.c206 if (state != PM_DEVICE_STATE_ACTIVE) { in bmi08x_attr_set()
305 if (state != PM_DEVICE_STATE_ACTIVE) { in bmi08x_channel_get()
Dbmi08x_accel.c348 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/
Dtmag5170_trigger.c86 if (state != PM_DEVICE_STATE_ACTIVE) { in tmag5170_trigger_set()
/Zephyr-latest/drivers/sensor/ti/bq274xx/
Dbq274xx_trigger.c119 if (state != PM_DEVICE_STATE_ACTIVE) { in bq274xx_trigger_set()
/Zephyr-latest/drivers/sensor/bosch/bmp388/
Dbmp388_trigger.c90 if (state != PM_DEVICE_STATE_ACTIVE) { in bmp388_trigger_set()
/Zephyr-latest/drivers/sensor/f75303/
Df75303.c86 if (pm_state != PM_DEVICE_STATE_ACTIVE) { in f75303_sample_fetch()
/Zephyr-latest/drivers/sensor/bosch/bmm150/
Dbmm150_trigger.c92 if (state != PM_DEVICE_STATE_ACTIVE) { in bmm150_trigger_set()
/Zephyr-latest/drivers/sensor/bosch/bmp180/
Dbmp180.c112 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/
Dntc_thermistor.c42 if (pm_state != PM_DEVICE_STATE_ACTIVE) { in ntc_thermistor_sample_fetch()

12