Home
last modified time | relevance | path

Searched refs:RING_FORWARD (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ipw/
H A Dipw2100_impl.h179 #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); in ipw2100_cmd()
2145 sc->sc_tx_cur = RING_FORWARD(sc->sc_tx_cur, 1, IPW2100_NUM_TXBD); in ipw2100_send()
2155 sc->sc_tx_cur = RING_FORWARD(sc->sc_tx_cur, 1, IPW2100_NUM_TXBD); in ipw2100_send()
2734 sc->sc_rx_cur = RING_FORWARD( in ipw2100_intr()
2850 len = RING_FLEN(RING_FORWARD(sc->sc_tx_cur, in ipw2100_intr()
/illumos-gate/usr/src/uts/common/io/iwi/
H A Dipw2200_impl.h198 #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); in ipw2200_cmd()
2336 sc->sc_tx_cur = RING_FORWARD(sc->sc_tx_cur, 1, IPW2200_TX_RING_SIZE); in ipw2200_send()
2933 i = RING_FORWARD(sc->sc_cmd_cur, in ipw2200_intr()
2946 i = RING_FORWARD(i, 1, IPW2200_CMD_RING_SIZE)) in ipw2200_intr()
2969 sc->sc_rx_cur = RING_FORWARD(sc->sc_rx_cur, 1, in ipw2200_intr()
3025 len = RING_FLEN(RING_FORWARD(sc->sc_tx_cur, in ipw2200_intr()