Lines Matching refs:mphy

178 	struct mt76_phy *mphy = phy->mt76;  in __mt7921_start()  local
181 err = mt76_connac_mcu_set_mac_enable(mphy->dev, 0, true, false); in __mt7921_start()
185 err = mt76_connac_mcu_set_channel_domain(mphy); in __mt7921_start()
198 set_bit(MT76_STATE_RUNNING, &mphy->state); in __mt7921_start()
200 ieee80211_queue_delayed_work(mphy->hw, &mphy->mac_work, in __mt7921_start()
261 ret = mt76_connac_mcu_uni_add_dev(&dev->mphy, vif, &mvif->sta.wcid, in mt7921_add_interface()
314 mt76_connac_mcu_uni_add_dev(&dev->mphy, vif, &mvif->sta.wcid, false); in mt7921_remove_interface()
629 ret = mt76_connac_pm_wake(&dev->mphy, &dev->pm); in mt7921_mac_sta_add()
644 mt76_connac_power_save_sched(&dev->mphy, &dev->pm); in mt7921_mac_sta_add()
659 mt76_connac_mcu_uni_add_bss(&dev->mphy, vif, &mvif->sta.wcid, in mt7921_mac_sta_assoc()
677 mt76_connac_pm_wake(&dev->mphy, &dev->pm); in mt7921_mac_sta_remove()
689 mt76_connac_mcu_uni_add_bss(&dev->mphy, vif, in mt7921_mac_sta_remove()
700 mt76_connac_power_save_sched(&dev->mphy, &dev->pm); in mt7921_mac_sta_remove()
708 if (!mt76_connac_pm_ref(&dev->mphy, &dev->pm)) { in mt7921_tx_worker()
713 mt76_txq_schedule_all(&dev->mphy); in mt7921_tx_worker()
714 mt76_connac_pm_unref(&dev->mphy, &dev->pm); in mt7921_tx_worker()
722 struct mt76_phy *mphy = hw->priv; in mt7921_tx() local
742 if (mt76_connac_pm_ref(mphy, &dev->pm)) { in mt7921_tx()
743 mt76_tx(mphy, control->sta, wcid, skb); in mt7921_tx()
744 mt76_connac_pm_unref(mphy, &dev->pm); in mt7921_tx()
962 struct mt76_phy *mphy = hw->priv; in mt7921_hw_scan() local
966 err = mt76_connac_mcu_hw_scan(mphy, vif, req); in mt7921_hw_scan()
976 struct mt76_phy *mphy = hw->priv; in mt7921_cancel_hw_scan() local
979 mt76_connac_mcu_cancel_hw_scan(mphy, vif); in mt7921_cancel_hw_scan()
989 struct mt76_phy *mphy = hw->priv; in mt7921_start_sched_scan() local
994 err = mt76_connac_mcu_sched_scan_req(mphy, vif, req); in mt7921_start_sched_scan()
998 err = mt76_connac_mcu_sched_scan_enable(mphy, vif, true); in mt7921_start_sched_scan()
1009 struct mt76_phy *mphy = hw->priv; in mt7921_stop_sched_scan() local
1013 err = mt76_connac_mcu_sched_scan_enable(mphy, vif, false); in mt7921_stop_sched_scan()
1092 &dev->mphy); in mt7921_suspend()
1118 &dev->mphy); in mt7921_resume()
1154 wait_event_timeout(dev->mt76.tx_wait, !mt76_has_tx_pending(&dev->mphy), in mt7921_flush()