Lines Matching defs:mphy
12 struct mt76_phy *mphy;
14 mphy = (struct mt76_phy *)container_of(work, struct mt76_phy,
16 phy = mphy->priv;
20 mt76_update_survey(mphy);
21 if (++mphy->mac_work_count == 2) {
22 mphy->mac_work_count = 0;
29 mt76_tx_status_check(mphy->dev, false);
30 ieee80211_queue_delayed_work(phy->mt76->hw, &mphy->mac_work,
222 mt792x_phy_update_channel(struct mt76_phy *mphy, int idx)
224 struct mt792x_dev *dev = container_of(mphy->dev, struct mt792x_dev, mt76);
225 struct mt792x_phy *phy = mphy->priv;
245 state = mphy->chan_state;
253 void mt792x_update_channel(struct mt76_phy *mphy)
255 struct mt792x_dev *dev = container_of(mphy->dev, struct mt792x_dev, mt76);
257 if (mt76_connac_pm_wake(mphy, &dev->pm))
260 mt792x_phy_update_channel(mphy, 0);
263 mt76_connac_power_save_sched(mphy, &dev->pm);
317 struct mt76_phy *mphy;
321 mphy = dev->phy.mt76;
328 mt76_connac_pm_dequeue_skbs(mphy, &dev->pm);
335 mt76_connac_pm_dequeue_skbs(mphy, &dev->pm);
338 if (test_bit(MT76_STATE_RUNNING, &mphy->state))
339 ieee80211_queue_delayed_work(mphy->hw, &mphy->mac_work,
343 ieee80211_wake_queues(mphy->hw);
352 struct mt76_phy *mphy;
356 mphy = dev->phy.mt76;
359 if (test_bit(MT76_HW_SCANNING, &mphy->state) ||
360 test_bit(MT76_HW_SCHED_SCANNING, &mphy->state) ||
378 cancel_delayed_work_sync(&mphy->mac_work);