Lines Matching full:phy2

1083 	struct mt76_phy *phy2 = mdev->phys[MT_BAND1];  in mt7996_mac_tx_free()  local
1097 if (phy2) { in mt7996_mac_tx_free()
1098 mt76_queue_tx_cleanup(dev, phy2->q_tx[MT_TXQ_PSD], false); in mt7996_mac_tx_free()
1099 mt76_queue_tx_cleanup(dev, phy2->q_tx[MT_TXQ_BE], false); in mt7996_mac_tx_free()
1484 struct mt7996_phy *phy2 = mt7996_phy2(dev); in mt7996_mac_set_coverage_class() local
1497 if (phy2) in mt7996_mac_set_coverage_class()
1499 phy2->coverage_class); in mt7996_mac_set_coverage_class()
1593 struct mt76_phy *phy2, *phy3; in mt7996_update_beacons() local
1599 phy2 = dev->mt76.phys[MT_BAND1]; in mt7996_update_beacons()
1600 if (!phy2) in mt7996_update_beacons()
1603 ieee80211_iterate_active_interfaces(phy2->hw, in mt7996_update_beacons()
1605 mt7996_update_vif_beacon, phy2->hw); in mt7996_update_beacons()
1633 struct mt7996_phy *phy2, *phy3; in mt7996_mac_restart() local
1637 phy2 = mt7996_phy2(dev); in mt7996_mac_restart()
1654 if (phy2) { in mt7996_mac_restart()
1655 set_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_restart()
1656 set_bit(MT76_MCU_RESET, &phy2->mt76->state); in mt7996_mac_restart()
1665 if (phy2) in mt7996_mac_restart()
1666 mt76_txq_schedule_all(phy2->mt76); in mt7996_mac_restart()
1727 mt7996_init_txpower(phy2); in mt7996_mac_restart()
1737 if (phy2 && test_bit(MT76_STATE_RUNNING, &phy2->mt76->state)) { in mt7996_mac_restart()
1738 ret = mt7996_run(phy2->mt76->hw); in mt7996_mac_restart()
1752 if (phy2) in mt7996_mac_restart()
1753 clear_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_restart()
1769 struct mt7996_phy *phy2, *phy3; in mt7996_mac_full_reset() local
1772 phy2 = mt7996_phy2(dev); in mt7996_mac_full_reset()
1778 if (phy2) in mt7996_mac_full_reset()
1779 ieee80211_stop_queues(phy2->mt76->hw); in mt7996_mac_full_reset()
1785 if (phy2) in mt7996_mac_full_reset()
1786 cancel_delayed_work_sync(&phy2->mt76->mac_work); in mt7996_mac_full_reset()
1801 if (phy2) in mt7996_mac_full_reset()
1802 ieee80211_restart_hw(phy2->mt76->hw); in mt7996_mac_full_reset()
1807 if (phy2) in mt7996_mac_full_reset()
1808 ieee80211_wake_queues(phy2->mt76->hw); in mt7996_mac_full_reset()
1816 if (phy2) in mt7996_mac_full_reset()
1817 ieee80211_queue_delayed_work(phy2->mt76->hw, in mt7996_mac_full_reset()
1818 &phy2->mt76->mac_work, in mt7996_mac_full_reset()
1828 struct mt7996_phy *phy2, *phy3; in mt7996_mac_reset_work() local
1833 phy2 = mt7996_phy2(dev); in mt7996_mac_reset_work()
1874 if (phy2) in mt7996_mac_reset_work()
1875 ieee80211_stop_queues(phy2->mt76->hw); in mt7996_mac_reset_work()
1885 if (phy2) { in mt7996_mac_reset_work()
1886 set_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_reset_work()
1887 cancel_delayed_work_sync(&phy2->mt76->mac_work); in mt7996_mac_reset_work()
1946 if (phy2) in mt7996_mac_reset_work()
1947 clear_bit(MT76_RESET, &phy2->mt76->state); in mt7996_mac_reset_work()
1972 if (phy2) in mt7996_mac_reset_work()
1973 ieee80211_wake_queues(phy2->mt76->hw); in mt7996_mac_reset_work()
1983 if (phy2) in mt7996_mac_reset_work()
1984 ieee80211_queue_delayed_work(phy2->mt76->hw, in mt7996_mac_reset_work()
1985 &phy2->mt76->mac_work, in mt7996_mac_reset_work()