Lines Matching full:phy2
1101 struct mt76_phy *phy2 = mdev->phys[MT_BAND1]; in mt7996_mac_tx_free() local
1115 if (phy2) { in mt7996_mac_tx_free()
1116 mt76_queue_tx_cleanup(dev, phy2->q_tx[MT_TXQ_PSD], false); in mt7996_mac_tx_free()
1117 mt76_queue_tx_cleanup(dev, phy2->q_tx[MT_TXQ_BE], false); in mt7996_mac_tx_free()
1498 struct mt7996_phy *phy2 = mt7996_phy2(dev); in mt7996_mac_set_coverage_class() local
1511 if (phy2) in mt7996_mac_set_coverage_class()
1513 phy2->coverage_class); in mt7996_mac_set_coverage_class()
1607 struct mt76_phy *phy2, *phy3; in mt7996_update_beacons() local
1613 phy2 = dev->mt76.phys[MT_BAND1]; in mt7996_update_beacons()
1614 if (!phy2) in mt7996_update_beacons()
1617 ieee80211_iterate_active_interfaces(phy2->hw, in mt7996_update_beacons()
1619 mt7996_update_vif_beacon, phy2->hw); in mt7996_update_beacons()
1647 struct mt7996_phy *phy2, *phy3; in mt7996_mac_restart() local
1651 phy2 = mt7996_phy2(dev); in mt7996_mac_restart()
1668 if (phy2) in mt7996_mac_restart()
1669 set_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_restart()
1675 if (phy2) in mt7996_mac_restart()
1676 mt76_txq_schedule_all(phy2->mt76); in mt7996_mac_restart()
1737 mt7996_init_txpower(phy2); in mt7996_mac_restart()
1747 if (phy2 && test_bit(MT76_STATE_RUNNING, &phy2->mt76->state)) { in mt7996_mac_restart()
1748 ret = mt7996_run(phy2); in mt7996_mac_restart()
1762 if (phy2) in mt7996_mac_restart()
1763 clear_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_restart()
1779 struct mt7996_phy *phy2, *phy3; in mt7996_mac_full_reset() local
1782 phy2 = mt7996_phy2(dev); in mt7996_mac_full_reset()
1788 if (phy2) in mt7996_mac_full_reset()
1789 ieee80211_stop_queues(phy2->mt76->hw); in mt7996_mac_full_reset()
1795 if (phy2) in mt7996_mac_full_reset()
1796 cancel_delayed_work_sync(&phy2->mt76->mac_work); in mt7996_mac_full_reset()
1811 if (phy2) in mt7996_mac_full_reset()
1812 ieee80211_restart_hw(phy2->mt76->hw); in mt7996_mac_full_reset()
1817 if (phy2) in mt7996_mac_full_reset()
1818 ieee80211_wake_queues(phy2->mt76->hw); in mt7996_mac_full_reset()
1826 if (phy2) in mt7996_mac_full_reset()
1827 ieee80211_queue_delayed_work(phy2->mt76->hw, in mt7996_mac_full_reset()
1828 &phy2->mt76->mac_work, in mt7996_mac_full_reset()
1838 struct mt7996_phy *phy2, *phy3; in mt7996_mac_reset_work() local
1843 phy2 = mt7996_phy2(dev); in mt7996_mac_reset_work()
1884 if (phy2) in mt7996_mac_reset_work()
1885 ieee80211_stop_queues(phy2->mt76->hw); in mt7996_mac_reset_work()
1895 if (phy2) { in mt7996_mac_reset_work()
1896 set_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_reset_work()
1897 cancel_delayed_work_sync(&phy2->mt76->mac_work); in mt7996_mac_reset_work()
1956 if (phy2) in mt7996_mac_reset_work()
1957 clear_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_reset_work()
1982 if (phy2) in mt7996_mac_reset_work()
1983 ieee80211_wake_queues(phy2->mt76->hw); in mt7996_mac_reset_work()
1993 if (phy2) in mt7996_mac_reset_work()
1994 ieee80211_queue_delayed_work(phy2->mt76->hw, in mt7996_mac_reset_work()
1995 &phy2->mt76->mac_work, in mt7996_mac_reset_work()