Lines Matching full:mphy
226 struct mt76_phy *mphy = phy->mt76; in __mt7921_start() local
229 err = mt76_connac_mcu_set_mac_enable(mphy->dev, 0, true, false); in __mt7921_start()
233 err = mt76_connac_mcu_set_channel_domain(mphy); in __mt7921_start()
241 err = mt7921_set_tx_sar_pwr(mphy->hw, NULL); in __mt7921_start()
246 set_bit(MT76_STATE_RUNNING, &mphy->state); in __mt7921_start()
248 ieee80211_queue_delayed_work(mphy->hw, &mphy->mac_work, in __mt7921_start()
250 if (mt76_is_mmio(mphy->dev)) { in __mt7921_start()
262 wiphy_rfkill_start_polling(mphy->hw->wiphy); in __mt7921_start()
320 ret = mt76_connac_mcu_uni_add_dev(&dev->mphy, &vif->bss_conf, in mt7921_add_interface()
470 int mt7921_set_channel(struct mt76_phy *mphy) in mt7921_set_channel() argument
472 struct mt792x_phy *phy = mphy->priv; in mt7921_set_channel()
476 mt76_connac_pm_wake(mphy, &dev->pm); in mt7921_set_channel()
486 mt76_connac_power_save_sched(mphy, &dev->pm); in mt7921_set_channel()
488 ieee80211_queue_delayed_work(mphy->hw, &mphy->mac_work, in mt7921_set_channel()
821 ret = mt76_connac_pm_wake(&dev->mphy, &dev->pm); in mt7921_mac_sta_add()
838 mt76_connac_power_save_sched(&dev->mphy, &dev->pm); in mt7921_mac_sta_add()
857 mt76_connac_mcu_uni_add_bss(&dev->mphy, vif, &mvif->sta.deflink.wcid, in mt7921_mac_sta_event()
882 mt76_connac_pm_wake(&dev->mphy, &dev->pm); in mt7921_mac_sta_remove()
894 mt76_connac_mcu_uni_add_bss(&dev->mphy, vif, in mt7921_mac_sta_remove()
906 mt76_connac_power_save_sched(&dev->mphy, &dev->pm); in mt7921_mac_sta_remove()
1034 struct mt76_phy *mphy = hw->priv; in mt7921_hw_scan() local
1038 err = mt76_connac_mcu_hw_scan(mphy, vif, req); in mt7921_hw_scan()
1048 struct mt76_phy *mphy = hw->priv; in mt7921_cancel_hw_scan() local
1051 mt76_connac_mcu_cancel_hw_scan(mphy, vif); in mt7921_cancel_hw_scan()
1061 struct mt76_phy *mphy = hw->priv; in mt7921_start_sched_scan() local
1066 err = mt76_connac_mcu_sched_scan_req(mphy, vif, req); in mt7921_start_sched_scan()
1070 err = mt76_connac_mcu_sched_scan_enable(mphy, vif, true); in mt7921_start_sched_scan()
1081 struct mt76_phy *mphy = hw->priv; in mt7921_stop_sched_scan() local
1085 err = mt76_connac_mcu_sched_scan_enable(mphy, vif, false); in mt7921_stop_sched_scan()
1137 &dev->mphy); in mt7921_suspend()
1155 &dev->mphy); in mt7921_resume()
1264 struct mt76_phy *mphy = hw->priv; in mt7921_set_tx_sar_pwr() local
1274 return mt76_connac_mcu_set_rate_txpower(mphy); in mt7921_set_tx_sar_pwr()