Searched refs:RING_FORWARD (Results 1 - 4 of 4) 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))
H A Dipw2100.c1068 sc->sc_tx_cur = RING_FORWARD(sc->sc_tx_cur, 1, IPW2100_NUM_TXBD);
2145 sc->sc_tx_cur = RING_FORWARD(sc->sc_tx_cur, 1, IPW2100_NUM_TXBD);
2155 sc->sc_tx_cur = RING_FORWARD(sc->sc_tx_cur, 1, IPW2100_NUM_TXBD);
2734 sc->sc_rx_cur = RING_FORWARD(
2850 len = RING_FLEN(RING_FORWARD(sc->sc_tx_cur,
/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))
H A Dipw2200.c1006 sc->sc_cmd_cur = RING_FORWARD(sc->sc_cmd_cur, 1, IPW2200_CMD_RING_SIZE);
2336 sc->sc_tx_cur = RING_FORWARD(sc->sc_tx_cur, 1, IPW2200_TX_RING_SIZE);
2933 i = RING_FORWARD(sc->sc_cmd_cur,
2946 i = RING_FORWARD(i, 1, IPW2200_CMD_RING_SIZE))
2969 sc->sc_rx_cur = RING_FORWARD(sc->sc_rx_cur, 1,
3025 len = RING_FLEN(RING_FORWARD(sc->sc_tx_cur,

Completed in 98 milliseconds