Lines Matching full:mt76
78 ret = mt76u_vendor_request(&dev->mt76, MT_VEND_POWER_ON, in mt792xu_mcu_power_on()
86 dev_err(dev->mt76.dev, "Timeout for power on\n"); in mt792xu_mcu_power_on()
98 skb_queue_purge(&dev->mt76.mcu.res_q); in mt792xu_cleanup()
99 mt76u_queues_deinit(&dev->mt76); in mt792xu_cleanup()
201 val = mt792xu_uhw_rr(&dev->mt76, MT_SSUSB_EPCTL_CSR_EP_RST_OPT); in mt792xu_epctl_rst_opt()
206 mt792xu_uhw_wr(&dev->mt76, MT_SSUSB_EPCTL_CSR_EP_RST_OPT, val); in mt792xu_epctl_rst_opt()
244 val = mt792xu_uhw_rr(&dev->mt76, MT_CBTOP_RGU_WF_SUBSYS_RST); in mt792xu_wfsys_reset()
246 mt792xu_uhw_wr(&dev->mt76, MT_CBTOP_RGU_WF_SUBSYS_RST, val); in mt792xu_wfsys_reset()
250 val = mt792xu_uhw_rr(&dev->mt76, MT_CBTOP_RGU_WF_SUBSYS_RST); in mt792xu_wfsys_reset()
252 mt792xu_uhw_wr(&dev->mt76, MT_CBTOP_RGU_WF_SUBSYS_RST, val); in mt792xu_wfsys_reset()
254 mt792xu_uhw_wr(&dev->mt76, MT_UDMA_CONN_INFRA_STATUS_SEL, 0); in mt792xu_wfsys_reset()
256 val = mt792xu_uhw_rr(&dev->mt76, MT_UDMA_CONN_INFRA_STATUS); in mt792xu_wfsys_reset()
274 wake_up(&dev->mt76.mcu.wait); in mt792xu_init_reset()
275 skb_queue_purge(&dev->mt76.mcu.res_q); in mt792xu_init_reset()
277 mt76u_stop_rx(&dev->mt76); in mt792xu_init_reset()
278 mt76u_stop_tx(&dev->mt76); in mt792xu_init_reset()
284 return mt76u_resume_rx(&dev->mt76); in mt792xu_init_reset()
292 mt76u_stop_tx(&dev->mt76); in mt792xu_stop()
305 mt76_unregister_device(&dev->mt76); in mt792xu_disconnect()
311 mt76_free_device(&dev->mt76); in mt792xu_disconnect()