Searched refs:ezspsc (Results 1 – 1 of 1) sorted by relevance
20 SPSC_DEFINE(ezspsc, uint32_t, 1); in ZTEST()24 uint32_t *acq = spsc_acquire(&ezspsc); in ZTEST()30 uint32_t *acq2 = spsc_acquire(&ezspsc); in ZTEST()34 uint32_t *cons = spsc_consume(&ezspsc); in ZTEST()38 zassert_equal(spsc_consumable(&ezspsc), 0, "Consumables should be 0"); in ZTEST()40 spsc_produce(&ezspsc); in ZTEST()42 zassert_equal(spsc_consumable(&ezspsc), 1, "Consumables should be 1"); in ZTEST()44 uint32_t *cons2 = spsc_consume(&ezspsc); in ZTEST()46 zassert_equal(spsc_consumable(&ezspsc), 0, "Consumables should be 0"); in ZTEST()51 uint32_t *cons3 = spsc_consume(&ezspsc); in ZTEST()[all …]