Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/tests/lib/onoff/src/
Dmain.c263 zassert_equal(rc, ONOFF_STATE_OFF, in setup_error()
390 zassert_equal(rc, ONOFF_STATE_OFF, in ZTEST()
417 check_trans(3, ONOFF_STATE_OFF, stop_state.retval, in ZTEST()
438 zassert_equal(rc, ONOFF_STATE_OFF, in ZTEST()
472 check_trans(3, ONOFF_STATE_OFF, stop_state.retval, in ZTEST()
540 check_trans(3, ONOFF_STATE_OFF, reset_state.retval, in ZTEST()
559 zassert_equal(rc, ONOFF_STATE_OFF, in ZTEST()
602 zassert_equal(rc, ONOFF_STATE_OFF, in ZTEST()
657 zassert_equal(rc, ONOFF_STATE_OFF, in ZTEST()
697 check_trans(3, ONOFF_STATE_OFF, stop_state.retval, in ZTEST()
[all …]
/Zephyr-Core-3.7.0/include/zephyr/sys/
Donoff.h52 #define ONOFF_STATE_OFF 0U macro
75 #define ONOFF_STATE_TO_OFF (ONOFF_FLAG_TRANSITION | ONOFF_STATE_OFF)
/Zephyr-Core-3.7.0/lib/utils/
Donoff.c216 if ((state == ONOFF_STATE_OFF) in process_recheck()
267 set_state(mgr, ONOFF_STATE_OFF); in process_complete()
278 set_state(mgr, ONOFF_STATE_OFF); in process_complete()
342 __ASSERT_NO_MSG(state == ONOFF_STATE_OFF); in process_event()
447 } else if ((state == ONOFF_STATE_OFF) in onoff_request()
451 start = (state == ONOFF_STATE_OFF); in onoff_request()