Lines Matching refs:state

38 	enum pm_device_state state;  in ZTEST()  local
58 pm_device_state_get(dev, &state); in ZTEST()
59 zassert_equal(PM_DEVICE_STATE_OFF, state, ""); in ZTEST()
76 pm_device_state_get(dev, &state); in ZTEST()
77 zassert_equal(PM_DEVICE_STATE_SUSPENDED, state, ""); in ZTEST()
79 pm_device_state_get(dev, &state); in ZTEST()
80 zassert_equal(PM_DEVICE_STATE_OFF, state, ""); in ZTEST()
89 pm_device_state_get(dev, &state); in ZTEST()
90 zassert_equal(PM_DEVICE_STATE_OFF, state, ""); in ZTEST()
98 pm_device_state_get(dev, &state); in ZTEST()
99 zassert_equal(PM_DEVICE_STATE_ACTIVE, state, ""); in ZTEST()
100 pm_device_state_get(reg_1, &state); in ZTEST()
101 zassert_equal(PM_DEVICE_STATE_ACTIVE, state, ""); in ZTEST()
102 pm_device_state_get(reg_chained, &state); in ZTEST()
103 zassert_equal(PM_DEVICE_STATE_OFF, state, ""); in ZTEST()
107 pm_device_state_get(dev, &state); in ZTEST()
108 zassert_equal(PM_DEVICE_STATE_OFF, state, ""); in ZTEST()
109 pm_device_state_get(reg_1, &state); in ZTEST()
110 zassert_equal(PM_DEVICE_STATE_SUSPENDED, state, ""); in ZTEST()
111 pm_device_state_get(reg_chained, &state); in ZTEST()
112 zassert_equal(PM_DEVICE_STATE_OFF, state, ""); in ZTEST()
120 pm_device_state_get(dev, &state); in ZTEST()
121 zassert_equal(PM_DEVICE_STATE_ACTIVE, state, ""); in ZTEST()
122 pm_device_state_get(reg_1, &state); in ZTEST()
123 zassert_equal(PM_DEVICE_STATE_ACTIVE, state, ""); in ZTEST()
127 pm_device_state_get(dev, &state); in ZTEST()
128 zassert_equal(PM_DEVICE_STATE_OFF, state, ""); in ZTEST()
129 pm_device_state_get(reg_1, &state); in ZTEST()
130 zassert_equal(PM_DEVICE_STATE_SUSPENDED, state, ""); in ZTEST()