Lines Matching refs:mem
118 uint8_t idx, void *mem, uint8_t *last) in mfifo_by_idx_enqueue() argument
122 *p = mem; /* store the payload which for API 2 is only a void-ptr */ in mfifo_by_idx_enqueue()
132 #define MFIFO_BY_IDX_ENQUEUE(name, i, mem) \ argument
134 (mem), &mfifo_fifo_##name.l)
145 uint8_t last, void **mem) in mfifo_enqueue_get() argument
152 *mem = NULL; /* Signal the failure */ in mfifo_enqueue_get()
160 *mem = (void *)(fifo + last * size); /* preceding buffer */ in mfifo_enqueue_get()
173 #define MFIFO_ENQUEUE_GET(name, mem) \ argument
176 mfifo_fifo_##name.l, (mem))
319 void *mem; in mfifo_dequeue() local
329 mem = *((void **)(fifo + _first * size)); in mfifo_dequeue()
339 return mem; in mfifo_dequeue()