Lines Matching defs:spsc
59 struct spsc { struct
77 * @brief Statically initialize an spsc argument
124 #define spsc_size(spsc) ((spsc)->_spsc.mask + 1) argument
133 #define z_spsc_mask(spsc, i) ((i) & (spsc)->_spsc.mask) argument
139 #define z_spsc_in(spsc) (unsigned long)atomic_get(&(spsc)->_spsc.in) argument
145 #define z_spsc_out(spsc) (unsigned long)atomic_get(&(spsc)->_spsc.out) argument
155 #define spsc_reset(spsc) \ argument
170 #define spsc_acquire(spsc) \ argument
187 #define spsc_produce(spsc) \ argument
203 #define spsc_produce_all(spsc) \ argument
219 #define spsc_drop_all(spsc) \ argument
231 #define spsc_consume(spsc) \ argument
246 #define spsc_release(spsc) \ argument
259 #define spsc_release_all(spsc) \ argument
273 #define spsc_acquirable(spsc) \ argument
281 #define spsc_consumable(spsc) ({ (spsc)->_spsc.in - (spsc)->_spsc.out - (spsc)->_spsc.consume; }) argument
290 #define spsc_peek(spsc) \ argument
306 #define spsc_next(spsc, item) \ argument
322 #define spsc_prev(spsc, item) \ argument