Searched refs:pm_device_is_powered (Results 1 – 7 of 7) sorted by relevance
14 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 …]
620 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
341 bool pm_device_is_powered(const struct device *dev) in pm_device_is_powered() function365 if (!pm_device_is_powered(dev)) { in pm_device_driver_init()
500 zassert_true(pm_device_is_powered(device_e)); in ZTEST()
478 if (pm_device_is_powered(dev)) { in gnss_emul_init()
823 if (pm_device_is_powered(dev)) { in quectel_lcx6g_init()
1488 * Added :c:func:`pm_device_is_powered` to query a device power state.