nxe_ring
struct nxe_ring *nr;
struct nxe_ring *nr = sc->sc_cmd_ring;
struct nxe_ring *nr = sc->sc_rx_rings[NXE_RING_RX];
struct nxe_ring *
struct nxe_ring *nr;
nr = malloc(sizeof(struct nxe_ring), M_DEVBUF, M_WAITOK);
nxe_ring_sync(struct nxe_softc *sc, struct nxe_ring *nr, int flags)
nxe_ring_free(struct nxe_softc *sc, struct nxe_ring *nr)
nxe_ring_readable(struct nxe_ring *nr, int producer)
nxe_ring_writeable(struct nxe_ring *nr, int consumer)
nxe_ring_cur(struct nxe_softc *sc, struct nxe_ring *nr)
nxe_ring_next(struct nxe_softc *sc, struct nxe_ring *nr)
struct nxe_ring *sc_cmd_ring;
struct nxe_ring *sc_rx_rings[NXE_NRING];
struct nxe_ring *sc_status_ring;
struct nxe_ring *nxe_ring_alloc(struct nxe_softc *, size_t, u_int);
void nxe_ring_sync(struct nxe_softc *, struct nxe_ring *,
void nxe_ring_free(struct nxe_softc *, struct nxe_ring *);
int nxe_ring_readable(struct nxe_ring *, int);
int nxe_ring_writeable(struct nxe_ring *, int);
void *nxe_ring_cur(struct nxe_softc *, struct nxe_ring *);
void *nxe_ring_next(struct nxe_softc *, struct nxe_ring *);