Lines Matching full:phy2

1108 	struct mt76_phy *phy2 = mdev->phys[MT_BAND1];  in mt7996_mac_tx_free()  local
1126 if (phy2) { in mt7996_mac_tx_free()
1127 mt76_queue_tx_cleanup(dev, phy2->q_tx[MT_TXQ_PSD], false); in mt7996_mac_tx_free()
1128 mt76_queue_tx_cleanup(dev, phy2->q_tx[MT_TXQ_BE], false); in mt7996_mac_tx_free()
1513 struct mt7996_phy *phy2 = mt7996_phy2(dev); in mt7996_mac_set_coverage_class() local
1526 if (phy2) in mt7996_mac_set_coverage_class()
1528 phy2->coverage_class); in mt7996_mac_set_coverage_class()
1622 struct mt76_phy *phy2, *phy3; in mt7996_update_beacons() local
1628 phy2 = dev->mt76.phys[MT_BAND1]; in mt7996_update_beacons()
1629 if (!phy2) in mt7996_update_beacons()
1632 ieee80211_iterate_active_interfaces(phy2->hw, in mt7996_update_beacons()
1634 mt7996_update_vif_beacon, phy2->hw); in mt7996_update_beacons()
1662 struct mt7996_phy *phy2, *phy3; in mt7996_mac_restart() local
1666 phy2 = mt7996_phy2(dev); in mt7996_mac_restart()
1683 if (phy2) in mt7996_mac_restart()
1684 set_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_restart()
1690 if (phy2) in mt7996_mac_restart()
1691 mt76_txq_schedule_all(phy2->mt76); in mt7996_mac_restart()
1752 mt7996_init_txpower(phy2); in mt7996_mac_restart()
1762 if (phy2 && test_bit(MT76_STATE_RUNNING, &phy2->mt76->state)) { in mt7996_mac_restart()
1763 ret = mt7996_run(phy2); in mt7996_mac_restart()
1777 if (phy2) in mt7996_mac_restart()
1778 clear_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_restart()
1794 struct mt7996_phy *phy2, *phy3; in mt7996_mac_full_reset() local
1797 phy2 = mt7996_phy2(dev); in mt7996_mac_full_reset()
1803 if (phy2) in mt7996_mac_full_reset()
1804 ieee80211_stop_queues(phy2->mt76->hw); in mt7996_mac_full_reset()
1810 if (phy2) in mt7996_mac_full_reset()
1811 cancel_delayed_work_sync(&phy2->mt76->mac_work); in mt7996_mac_full_reset()
1826 if (phy2) in mt7996_mac_full_reset()
1827 ieee80211_restart_hw(phy2->mt76->hw); in mt7996_mac_full_reset()
1832 if (phy2) in mt7996_mac_full_reset()
1833 ieee80211_wake_queues(phy2->mt76->hw); in mt7996_mac_full_reset()
1841 if (phy2) in mt7996_mac_full_reset()
1842 ieee80211_queue_delayed_work(phy2->mt76->hw, in mt7996_mac_full_reset()
1843 &phy2->mt76->mac_work, in mt7996_mac_full_reset()
1853 struct mt7996_phy *phy2, *phy3; in mt7996_mac_reset_work() local
1858 phy2 = mt7996_phy2(dev); in mt7996_mac_reset_work()
1899 if (phy2) in mt7996_mac_reset_work()
1900 ieee80211_stop_queues(phy2->mt76->hw); in mt7996_mac_reset_work()
1910 if (phy2) { in mt7996_mac_reset_work()
1911 set_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_reset_work()
1912 cancel_delayed_work_sync(&phy2->mt76->mac_work); in mt7996_mac_reset_work()
1971 if (phy2) in mt7996_mac_reset_work()
1972 clear_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_reset_work()
1997 if (phy2) in mt7996_mac_reset_work()
1998 ieee80211_wake_queues(phy2->mt76->hw); in mt7996_mac_reset_work()
2008 if (phy2) in mt7996_mac_reset_work()
2009 ieee80211_queue_delayed_work(phy2->mt76->hw, in mt7996_mac_reset_work()
2010 &phy2->mt76->mac_work, in mt7996_mac_reset_work()