Searched refs:increment_modulo (Results 1 – 1 of 1) sorted by relevance
43 static inline uint8_t increment_modulo(uint8_t v, uint8_t wrap_at_value) in increment_modulo() function95 p_queue->wridx = increment_modulo(p_queue->wridx, p_queue->capacity); in nrf_802154_queue_push_commit()105 p_queue->rdidx = increment_modulo(p_queue->rdidx, p_queue->capacity); in nrf_802154_queue_pop_commit()112 wridx = increment_modulo(p_queue->wridx, p_queue->capacity); in nrf_802154_queue_is_full()