Home
last modified time | relevance | path

Searched refs:ONOFF_STATE_ERROR (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.7.0/include/zephyr/sys/
Donoff.h63 #define ONOFF_STATE_ERROR ONOFF_FLAG_ERROR macro
81 #define ONOFF_STATE_RESETTING (ONOFF_FLAG_TRANSITION | ONOFF_STATE_ERROR)
/Zephyr-Core-3.7.0/lib/utils/
Donoff.c222 } else if ((state == ONOFF_STATE_ERROR) in process_recheck()
247 set_state(mgr, ONOFF_STATE_ERROR); in process_complete()
356 __ASSERT_NO_MSG(state == ONOFF_STATE_ERROR); in process_event()
456 __ASSERT_NO_MSG(state == ONOFF_STATE_ERROR); in onoff_request()
487 if (state == ONOFF_STATE_ERROR) { in onoff_release()
631 state = ONOFF_STATE_ERROR; in onoff_sync_finalize()
/Zephyr-Core-3.7.0/tests/lib/onoff/src/
Dmain.c504 zassert_equal(rc, ONOFF_STATE_ERROR, in ZTEST()
525 check_trans(1, ONOFF_STATE_ERROR, start_state.retval, in ZTEST()
532 zassert_equal(rc, ONOFF_STATE_ERROR, in ZTEST()
838 check_trans(1, ONOFF_STATE_ERROR, start_state.retval, in ZTEST()
846 zassert_equal(rc, ONOFF_STATE_ERROR, in ZTEST()
895 zassert_equal(rc, ONOFF_STATE_ERROR, in ZTEST()
1156 check_callback(ONOFF_STATE_ERROR, res, "err final"); in ZTEST()