Lines Matching refs:ext_phy
1204 struct mt7915_phy *ext_phy = mt7915_ext_phy(dev); in mt7915_mac_set_timing() local
1217 if (ext_phy) in mt7915_mac_set_timing()
1219 ext_phy->coverage_class); in mt7915_mac_set_timing()
1382 struct mt76_phy *ext_phy; in mt7915_mac_restart() local
1386 ext_phy = dev->mt76.phys[MT_BAND1]; in mt7915_mac_restart()
1387 phy2 = ext_phy ? ext_phy->priv : NULL; in mt7915_mac_restart()
1403 if (ext_phy) { in mt7915_mac_restart()
1404 set_bit(MT76_RESET, &ext_phy->state); in mt7915_mac_restart()
1405 set_bit(MT76_MCU_RESET, &ext_phy->state); in mt7915_mac_restart()
1410 if (ext_phy) in mt7915_mac_restart()
1411 mt76_txq_schedule_all(ext_phy); in mt7915_mac_restart()
1472 if (ext_phy && test_bit(MT76_STATE_RUNNING, &ext_phy->state)) { in mt7915_mac_restart()
1473 ret = mt7915_run(ext_phy->hw); in mt7915_mac_restart()
1497 struct mt76_phy *ext_phy; in mt7915_mac_full_reset() local
1500 ext_phy = dev->mt76.phys[MT_BAND1]; in mt7915_mac_full_reset()
1506 if (ext_phy) in mt7915_mac_full_reset()
1507 ieee80211_stop_queues(ext_phy->hw); in mt7915_mac_full_reset()
1510 if (ext_phy) in mt7915_mac_full_reset()
1511 cancel_delayed_work_sync(&ext_phy->mac_work); in mt7915_mac_full_reset()
1524 if (ext_phy) in mt7915_mac_full_reset()
1525 ieee80211_restart_hw(ext_phy->hw); in mt7915_mac_full_reset()
1528 if (ext_phy) in mt7915_mac_full_reset()
1529 ieee80211_wake_queues(ext_phy->hw); in mt7915_mac_full_reset()
1534 if (ext_phy) in mt7915_mac_full_reset()
1535 ieee80211_queue_delayed_work(ext_phy->hw, in mt7915_mac_full_reset()
1536 &ext_phy->mac_work, in mt7915_mac_full_reset()
1544 struct mt76_phy *ext_phy; in mt7915_mac_reset_work() local
1549 ext_phy = dev->mt76.phys[MT_BAND1]; in mt7915_mac_reset_work()
1550 phy2 = ext_phy ? ext_phy->priv : NULL; in mt7915_mac_reset_work()
1588 if (ext_phy) in mt7915_mac_reset_work()
1589 ieee80211_stop_queues(ext_phy->hw); in mt7915_mac_reset_work()
1643 if (ext_phy) in mt7915_mac_reset_work()
1644 ieee80211_wake_queues(ext_phy->hw); in mt7915_mac_reset_work()
1653 ieee80211_queue_delayed_work(ext_phy->hw, in mt7915_mac_reset_work()