Home
last modified time | relevance | path

Searched refs:pm_device_runtime_usage (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/subsys/pm/device_runtime_api/src/
Dmain.c97 zassert_equal(pm_device_runtime_usage(test_dev), 0); in ZTEST()
111 zassert_equal(pm_device_runtime_usage(test_dev), 2); in ZTEST()
123 zassert_equal(pm_device_runtime_usage(test_dev), 0); in ZTEST()
131 zassert_equal(pm_device_runtime_usage(test_dev), 0); in ZTEST()
138 zassert_equal(pm_device_runtime_usage(test_dev), 1); in ZTEST()
148 zassert_equal(pm_device_runtime_usage(test_dev), 0); in ZTEST()
154 zassert_equal(pm_device_runtime_usage(test_dev), 0); in ZTEST()
166 zassert_equal(pm_device_runtime_usage(test_dev), 0); in ZTEST()
261 zassert_equal(pm_device_runtime_usage(test_dev), -ENOTSUP); in ZTEST()
/Zephyr-latest/include/zephyr/pm/
Ddevice_runtime.h170 int pm_device_runtime_usage(const struct device *dev);
218 static inline int pm_device_runtime_usage(const struct device *dev)
/Zephyr-latest/tests/drivers/uart/uart_elementary/src/
Dmain.c275 int usage = pm_device_runtime_usage(uart_dev); in ZTEST()
276 int usage_aux = pm_device_runtime_usage(uart_dev_aux); in ZTEST()
307 int usage = pm_device_runtime_usage(uart_dev); in ZTEST()
308 int usage_aux = pm_device_runtime_usage(uart_dev_aux); in ZTEST()
/Zephyr-latest/subsys/shell/modules/
Ddevice_service.c83 usage = pm_device_runtime_usage(dev); in cmd_device_list()
/Zephyr-latest/subsys/pm/
Ddevice_runtime.c564 int pm_device_runtime_usage(const struct device *dev) in pm_device_runtime_usage() function