Lines Matching full:phy2

1093 	struct mt76_phy *phy2 = mdev->phys[MT_BAND1];  in mt7996_mac_tx_free()  local
1107 if (phy2) { in mt7996_mac_tx_free()
1108 mt76_queue_tx_cleanup(dev, phy2->q_tx[MT_TXQ_PSD], false); in mt7996_mac_tx_free()
1109 mt76_queue_tx_cleanup(dev, phy2->q_tx[MT_TXQ_BE], false); in mt7996_mac_tx_free()
1497 struct mt7996_phy *phy2 = mt7996_phy2(dev); in mt7996_mac_set_coverage_class() local
1510 if (phy2) in mt7996_mac_set_coverage_class()
1512 phy2->coverage_class); in mt7996_mac_set_coverage_class()
1606 struct mt76_phy *phy2, *phy3; in mt7996_update_beacons() local
1612 phy2 = dev->mt76.phys[MT_BAND1]; in mt7996_update_beacons()
1613 if (!phy2) in mt7996_update_beacons()
1616 ieee80211_iterate_active_interfaces(phy2->hw, in mt7996_update_beacons()
1618 mt7996_update_vif_beacon, phy2->hw); in mt7996_update_beacons()
1646 struct mt7996_phy *phy2, *phy3; in mt7996_mac_restart() local
1650 phy2 = mt7996_phy2(dev); in mt7996_mac_restart()
1667 if (phy2) in mt7996_mac_restart()
1668 set_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_restart()
1674 if (phy2) in mt7996_mac_restart()
1675 mt76_txq_schedule_all(phy2->mt76); in mt7996_mac_restart()
1736 mt7996_init_txpower(phy2); in mt7996_mac_restart()
1746 if (phy2 && test_bit(MT76_STATE_RUNNING, &phy2->mt76->state)) { in mt7996_mac_restart()
1747 ret = mt7996_run(phy2->mt76->hw); in mt7996_mac_restart()
1761 if (phy2) in mt7996_mac_restart()
1762 clear_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_restart()
1778 struct mt7996_phy *phy2, *phy3; in mt7996_mac_full_reset() local
1781 phy2 = mt7996_phy2(dev); in mt7996_mac_full_reset()
1787 if (phy2) in mt7996_mac_full_reset()
1788 ieee80211_stop_queues(phy2->mt76->hw); in mt7996_mac_full_reset()
1794 if (phy2) in mt7996_mac_full_reset()
1795 cancel_delayed_work_sync(&phy2->mt76->mac_work); in mt7996_mac_full_reset()
1810 if (phy2) in mt7996_mac_full_reset()
1811 ieee80211_restart_hw(phy2->mt76->hw); in mt7996_mac_full_reset()
1816 if (phy2) in mt7996_mac_full_reset()
1817 ieee80211_wake_queues(phy2->mt76->hw); in mt7996_mac_full_reset()
1825 if (phy2) in mt7996_mac_full_reset()
1826 ieee80211_queue_delayed_work(phy2->mt76->hw, in mt7996_mac_full_reset()
1827 &phy2->mt76->mac_work, in mt7996_mac_full_reset()
1837 struct mt7996_phy *phy2, *phy3; in mt7996_mac_reset_work() local
1842 phy2 = mt7996_phy2(dev); in mt7996_mac_reset_work()
1883 if (phy2) in mt7996_mac_reset_work()
1884 ieee80211_stop_queues(phy2->mt76->hw); in mt7996_mac_reset_work()
1894 if (phy2) { in mt7996_mac_reset_work()
1895 set_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_reset_work()
1896 cancel_delayed_work_sync(&phy2->mt76->mac_work); in mt7996_mac_reset_work()
1955 if (phy2) in mt7996_mac_reset_work()
1956 clear_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_reset_work()
1981 if (phy2) in mt7996_mac_reset_work()
1982 ieee80211_wake_queues(phy2->mt76->hw); in mt7996_mac_reset_work()
1992 if (phy2) in mt7996_mac_reset_work()
1993 ieee80211_queue_delayed_work(phy2->mt76->hw, in mt7996_mac_reset_work()
1994 &phy2->mt76->mac_work, in mt7996_mac_reset_work()