Home
last modified time | relevance | path

Searched refs:pm_device_state_get (Results 1 – 25 of 48) sorted by relevance

12

/Zephyr-latest/tests/subsys/pm/device_power_domains/src/
Dmain.c58 pm_device_state_get(dev, &state); in ZTEST()
76 pm_device_state_get(dev, &state); in ZTEST()
79 pm_device_state_get(dev, &state); in ZTEST()
89 pm_device_state_get(dev, &state); in ZTEST()
98 pm_device_state_get(dev, &state); in ZTEST()
100 pm_device_state_get(reg_1, &state); in ZTEST()
102 pm_device_state_get(reg_chained, &state); in ZTEST()
107 pm_device_state_get(dev, &state); in ZTEST()
109 pm_device_state_get(reg_1, &state); in ZTEST()
111 pm_device_state_get(reg_chained, &state); in ZTEST()
[all …]
/Zephyr-latest/tests/subsys/pm/device_runtime_api/src/
Dmain.c52 (void)pm_device_state_get(test_dev, &state); in test_api_setup()
76 (void)pm_device_state_get(test_dev, &state); in test_api_teardown()
95 (void)pm_device_state_get(test_dev, &state); in ZTEST()
105 (void)pm_device_state_get(test_dev, &state); in ZTEST()
117 (void)pm_device_state_get(test_dev, &state); in ZTEST()
125 (void)pm_device_state_get(test_dev, &state); in ZTEST()
140 (void)pm_device_state_get(test_dev, &state); in ZTEST()
152 (void)pm_device_state_get(test_dev, &state); in ZTEST()
156 (void)pm_device_state_get(test_dev, &state); in ZTEST()
172 (void)pm_device_state_get(test_dev, &state); in ZTEST()
[all …]
/Zephyr-latest/tests/subsys/pm/power_domain/src/
Dmain.c142 pm_device_state_get(domain, &state); in ZTEST()
145 pm_device_state_get(deva, &state); in ZTEST()
148 pm_device_state_get(devb, &state); in ZTEST()
151 pm_device_state_get(devc, &state); in ZTEST()
158 pm_device_state_get(deva, &state); in ZTEST()
161 pm_device_state_get(domain, &state); in ZTEST()
177 pm_device_state_get(domain, &state); in ZTEST()
190 pm_device_state_get(domain, &state); in ZTEST()
197 pm_device_state_get(devb, &state); in ZTEST()
200 pm_device_state_get(deva, &state); in ZTEST()
[all …]
/Zephyr-latest/tests/subsys/pm/power_mgmt/src/
Dmain.c97 (void)pm_device_state_get(device_a, &state_a); in device_b_pm_action()
98 (void)pm_device_state_get(device_c, &state_c); in device_b_pm_action()
184 pm_device_state_get(device_a, &device_power_state); in pm_state_set()
188 pm_device_state_get(device_c, &device_power_state); in pm_state_set()
206 pm_device_state_get(device_c, &device_power_state); in pm_state_set()
217 pm_device_state_get(device_dummy, &device_power_state); in pm_state_set()
282 pm_device_state_get(device_dummy, &device_power_state); in notify_pm_state_entry()
308 pm_device_state_get(device_dummy, &device_power_state); in notify_pm_state_exit()
399 pm_device_state_get(device_dummy, &device_power_state); in ZTEST()
410 pm_device_state_get(device_dummy, &device_power_state); in ZTEST()
[all …]
/Zephyr-latest/tests/benchmarks/footprints/src/
Dpm_device.c42 if (pm_device_state_get(dev, &pm_state)) { in run_pm_device()
59 if (pm_device_state_get(dev, &pm_state) != ENOSYS) { in run_pm_device()
/Zephyr-latest/tests/subsys/pm/device_wakeup_api/src/
Dmain.c31 (void)pm_device_state_get(dev, &dev_state); in pm_state_set()
45 (void)pm_device_state_get(dev, &dev_state); in pm_state_set()
/Zephyr-latest/subsys/shell/modules/
Ddevice_service.c75 int err = pm_device_state_get(dev, &st); in cmd_device_list()
139 (void)pm_device_state_get(dev, &pm_state); in cmd_device_pm_toggle()
/Zephyr-latest/tests/drivers/uart/uart_pm/src/
Dmain.c124 int error = pm_device_state_get(dev, &power_state); \
135 err = pm_device_state_get(dev, &prev_state); in action_run()
/Zephyr-latest/samples/subsys/pm/device_pm/src/
Ddummy_driver.c32 (void)pm_device_state_get(dev, &state); in dummy_open()
/Zephyr-latest/tests/subsys/pm/device_driver_init/src/
Dmain.c26 rc = pm_device_state_get(DEVICE_DT_GET(node_id), &state); \
/Zephyr-latest/drivers/sensor/amd_sb_tsi/
Dsb_tsi.c36 (void)pm_device_state_get(dev, &pm_state); in sb_tsi_sample_fetch()
/Zephyr-latest/include/zephyr/pm/
Ddevice.h454 int pm_device_state_get(const struct device *dev,
639 static inline int pm_device_state_get(const struct device *dev, in pm_device_state_get() function
/Zephyr-latest/drivers/i2c/
Di2c_nrfx_twim_common.c29 (void)pm_device_state_get(dev, &state); in i2c_nrfx_twim_recover_bus()
/Zephyr-latest/drivers/sensor/bosch/bmi08x/
Dbmi08x_gyro_trigger.c26 (void)pm_device_state_get(dev, &state); in bmi08x_handle_drdy_gyr()
Dbmi08x_accel_trigger.c26 (void)pm_device_state_get(dev, &state); in bmi08x_handle_drdy_acc()
Dbmi08x_gyro.c205 (void)pm_device_state_get(dev, &state); in bmi08x_attr_set()
304 (void)pm_device_state_get(dev, &state); in bmi08x_channel_get()
Dbmi08x_accel.c347 (void)pm_device_state_get(dev, &state); in bmi08x_attr_set()
379 (void)pm_device_state_get(dev, &state); in bmi08x_sample_fetch()
479 (void)pm_device_state_get(dev, &state); in bmi08x_channel_get()
/Zephyr-latest/drivers/sensor/ti/tmag5170/
Dtmag5170_trigger.c85 (void)pm_device_state_get(dev, &state); in tmag5170_trigger_set()
/Zephyr-latest/drivers/sensor/ti/bq274xx/
Dbq274xx_trigger.c118 (void)pm_device_state_get(dev, &state); in bq274xx_trigger_set()
/Zephyr-latest/drivers/sensor/bosch/bmp388/
Dbmp388_trigger.c89 (void)pm_device_state_get(dev, &state); in bmp388_trigger_set()
/Zephyr-latest/drivers/sensor/f75303/
Df75303.c85 (void)pm_device_state_get(dev, &pm_state); in f75303_sample_fetch()
/Zephyr-latest/drivers/sensor/ti/fdc2x1x/
Dfdc2x1x_trigger.c30 (void)pm_device_state_get(dev, &state); in fdc2x1x_thread_cb()
/Zephyr-latest/drivers/sensor/bosch/bmm150/
Dbmm150_trigger.c91 (void)pm_device_state_get(dev, &state); in bmm150_trigger_set()
/Zephyr-latest/drivers/sensor/bosch/bmp180/
Dbmp180.c111 (void)pm_device_state_get(dev, &state); in bmp180_attr_set()
257 (void)pm_device_state_get(dev, &state); in bmp180_sample_fetch()
/Zephyr-latest/drivers/sensor/ntc_thermistor/
Dntc_thermistor.c41 (void)pm_device_state_get(dev, &pm_state); in ntc_thermistor_sample_fetch()

12