Lines Matching refs:events
25 static atomic_t events; variable
37 atomic_set_bit(&events, TEST_EVENTS_CONNECTED_BIT); in test_pipelink_callback()
41 atomic_set_bit(&events, TEST_EVENTS_DISCONNECTED_BIT); in test_pipelink_callback()
52 atomic_set(&events, 0); in test_reset_events()
84 zassert_true(atomic_test_bit(&events, TEST_EVENTS_CONNECTED_BIT)); in ZTEST()
85 zassert_false(atomic_test_bit(&events, TEST_EVENTS_DISCONNECTED_BIT)); in ZTEST()
88 zassert_false(atomic_test_bit(&events, TEST_EVENTS_CONNECTED_BIT)); in ZTEST()
89 zassert_false(atomic_test_bit(&events, TEST_EVENTS_DISCONNECTED_BIT)); in ZTEST()
91 zassert_false(atomic_test_bit(&events, TEST_EVENTS_CONNECTED_BIT)); in ZTEST()
92 zassert_true(atomic_test_bit(&events, TEST_EVENTS_DISCONNECTED_BIT)); in ZTEST()
95 zassert_false(atomic_test_bit(&events, TEST_EVENTS_CONNECTED_BIT)); in ZTEST()
96 zassert_false(atomic_test_bit(&events, TEST_EVENTS_DISCONNECTED_BIT)); in ZTEST()