Lines Matching full:mt76
13 struct mt7921_dev *dev = container_of(mdev, struct mt7921_dev, mt76); in mt7921e_tx_prepare_skb()
25 wcid = &dev->mt76.global_wcid; in mt7921e_tx_prepare_skb()
61 spin_lock_bh(&dev->mt76.token_lock); in mt7921_tx_token_put()
62 idr_for_each_entry(&dev->mt76.token, txwi, id) { in mt7921_tx_token_put()
64 dev->mt76.token_count--; in mt7921_tx_token_put()
66 spin_unlock_bh(&dev->mt76.token_lock); in mt7921_tx_token_put()
67 idr_destroy(&dev->mt76.token); in mt7921_tx_token_put()
83 wake_up(&dev->mt76.mcu.wait); in mt7921e_mac_reset()
84 skb_queue_purge(&dev->mt76.mcu.res_q); in mt7921e_mac_reset()
88 mt76_worker_disable(&dev->mt76.tx_worker); in mt7921e_mac_reset()
89 napi_disable(&dev->mt76.napi[MT_RXQ_MAIN]); in mt7921e_mac_reset()
90 napi_disable(&dev->mt76.napi[MT_RXQ_MCU]); in mt7921e_mac_reset()
91 napi_disable(&dev->mt76.napi[MT_RXQ_MCU_WA]); in mt7921e_mac_reset()
92 napi_disable(&dev->mt76.tx_napi); in mt7921e_mac_reset()
95 idr_init(&dev->mt76.token); in mt7921e_mac_reset()
100 mt76_for_each_q_rx(&dev->mt76, i) { in mt7921e_mac_reset()
101 napi_enable(&dev->mt76.napi[i]); in mt7921e_mac_reset()
102 napi_schedule(&dev->mt76.napi[i]); in mt7921e_mac_reset()
135 napi_enable(&dev->mt76.tx_napi); in mt7921e_mac_reset()
136 napi_schedule(&dev->mt76.tx_napi); in mt7921e_mac_reset()
139 mt76_worker_enable(&dev->mt76.tx_worker); in mt7921e_mac_reset()