txp_rx_desc
struct txp_rx_desc *rxd;
idx = roff / sizeof(struct txp_rx_desc);
idx * sizeof(struct txp_rx_desc), sizeof(struct txp_rx_desc),
idx * sizeof(struct txp_rx_desc), sizeof(struct txp_rx_desc),
roff += sizeof(struct txp_rx_desc);
if (roff == (RX_ENTRIES * sizeof(struct txp_rx_desc))) {
if (txp_dma_malloc(sc, sizeof(struct txp_rx_desc) * RX_ENTRIES,
bzero(sc->sc_rxhiring_dma.dma_vaddr, sizeof(struct txp_rx_desc) * RX_ENTRIES);
boot->br_rxhipri_siz = htole32(RX_ENTRIES * sizeof(struct txp_rx_desc));
(struct txp_rx_desc *)sc->sc_rxhiring_dma.dma_vaddr;
if (txp_dma_malloc(sc, sizeof(struct txp_rx_desc) * RX_ENTRIES,
bzero(sc->sc_rxloring_dma.dma_vaddr, sizeof(struct txp_rx_desc) * RX_ENTRIES);
boot->br_rxlopri_siz = htole32(RX_ENTRIES * sizeof(struct txp_rx_desc));
(struct txp_rx_desc *)sc->sc_rxloring_dma.dma_vaddr;
struct txp_rx_desc *r_desc; /* base address of descs */