Lines Matching full:mt76
35 struct mt76_sdio *sdio = &dev->mt76.sdio; in mt7921s_wfsys_reset()
58 readx_poll_timeout(mt7921s_read_whcr, &dev->mt76, status, in mt7921s_wfsys_reset()
78 wake_up(&dev->mt76.mcu.wait); in mt7921s_init_reset()
79 skb_queue_purge(&dev->mt76.mcu.res_q); in mt7921s_init_reset()
80 wait_event_timeout(dev->mt76.sdio.wait, in mt7921s_init_reset()
81 mt76s_txqs_empty(&dev->mt76), 5 * HZ); in mt7921s_init_reset()
82 mt76_worker_disable(&dev->mt76.sdio.txrx_worker); in mt7921s_init_reset()
84 mt7921s_disable_irq(&dev->mt76); in mt7921s_init_reset()
87 mt76_worker_enable(&dev->mt76.sdio.txrx_worker); in mt7921s_init_reset()
89 mt7921s_enable_irq(&dev->mt76); in mt7921s_init_reset()
100 mt76_worker_disable(&dev->mt76.tx_worker); in mt7921s_mac_reset()
103 wake_up(&dev->mt76.mcu.wait); in mt7921s_mac_reset()
104 skb_queue_purge(&dev->mt76.mcu.res_q); in mt7921s_mac_reset()
105 wait_event_timeout(dev->mt76.sdio.wait, in mt7921s_mac_reset()
106 mt76s_txqs_empty(&dev->mt76), 5 * HZ); in mt7921s_mac_reset()
107 mt76_worker_disable(&dev->mt76.sdio.txrx_worker); in mt7921s_mac_reset()
108 mt76_worker_disable(&dev->mt76.sdio.status_worker); in mt7921s_mac_reset()
109 mt76_worker_disable(&dev->mt76.sdio.net_worker); in mt7921s_mac_reset()
110 cancel_work_sync(&dev->mt76.sdio.stat_work); in mt7921s_mac_reset()
112 mt7921s_disable_irq(&dev->mt76); in mt7921s_mac_reset()
115 mt76_worker_enable(&dev->mt76.sdio.txrx_worker); in mt7921s_mac_reset()
116 mt76_worker_enable(&dev->mt76.sdio.status_worker); in mt7921s_mac_reset()
117 mt76_worker_enable(&dev->mt76.sdio.net_worker); in mt7921s_mac_reset()
121 mt7921s_enable_irq(&dev->mt76); in mt7921s_mac_reset()
139 mt76_worker_enable(&dev->mt76.tx_worker); in mt7921s_mac_reset()