Lines Matching full:mphy
191 if (test_bit(MT76_STATE_MCU_RUNNING, &dev->mphy.state)) in mt7615_mcu_send_message()
247 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mcu_drv_pmctrl() local
276 clear_bit(MT76_STATE_PM, &mphy->state); in mt7615_mcu_drv_pmctrl()
287 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mcu_lp_drv_pmctrl() local
293 if (!test_bit(MT76_STATE_PM, &mphy->state)) in mt7615_mcu_lp_drv_pmctrl()
308 clear_bit(MT76_STATE_PM, &mphy->state); in mt7615_mcu_lp_drv_pmctrl()
321 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mcu_fw_pmctrl() local
328 if (mt76_connac_skip_fw_pmctrl(mphy, pm)) in mt7615_mcu_fw_pmctrl()
340 clear_bit(MT76_STATE_PM, &mphy->state); in mt7615_mcu_fw_pmctrl()
367 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mcu_rx_csa_notify() local
376 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_rx_csa_notify()
378 ieee80211_iterate_active_interfaces_atomic(mphy->hw, in mt7615_mcu_rx_csa_notify()
380 mt7615_mcu_csa_finish, mphy->hw); in mt7615_mcu_rx_csa_notify()
386 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mcu_rx_radar_detected() local
396 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_rx_radar_detected()
398 if (mt76_phy_dfs_state(mphy) < MT_DFS_STATE_CAC) in mt7615_mcu_rx_radar_detected()
401 ieee80211_radar_detected(mphy->hw, NULL); in mt7615_mcu_rx_radar_detected()
453 struct mt76_phy *mphy; in mt7615_mcu_scan_event() local
456 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_scan_event()
458 mphy = &dev->mt76.phy; in mt7615_mcu_scan_event()
460 phy = mphy->priv; in mt7615_mcu_scan_event()
466 ieee80211_queue_delayed_work(mphy->hw, &phy->scan_work, in mt7615_mcu_scan_event()
475 struct mt76_phy *mphy; in mt7615_mcu_roc_event() local
482 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_roc_event()
484 mphy = &dev->mt76.phy; in mt7615_mcu_roc_event()
486 ieee80211_ready_on_channel(mphy->hw); in mt7615_mcu_roc_event()
488 phy = mphy->priv; in mt7615_mcu_roc_event()
501 struct mt76_phy *mphy; in mt7615_mcu_beacon_loss_event() local
507 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_beacon_loss_event()
509 mphy = &dev->mt76.phy; in mt7615_mcu_beacon_loss_event()
511 ieee80211_iterate_active_interfaces_atomic(mphy->hw, in mt7615_mcu_beacon_loss_event()
521 struct mt76_phy *mphy; in mt7615_mcu_bss_event() local
528 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_bss_event()
530 mphy = &dev->mt76.phy; in mt7615_mcu_bss_event()
533 ieee80211_stop_queues(mphy->hw); in mt7615_mcu_bss_event()
535 ieee80211_wake_queues(mphy->hw); in mt7615_mcu_bss_event()
1729 set_bit(MT76_STATE_MCU_RUNNING, &dev->mphy.state); in mt7615_mcu_init()
2011 struct mt76_phy *mphy = phy->mt76; in mt7615_mcu_set_txpower_sku() local
2012 struct ieee80211_hw *hw = mphy->hw; in mt7615_mcu_set_txpower_sku()
2015 int n_chains = hweight8(mphy->antenna_mask); in mt7615_mcu_set_txpower_sku()
2073 tx_power = mt76_get_sar_power(mphy, mphy->chandef.chan, tx_power); in mt7615_mcu_set_txpower_sku()
2075 tx_power = mt76_get_rate_power_limits(mphy, mphy->chandef.chan, in mt7615_mcu_set_txpower_sku()
2077 mphy->txpower_cur = tx_power; in mt7615_mcu_set_txpower_sku()
2079 if (is_mt7663(mphy->dev)) { in mt7615_mcu_set_txpower_sku()