Lines Matching full:phy2

1072 	struct mt76_phy *phy2 = mdev->phys[MT_BAND1];  in mt7996_mac_tx_free()  local
1089 if (phy2) { in mt7996_mac_tx_free()
1090 mt76_queue_tx_cleanup(dev, phy2->q_tx[MT_TXQ_PSD], false); in mt7996_mac_tx_free()
1091 mt76_queue_tx_cleanup(dev, phy2->q_tx[MT_TXQ_BE], false); in mt7996_mac_tx_free()
1453 struct mt7996_phy *phy2 = mt7996_phy2(dev); in mt7996_mac_set_coverage_class() local
1466 if (phy2) in mt7996_mac_set_coverage_class()
1468 phy2->coverage_class); in mt7996_mac_set_coverage_class()
1562 struct mt76_phy *phy2, *phy3; in mt7996_update_beacons() local
1568 phy2 = dev->mt76.phys[MT_BAND1]; in mt7996_update_beacons()
1569 if (!phy2) in mt7996_update_beacons()
1572 ieee80211_iterate_active_interfaces(phy2->hw, in mt7996_update_beacons()
1574 mt7996_update_vif_beacon, phy2->hw); in mt7996_update_beacons()
1602 struct mt7996_phy *phy2, *phy3; in mt7996_mac_restart() local
1606 phy2 = mt7996_phy2(dev); in mt7996_mac_restart()
1623 if (phy2) { in mt7996_mac_restart()
1624 set_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_restart()
1625 set_bit(MT76_MCU_RESET, &phy2->mt76->state); in mt7996_mac_restart()
1634 if (phy2) in mt7996_mac_restart()
1635 mt76_txq_schedule_all(phy2->mt76); in mt7996_mac_restart()
1698 if (phy2 && test_bit(MT76_STATE_RUNNING, &phy2->mt76->state)) { in mt7996_mac_restart()
1699 ret = mt7996_run(phy2->mt76->hw); in mt7996_mac_restart()
1713 if (phy2) in mt7996_mac_restart()
1714 clear_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_restart()
1730 struct mt7996_phy *phy2, *phy3; in mt7996_mac_full_reset() local
1733 phy2 = mt7996_phy2(dev); in mt7996_mac_full_reset()
1739 if (phy2) in mt7996_mac_full_reset()
1740 ieee80211_stop_queues(phy2->mt76->hw); in mt7996_mac_full_reset()
1745 if (phy2) in mt7996_mac_full_reset()
1746 cancel_delayed_work_sync(&phy2->mt76->mac_work); in mt7996_mac_full_reset()
1761 if (phy2) in mt7996_mac_full_reset()
1762 ieee80211_restart_hw(phy2->mt76->hw); in mt7996_mac_full_reset()
1767 if (phy2) in mt7996_mac_full_reset()
1768 ieee80211_wake_queues(phy2->mt76->hw); in mt7996_mac_full_reset()
1776 if (phy2) in mt7996_mac_full_reset()
1777 ieee80211_queue_delayed_work(phy2->mt76->hw, in mt7996_mac_full_reset()
1778 &phy2->mt76->mac_work, in mt7996_mac_full_reset()
1788 struct mt7996_phy *phy2, *phy3; in mt7996_mac_reset_work() local
1793 phy2 = mt7996_phy2(dev); in mt7996_mac_reset_work()
1827 if (phy2) in mt7996_mac_reset_work()
1828 ieee80211_stop_queues(phy2->mt76->hw); in mt7996_mac_reset_work()
1836 if (phy2) { in mt7996_mac_reset_work()
1837 set_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_reset_work()
1838 cancel_delayed_work_sync(&phy2->mt76->mac_work); in mt7996_mac_reset_work()
1871 if (phy2) in mt7996_mac_reset_work()
1872 clear_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_reset_work()
1893 if (phy2) in mt7996_mac_reset_work()
1894 ieee80211_wake_queues(phy2->mt76->hw); in mt7996_mac_reset_work()
1904 if (phy2) in mt7996_mac_reset_work()
1905 ieee80211_queue_delayed_work(phy2->mt76->hw, in mt7996_mac_reset_work()
1906 &phy2->mt76->mac_work, in mt7996_mac_reset_work()