Home
last modified time | relevance | path

Searched refs:pm_device_is_powered (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/tests/subsys/pm/device_power_domains/src/
Dmain.c14 if (!pm_device_is_powered(dev)) { in dev_init()
41 zassert_true(pm_device_is_powered(reg_0), ""); in ZTEST()
42 zassert_true(pm_device_is_powered(reg_1), ""); in ZTEST()
43 zassert_true(pm_device_is_powered(reg_chained), ""); in ZTEST()
44 zassert_true(pm_device_is_powered(dev), ""); in ZTEST()
54 zassert_true(pm_device_is_powered(reg_0), ""); in ZTEST()
55 zassert_true(pm_device_is_powered(reg_1), ""); in ZTEST()
56 zassert_false(pm_device_is_powered(reg_chained), ""); in ZTEST()
57 zassert_false(pm_device_is_powered(dev), ""); in ZTEST()
65 zassert_true(pm_device_is_powered(reg_chained), ""); in ZTEST()
[all …]
/Zephyr-latest/include/zephyr/pm/
Ddevice.h620 bool pm_device_is_powered(const struct device *dev);
710 static inline bool pm_device_is_powered(const struct device *dev) in pm_device_is_powered() function
/Zephyr-latest/subsys/pm/
Ddevice.c341 bool pm_device_is_powered(const struct device *dev) in pm_device_is_powered() function
365 if (!pm_device_is_powered(dev)) { in pm_device_driver_init()
/Zephyr-latest/tests/subsys/pm/power_mgmt/src/
Dmain.c500 zassert_true(pm_device_is_powered(device_e)); in ZTEST()
/Zephyr-latest/drivers/gnss/
Dgnss_emul.c478 if (pm_device_is_powered(dev)) { in gnss_emul_init()
Dgnss_quectel_lcx6g.c823 if (pm_device_is_powered(dev)) { in quectel_lcx6g_init()
/Zephyr-latest/doc/releases/
Drelease-notes-3.2.rst1488 * Added :c:func:`pm_device_is_powered` to query a device power state.