Lines Matching refs:mt76_txwi_cache
41 static struct mt76_txwi_cache *
44 struct mt76_txwi_cache *t; in mt76_alloc_txwi()
56 t = (struct mt76_txwi_cache *)(txwi + dev->drv->txwi_size); in mt76_alloc_txwi()
62 static struct mt76_txwi_cache *
65 struct mt76_txwi_cache *t; in mt76_alloc_rxwi()
75 static struct mt76_txwi_cache *
78 struct mt76_txwi_cache *t = NULL; in __mt76_get_txwi()
82 t = list_first_entry(&dev->txwi_cache, struct mt76_txwi_cache, in __mt76_get_txwi()
91 static struct mt76_txwi_cache *
94 struct mt76_txwi_cache *t = NULL; in __mt76_get_rxwi()
98 t = list_first_entry(&dev->rxwi_cache, struct mt76_txwi_cache, in __mt76_get_rxwi()
107 static struct mt76_txwi_cache *
110 struct mt76_txwi_cache *t = __mt76_get_txwi(dev); in mt76_get_txwi()
118 struct mt76_txwi_cache *
121 struct mt76_txwi_cache *t = __mt76_get_rxwi(dev); in mt76_get_rxwi()
131 mt76_put_txwi(struct mt76_dev *dev, struct mt76_txwi_cache *t) in mt76_put_txwi()
143 mt76_put_rxwi(struct mt76_dev *dev, struct mt76_txwi_cache *t) in mt76_put_rxwi()
157 struct mt76_txwi_cache *t; in mt76_free_pending_txwi()
171 struct mt76_txwi_cache *t; in mt76_free_pending_rxwi()
215 struct mt76_txwi_cache *txwi = NULL; in mt76_dma_add_rx_buf()
407 struct mt76_txwi_cache *t = mt76_rx_token_release(dev, token); in mt76_dma_get_buf()
503 struct mt76_txwi_cache *t; in mt76_dma_tx_queue_skb()