Lines Matching defs:bce_dma_slot
70 struct bce_dma_slot {
123 struct bce_dma_slot *bce_rx_ring; /* receive ring */
124 struct bce_dma_slot *bce_tx_ring; /* transmit ring */
140 struct bce_dma_slot *__bced = &sc->bce_rx_ring[x]; \
151 sizeof(struct bce_dma_slot) * x, \
152 sizeof(struct bce_dma_slot), \
386 sc->bce_rx_ring = (struct bce_dma_slot *) kva;
387 sc->bce_tx_ring = (struct bce_dma_slot *) ((char *)kva + PAGE_SIZE);
611 PAGE_SIZE + sizeof(struct bce_dma_slot) * txstart,
612 sizeof(struct bce_dma_slot) * dmamap->dm_nsegs,
616 PAGE_SIZE + sizeof(struct bce_dma_slot) * txstart,
617 sizeof(struct bce_dma_slot) *
624 sizeof(struct bce_dma_slot),
631 sc->bce_txsnext * sizeof(struct bce_dma_slot));
745 curr = curr / sizeof(struct bce_dma_slot);
826 sizeof(struct bce_dma_slot);
849 curr = curr / sizeof(struct bce_dma_slot);
917 memset(sc->bce_tx_ring, 0, BCE_NTXDESC * sizeof(struct bce_dma_slot));
958 memset(sc->bce_rx_ring, 0, BCE_NRXDESC * sizeof(struct bce_dma_slot));
987 BCE_NRXDESC * sizeof(struct bce_dma_slot));