Lines Matching refs:prioarray
250 void XMC_PRIOARRAY_Init(XMC_PRIOARRAY_t *prioarray);
255 void XMC_PRIOARRAY_Add(XMC_PRIOARRAY_t *prioarray, int32_t item, int32_t priority);
260 void XMC_PRIOARRAY_Remove(XMC_PRIOARRAY_t *prioarray, int32_t item);
265 __STATIC_INLINE int32_t XMC_PRIOARRAY_GetHead(XMC_PRIOARRAY_t *prioarray) in XMC_PRIOARRAY_GetHead() argument
267 XMC_ASSERT("XMC_PRIOARRAY_Init: NULL pointer", prioarray != NULL); in XMC_PRIOARRAY_GetHead()
268 return prioarray->items[prioarray->size].next; in XMC_PRIOARRAY_GetHead()
274 __STATIC_INLINE int32_t XMC_PRIOARRAY_GetTail(XMC_PRIOARRAY_t *prioarray) in XMC_PRIOARRAY_GetTail() argument
276 XMC_ASSERT("XMC_PRIOARRAY_Init: NULL pointer", prioarray != NULL); in XMC_PRIOARRAY_GetTail()
277 return prioarray->items[prioarray->size + 1].previous; in XMC_PRIOARRAY_GetTail()
283 __STATIC_INLINE int32_t XMC_PRIOARRAY_GetItemPriority(XMC_PRIOARRAY_t *prioarray, int32_t item) in XMC_PRIOARRAY_GetItemPriority() argument
285 …XMC_ASSERT("XMC_PRIOARRAY_GetItemPriority: item out of range", (item >= 0) && (item < prioarray->s… in XMC_PRIOARRAY_GetItemPriority()
286 return prioarray->items[item].priority; in XMC_PRIOARRAY_GetItemPriority()
292 __STATIC_INLINE int32_t XMC_PRIOARRAY_GetItemNext(XMC_PRIOARRAY_t *prioarray, int32_t item) in XMC_PRIOARRAY_GetItemNext() argument
294 …XMC_ASSERT("XMC_PRIOARRAY_GetItemNext: item out of range", (item >= 0) && (item < prioarray->size)… in XMC_PRIOARRAY_GetItemNext()
295 return prioarray->items[item].next; in XMC_PRIOARRAY_GetItemNext()
301 __STATIC_INLINE int32_t XMC_PRIOARRAY_GetItemPrevious(XMC_PRIOARRAY_t *prioarray, int32_t item) in XMC_PRIOARRAY_GetItemPrevious() argument
303 …XMC_ASSERT("XMC_PRIOARRAY_GetItemPrevious: item out of range", (item >= 0) && (item < prioarray->s… in XMC_PRIOARRAY_GetItemPrevious()
304 return prioarray->items[item].previous; in XMC_PRIOARRAY_GetItemPrevious()