Lines Matching full:mt76
13 struct mt792x_dev *dev = container_of(mdev, struct mt792x_dev, mt76); in mt7925e_tx_prepare_skb()
25 wcid = &dev->mt76.global_wcid; in mt7925e_tx_prepare_skb()
61 spin_lock_bh(&dev->mt76.token_lock); in mt7925_tx_token_put()
62 idr_for_each_entry(&dev->mt76.token, txwi, id) { in mt7925_tx_token_put()
64 dev->mt76.token_count--; in mt7925_tx_token_put()
66 spin_unlock_bh(&dev->mt76.token_lock); in mt7925_tx_token_put()
67 idr_destroy(&dev->mt76.token); in mt7925_tx_token_put()
84 wake_up(&dev->mt76.mcu.wait); in mt7925e_mac_reset()
85 skb_queue_purge(&dev->mt76.mcu.res_q); in mt7925e_mac_reset()
89 mt76_worker_disable(&dev->mt76.tx_worker); in mt7925e_mac_reset()
91 napi_disable(&dev->mt76.napi[MT_RXQ_MAIN]); in mt7925e_mac_reset()
93 napi_disable(&dev->mt76.napi[MT_RXQ_MCU]); in mt7925e_mac_reset()
95 napi_disable(&dev->mt76.napi[MT_RXQ_MCU_WA]); in mt7925e_mac_reset()
97 napi_disable(&dev->mt76.tx_napi); in mt7925e_mac_reset()
100 idr_init(&dev->mt76.token); in mt7925e_mac_reset()
104 mt76_for_each_q_rx(&dev->mt76, i) { in mt7925e_mac_reset()
105 napi_enable(&dev->mt76.napi[i]); in mt7925e_mac_reset()
107 napi_enable(&dev->mt76.tx_napi); in mt7925e_mac_reset()
110 mt76_for_each_q_rx(&dev->mt76, i) { in mt7925e_mac_reset()
111 napi_schedule(&dev->mt76.napi[i]); in mt7925e_mac_reset()
113 napi_schedule(&dev->mt76.tx_napi); in mt7925e_mac_reset()
148 mt76_worker_enable(&dev->mt76.tx_worker); in mt7925e_mac_reset()