txp_tx_desc
struct txp_tx_desc *txd;
txdidx * sizeof(struct txp_tx_desc),
sizeof(struct txp_tx_desc), BUS_DMASYNC_PREWRITE);
struct txp_tx_desc *txd = d;
struct txp_tx_desc *txd = r->r_desc + cons;
cons * sizeof(struct txp_tx_desc),
sizeof(struct txp_tx_desc),
if (txp_dma_malloc(sc, sizeof(struct txp_tx_desc) * TX_ENTRIES,
bzero(sc->sc_txhiring_dma.dma_vaddr, sizeof(struct txp_tx_desc) * TX_ENTRIES);
boot->br_txhipri_siz = htole32(TX_ENTRIES * sizeof(struct txp_tx_desc));
sc->sc_txhir.r_desc = (struct txp_tx_desc *)sc->sc_txhiring_dma.dma_vaddr;
if (txp_dma_malloc(sc, sizeof(struct txp_tx_desc) * TX_ENTRIES,
bzero(sc->sc_txloring_dma.dma_vaddr, sizeof(struct txp_tx_desc) * TX_ENTRIES);
boot->br_txlopri_siz = htole32(TX_ENTRIES * sizeof(struct txp_tx_desc));
sc->sc_txlor.r_desc = (struct txp_tx_desc *)sc->sc_txloring_dma.dma_vaddr;
struct txp_tx_desc *r_desc; /* base address of descs */