Lines Matching refs:txwi
612 mt7915_mac_write_txwi_tm(struct mt7915_phy *phy, __le32 *txwi, in mt7915_mac_write_txwi_tm() argument
692 txwi[2] |= cpu_to_le32(MT_TXD2_FIX_RATE); in mt7915_mac_write_txwi_tm()
694 le32p_replace_bits(&txwi[3], 1, MT_TXD3_REM_TX_COUNT); in mt7915_mac_write_txwi_tm()
696 txwi[3] |= cpu_to_le32(MT_TXD3_BA_DISABLE); in mt7915_mac_write_txwi_tm()
719 txwi[3] &= ~cpu_to_le32(MT_TXD3_SN_VALID); in mt7915_mac_write_txwi_tm()
720 txwi[6] |= cpu_to_le32(val); in mt7915_mac_write_txwi_tm()
721 txwi[7] |= cpu_to_le32(FIELD_PREP(MT_TXD7_SPE_IDX, in mt7915_mac_write_txwi_tm()
726 void mt7915_mac_write_txwi(struct mt76_dev *dev, __le32 *txwi, in mt7915_mac_write_txwi() argument
738 mt76_connac2_mac_write_txwi(dev, txwi, skb, wcid, key, pid, qid, changed); in mt7915_mac_write_txwi()
741 mt7915_mac_write_txwi_tm(mphy->priv, txwi, skb); in mt7915_mac_write_txwi()
757 u8 *txwi = (u8 *)txwi_ptr; in mt7915_tx_prepare_skb() local
777 t = (struct mt76_txwi_cache *)(txwi + mdev->drv->txwi_size); in mt7915_tx_prepare_skb()
788 txp = (struct mt76_connac_fw_txp *)(txwi + MT_TXD_SIZE); in mt7915_tx_prepare_skb()
828 __le32 *txwi = ptr; in mt7915_wed_init_buf() local
835 txwi[0] = cpu_to_le32(val); in mt7915_wed_init_buf()
839 txwi[1] = cpu_to_le32(val); in mt7915_wed_init_buf()
849 mt7915_tx_check_aggr(struct ieee80211_sta *sta, __le32 *txwi) in mt7915_tx_check_aggr() argument
858 tid = le32_get_bits(txwi[1], MT_TXD1_TID); in mt7915_tx_check_aggr()
862 val = le32_to_cpu(txwi[2]); in mt7915_tx_check_aggr()
880 __le32 *txwi; in mt7915_txwi_free() local
887 txwi = (__le32 *)mt76_get_txwi_ptr(mdev, t); in mt7915_txwi_free()
892 wcid_idx = le32_get_bits(txwi[1], MT_TXD1_WLAN_IDX); in mt7915_txwi_free()
907 mt7915_tx_check_aggr(sta, txwi); in mt7915_txwi_free()
956 struct mt76_txwi_cache *txwi; in mt7915_mac_tx_free() local
1013 txwi = mt76_token_release(mdev, msdu, &wake); in mt7915_mac_tx_free()
1014 if (!txwi) in mt7915_mac_tx_free()
1017 mt7915_txwi_free(dev, txwi, sta, &free_list); in mt7915_mac_tx_free()
1042 struct mt76_txwi_cache *txwi; in mt7915_mac_tx_free_v0() local
1045 txwi = mt76_token_release(mdev, msdu, &wake); in mt7915_mac_tx_free_v0()
1046 if (!txwi) in mt7915_mac_tx_free_v0()
1049 mt7915_txwi_free(dev, txwi, NULL, &free_list); in mt7915_mac_tx_free_v0()
1366 struct mt76_txwi_cache *txwi; in mt7915_tx_token_put() local
1370 idr_for_each_entry(&dev->mt76.token, txwi, id) { in mt7915_tx_token_put()
1371 mt7915_txwi_free(dev, txwi, NULL, NULL); in mt7915_tx_token_put()