Lines Matching full:txp
759 struct mt76_connac_fw_txp *txp; in mt7915_tx_prepare_skb() local
793 txp = (struct mt76_connac_fw_txp *)(txwi + MT_TXD_SIZE); in mt7915_tx_prepare_skb()
795 txp->buf[i] = cpu_to_le32(tx_info->buf[i + 1].addr); in mt7915_tx_prepare_skb()
796 txp->len[i] = cpu_to_le16(tx_info->buf[i + 1].len); in mt7915_tx_prepare_skb()
798 txp->nbuf = nbuf; in mt7915_tx_prepare_skb()
800 txp->flags = cpu_to_le16(MT_CT_INFO_APPLY_TXD | MT_CT_INFO_FROM_HOST); in mt7915_tx_prepare_skb()
803 txp->flags |= cpu_to_le16(MT_CT_INFO_NONE_CIPHER_FRAME); in mt7915_tx_prepare_skb()
807 txp->flags |= cpu_to_le16(MT_CT_INFO_MGMT_FRAME); in mt7915_tx_prepare_skb()
812 txp->bss_idx = mvif->mt76.idx; in mt7915_tx_prepare_skb()
815 txp->token = cpu_to_le16(id); in mt7915_tx_prepare_skb()
817 txp->rept_wds_wcid = cpu_to_le16(wcid->idx); in mt7915_tx_prepare_skb()
819 txp->rept_wds_wcid = cpu_to_le16(0x3ff); in mt7915_tx_prepare_skb()
833 struct mt76_connac_fw_txp *txp = ptr + MT_TXD_SIZE; in mt7915_wed_init_buf() local
835 struct mt76_connac_fw_txp *txp = (void *)((u8 *)ptr + MT_TXD_SIZE); in mt7915_wed_init_buf()
840 memset(ptr, 0, MT_TXD_SIZE + sizeof(*txp)); in mt7915_wed_init_buf()
850 txp->token = cpu_to_le16(token_id); in mt7915_wed_init_buf()
851 txp->nbuf = 1; in mt7915_wed_init_buf()
852 txp->buf[0] = cpu_to_le32(phys + MT_TXD_SIZE + sizeof(*txp)); in mt7915_wed_init_buf()
854 return MT_TXD_SIZE + sizeof(*txp); in mt7915_wed_init_buf()