Lines Matching full:phy2

1172 	struct mt76_phy *phy2 = mdev->phys[MT_BAND1];  in mt7996_mac_tx_free()  local
1186 if (phy2) { in mt7996_mac_tx_free()
1187 mt76_queue_tx_cleanup(dev, phy2->q_tx[MT_TXQ_PSD], false); in mt7996_mac_tx_free()
1188 mt76_queue_tx_cleanup(dev, phy2->q_tx[MT_TXQ_BE], false); in mt7996_mac_tx_free()
1569 struct mt7996_phy *phy2 = mt7996_phy2(dev); in mt7996_mac_set_coverage_class() local
1582 if (phy2) in mt7996_mac_set_coverage_class()
1584 phy2->coverage_class); in mt7996_mac_set_coverage_class()
1678 struct mt76_phy *phy2, *phy3; in mt7996_update_beacons() local
1684 phy2 = dev->mt76.phys[MT_BAND1]; in mt7996_update_beacons()
1685 if (!phy2) in mt7996_update_beacons()
1688 ieee80211_iterate_active_interfaces(phy2->hw, in mt7996_update_beacons()
1690 mt7996_update_vif_beacon, phy2->hw); in mt7996_update_beacons()
1718 struct mt7996_phy *phy2, *phy3; in mt7996_mac_restart() local
1722 phy2 = mt7996_phy2(dev); in mt7996_mac_restart()
1739 if (phy2) in mt7996_mac_restart()
1740 set_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_restart()
1746 if (phy2) in mt7996_mac_restart()
1747 mt76_txq_schedule_all(phy2->mt76); in mt7996_mac_restart()
1808 mt7996_init_txpower(phy2); in mt7996_mac_restart()
1818 if (phy2 && test_bit(MT76_STATE_RUNNING, &phy2->mt76->state)) { in mt7996_mac_restart()
1819 ret = mt7996_run(phy2); in mt7996_mac_restart()
1833 if (phy2) in mt7996_mac_restart()
1834 clear_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_restart()
1850 struct mt7996_phy *phy2, *phy3; in mt7996_mac_full_reset() local
1853 phy2 = mt7996_phy2(dev); in mt7996_mac_full_reset()
1859 if (phy2) in mt7996_mac_full_reset()
1860 ieee80211_stop_queues(phy2->mt76->hw); in mt7996_mac_full_reset()
1866 if (phy2) in mt7996_mac_full_reset()
1867 cancel_delayed_work_sync(&phy2->mt76->mac_work); in mt7996_mac_full_reset()
1882 if (phy2) in mt7996_mac_full_reset()
1883 ieee80211_restart_hw(phy2->mt76->hw); in mt7996_mac_full_reset()
1888 if (phy2) in mt7996_mac_full_reset()
1889 ieee80211_wake_queues(phy2->mt76->hw); in mt7996_mac_full_reset()
1897 if (phy2) in mt7996_mac_full_reset()
1898 ieee80211_queue_delayed_work(phy2->mt76->hw, in mt7996_mac_full_reset()
1899 &phy2->mt76->mac_work, in mt7996_mac_full_reset()
1909 struct mt7996_phy *phy2, *phy3; in mt7996_mac_reset_work() local
1914 phy2 = mt7996_phy2(dev); in mt7996_mac_reset_work()
1955 if (phy2) in mt7996_mac_reset_work()
1956 ieee80211_stop_queues(phy2->mt76->hw); in mt7996_mac_reset_work()
1966 if (phy2) { in mt7996_mac_reset_work()
1967 set_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_reset_work()
1968 cancel_delayed_work_sync(&phy2->mt76->mac_work); in mt7996_mac_reset_work()
2027 if (phy2) in mt7996_mac_reset_work()
2028 clear_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_reset_work()
2053 if (phy2) in mt7996_mac_reset_work()
2054 ieee80211_wake_queues(phy2->mt76->hw); in mt7996_mac_reset_work()
2064 if (phy2) in mt7996_mac_reset_work()
2065 ieee80211_queue_delayed_work(phy2->mt76->hw, in mt7996_mac_reset_work()
2066 &phy2->mt76->mac_work, in mt7996_mac_reset_work()