Lines Matching full:mt76
116 val = mt7921u_uhw_rr(&dev->mt76, MT_SSUSB_EPCTL_CSR_EP_RST_OPT); in mt7921u_epctl_rst_opt()
121 mt7921u_uhw_wr(&dev->mt76, MT_SSUSB_EPCTL_CSR_EP_RST_OPT, val); in mt7921u_epctl_rst_opt()
158 val = mt7921u_uhw_rr(&dev->mt76, MT_CBTOP_RGU_WF_SUBSYS_RST); in mt7921u_wfsys_reset()
160 mt7921u_uhw_wr(&dev->mt76, MT_CBTOP_RGU_WF_SUBSYS_RST, val); in mt7921u_wfsys_reset()
164 val = mt7921u_uhw_rr(&dev->mt76, MT_CBTOP_RGU_WF_SUBSYS_RST); in mt7921u_wfsys_reset()
166 mt7921u_uhw_wr(&dev->mt76, MT_CBTOP_RGU_WF_SUBSYS_RST, val); in mt7921u_wfsys_reset()
168 mt7921u_uhw_wr(&dev->mt76, MT_UDMA_CONN_INFRA_STATUS_SEL, 0); in mt7921u_wfsys_reset()
170 val = mt7921u_uhw_rr(&dev->mt76, MT_UDMA_CONN_INFRA_STATUS); in mt7921u_wfsys_reset()
187 wake_up(&dev->mt76.mcu.wait); in mt7921u_init_reset()
188 skb_queue_purge(&dev->mt76.mcu.res_q); in mt7921u_init_reset()
190 mt76u_stop_rx(&dev->mt76); in mt7921u_init_reset()
191 mt76u_stop_tx(&dev->mt76); in mt7921u_init_reset()
197 return mt76u_resume_rx(&dev->mt76); in mt7921u_init_reset()
205 mt76_worker_disable(&dev->mt76.tx_worker); in mt7921u_mac_reset()
210 wake_up(&dev->mt76.mcu.wait); in mt7921u_mac_reset()
211 skb_queue_purge(&dev->mt76.mcu.res_q); in mt7921u_mac_reset()
213 mt76u_stop_rx(&dev->mt76); in mt7921u_mac_reset()
214 mt76u_stop_tx(&dev->mt76); in mt7921u_mac_reset()
219 err = mt76u_resume_rx(&dev->mt76); in mt7921u_mac_reset()
252 mt76_worker_enable(&dev->mt76.tx_worker); in mt7921u_mac_reset()