Lines Matching refs:tpd
500 memset(txq->tpd, 0, txq->count * sizeof(struct alx_txd)); in alx_free_txring_buf()
624 txq->tpd = alx->descmem.virt + offset; in alx_alloc_tx_ring()
1439 struct alx_txd *tpd, *first_tpd; in alx_map_tx_skb() local
1443 first_tpd = &txq->tpd[txq->write_idx]; in alx_map_tx_skb()
1444 tpd = first_tpd; in alx_map_tx_skb()
1446 if (tpd->word1 & (1 << TPD_LSO_V2_SHIFT)) { in alx_map_tx_skb()
1450 tpd = &txq->tpd[txq->write_idx]; in alx_map_tx_skb()
1451 tpd->len = first_tpd->len; in alx_map_tx_skb()
1452 tpd->vlan_tag = first_tpd->vlan_tag; in alx_map_tx_skb()
1453 tpd->word1 = first_tpd->word1; in alx_map_tx_skb()
1465 tpd->adrl.addr = cpu_to_le64(dma); in alx_map_tx_skb()
1466 tpd->len = cpu_to_le16(maplen); in alx_map_tx_skb()
1473 tpd = &txq->tpd[txq->write_idx]; in alx_map_tx_skb()
1475 tpd->word1 = first_tpd->word1; in alx_map_tx_skb()
1485 tpd->adrl.addr = cpu_to_le64(dma); in alx_map_tx_skb()
1486 tpd->len = cpu_to_le16(maplen); in alx_map_tx_skb()
1490 tpd->word1 |= cpu_to_le32(1 << TPD_EOP_SHIFT); in alx_map_tx_skb()
1522 first = &txq->tpd[txq->write_idx]; in alx_start_xmit_ring()