Lines Matching full:mt76

65 	struct mt7615_dev *dev = container_of(mdev, struct mt7615_dev, mt76);  in mt7615_tx_prepare_skb()
76 wcid = &dev->mt76.global_wcid; in mt7615_tx_prepare_skb()
85 spin_lock_bh(&dev->mt76.lock); in mt7615_tx_prepare_skb()
88 spin_unlock_bh(&dev->mt76.lock); in mt7615_tx_prepare_skb()
104 if (is_mt7615(&dev->mt76)) in mt7615_tx_prepare_skb()
128 mt76_queue_tx_cleanup(dev, dev->mt76.q_mcu[i], true); in mt7615_dma_reset()
130 mt76_for_each_q_rx(&dev->mt76, i) in mt7615_dma_reset()
133 mt76_tx_status_check(&dev->mt76, true); in mt7615_dma_reset()
144 if (is_mt7663(&dev->mt76)) in mt7615_hif_int_event_trigger()
186 struct mt76_phy *mphy_ext = dev->mt76.phys[MT_BAND1]; in mt7615_update_beacons()
188 ieee80211_iterate_active_interfaces(dev->mt76.hw, in mt7615_update_beacons()
190 mt7615_update_vif_beacon, dev->mt76.hw); in mt7615_update_beacons()
209 ext_phy = dev->mt76.phys[MT_BAND1]; in mt7615_mac_reset_work()
221 wake_up(&dev->mt76.mcu.wait); in mt7615_mac_reset_work()
226 set_bit(MT76_RESET, &phy2->mt76->state); in mt7615_mac_reset_work()
227 cancel_delayed_work_sync(&phy2->mt76->mac_work); in mt7615_mac_reset_work()
237 mt76_worker_disable(&dev->mt76.tx_worker); in mt7615_mac_reset_work()
238 mt76_for_each_q_rx(&dev->mt76, i) in mt7615_mac_reset_work()
239 napi_disable(&dev->mt76.napi[i]); in mt7615_mac_reset_work()
240 napi_disable(&dev->mt76.tx_napi); in mt7615_mac_reset_work()
250 idr_init(&dev->mt76.token); in mt7615_mac_reset_work()
261 clear_bit(MT76_RESET, &phy2->mt76->state); in mt7615_mac_reset_work()
263 mt76_worker_enable(&dev->mt76.tx_worker); in mt7615_mac_reset_work()
266 napi_enable(&dev->mt76.tx_napi); in mt7615_mac_reset_work()
267 napi_schedule(&dev->mt76.tx_napi); in mt7615_mac_reset_work()
269 mt76_for_each_q_rx(&dev->mt76, i) { in mt7615_mac_reset_work()
270 napi_enable(&dev->mt76.napi[i]); in mt7615_mac_reset_work()
271 napi_schedule(&dev->mt76.napi[i]); in mt7615_mac_reset_work()
291 &phy2->mt76->mac_work, timeout); in mt7615_mac_reset_work()