tx_desc
d = &sc->tx_desc[i];
d = &sc->tx_desc[sc->tx_start_index];
sc->tx_desc = (void *)SMAP_TXDESC_BASE;
d = sc->tx_desc;
struct smap_desc *tx_desc;
#define sc_txdesc sc_control->tx_desc
struct hpc_dma_desc tx_desc[SQ_NTXDESC];
#define SQ_CDTXOFF(x) SQ_CDOFF(tx_desc[(x)])
struct tx_desc;
struct tx_desc *desc;
wr_gen2(struct tx_desc *d, unsigned int gen)
write_wr_hdr_sgl(unsigned int ndesc, struct tx_desc *txd, struct txq_state *txqs,
wr_gen2((struct tx_desc *)wp, ogen);
struct tx_desc *txd;
write_imm(struct tx_desc *d, struct mbuf *m,
struct tx_desc *d = &q->desc[pidx];
sizeof(struct tx_desc), sz,
memcpy(data, &qs->txq[qnum].desc[idx], sizeof(struct tx_desc));
return sizeof(struct tx_desc);
struct tx_desc *desc;
prod * sizeof(struct tx_desc), sizeof(struct tx_desc),
prod * sizeof(struct tx_desc), sizeof(struct tx_desc),
cons * sizeof(struct tx_desc), sizeof(struct tx_desc),
txd->tx_desc->addr = 0;
txd->tx_desc->len = 0;
txd->tx_desc->flags = 0;
txd->tx_desc = &rd->age_tx_ring[i];
struct tx_desc *tx_desc;
struct tx_desc *age_tx_ring;
(sizeof(struct tx_desc) * AGE_TX_RING_CNT)
struct tx_desc *desc;
#define ALC_TX_RING_ALIGN sizeof(struct tx_desc)
(sizeof(struct tx_desc) * ALC_TX_RING_CNT)
struct tx_desc *alc_tx_ring;
struct tx_desc *desc;
struct tx_desc *ale_tx_ring;
(sizeof(struct tx_desc) * ALE_TX_RING_CNT)
struct r92c_tx_desc_pci *tx_desc;
0, sizeof(*tx_desc) * RTWN_TX_LIST_COUNT,
tx_desc = &tx_ring->desc[i];
if (le32toh(tx_desc->txdw0) & R92C_TXDW0_OWN)
status = le16toh(txd->tx_desc->dtst);
txd->tx_desc = desc;
txd->tx_desc->dtlen =
txd->tx_desc->dtbp = htole32(txd->tx_dmamap->dm_segs[0].ds_addr);
txd->tx_desc->dtst = htole16(VTE_DTST_TX_OWN);
struct vte_tx_desc *tx_desc;