Lines Matching full:txp
719 struct mt7915_txp *txp; in mt7915_tx_prepare_skb() local
731 txp = (struct mt7915_txp *)(txwi + MT_TXD_SIZE); in mt7915_tx_prepare_skb()
733 txp->buf[i] = cpu_to_le32(tx_info->buf[i + 1].addr); in mt7915_tx_prepare_skb()
734 txp->len[i] = cpu_to_le16(tx_info->buf[i + 1].len); in mt7915_tx_prepare_skb()
736 txp->nbuf = nbuf; in mt7915_tx_prepare_skb()
743 txp->flags = cpu_to_le16(MT_CT_INFO_APPLY_TXD); in mt7915_tx_prepare_skb()
746 txp->flags |= cpu_to_le16(MT_CT_INFO_NONE_CIPHER_FRAME); in mt7915_tx_prepare_skb()
749 txp->flags |= cpu_to_le16(MT_CT_INFO_MGMT_FRAME); in mt7915_tx_prepare_skb()
754 txp->bss_idx = mvif->idx; in mt7915_tx_prepare_skb()
766 txp->token = cpu_to_le16(id); in mt7915_tx_prepare_skb()
767 txp->rept_wds_wcid = 0xff; in mt7915_tx_prepare_skb()
855 struct mt7915_txp *txp; in mt7915_txp_skb_unmap() local
858 txp = mt7915_txwi_to_txp(dev, t); in mt7915_txp_skb_unmap()
859 for (i = 1; i < txp->nbuf; i++) in mt7915_txp_skb_unmap()
860 dma_unmap_single(dev->dev, le32_to_cpu(txp->buf[i]), in mt7915_txp_skb_unmap()
861 le16_to_cpu(txp->len[i]), DMA_TO_DEVICE); in mt7915_txp_skb_unmap()
966 struct mt7915_txp *txp; in mt7915_tx_complete_skb() local
968 txp = mt7915_txwi_to_txp(mdev, e->txwi); in mt7915_tx_complete_skb()
971 t = idr_remove(&dev->token, le16_to_cpu(txp->token)); in mt7915_tx_complete_skb()