Searched defs:RING_FORWARD (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ipw/
H A Dipw2100_impl.h174 * RING_FORWARD - move 'x' forward 's' steps in a 'b'-sized ring
179 #define RING_FORWARD(x, s, b) (((x)+(s))%(b)) macro
180 #define RING_BACKWARD(x, s, b) RING_FORWARD((x), (b)-(s), (b))
/illumos-gate/usr/src/uts/common/io/iwi/
H A Dipw2200_impl.h193 * RING_FORWARD - move 'x' forward 's' steps in a 'b'- sized ring
198 #define RING_FORWARD(x, s, b) (((x)+(s))%(b)) macro
199 #define RING_BACKWARD(x, s, b) RING_FORWARD((x), (b)-(s), (b))

Completed in 283 milliseconds