| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt7615/ |
| H A D | pci_mac.c | 82 if (phy_idx && mdev->phys[MT_BAND1]) in mt7615_tx_prepare_skb() 83 phy = mdev->phys[MT_BAND1]->priv; in mt7615_tx_prepare_skb() 186 struct mt76_phy *mphy_ext = dev->mt76.phys[MT_BAND1]; in mt7615_update_beacons() 209 ext_phy = dev->mt76.phys[MT_BAND1]; in mt7615_mac_reset_work()
|
| H A D | mac.c | 359 phy2 = dev->mt76.phys[MT_BAND1] ? dev->mt76.phys[MT_BAND1]->priv : NULL; in mt7615_mac_fill_rx() 501 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mac_fill_rx() 745 if (phy_idx && dev->mt76.phys[MT_BAND1]) in mt7615_mac_write_txwi() 746 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mac_write_txwi() 1374 if (sta->wcid.phy_idx && dev->mt76.phys[MT_BAND1]) in mt7615_fill_txs() 1375 phy = dev->mt76.phys[MT_BAND1]->priv; in mt7615_fill_txs() 1417 if (sta->wcid.phy_idx && dev->mt76.phys[MT_BAND1]) in mt7615_fill_txs() 1418 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_fill_txs() 1521 if (wcid->phy_idx && dev->mt76.phys[MT_BAND1]) in mt7615_mac_add_txs() 1522 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mac_add_txs() [all …]
|
| H A D | mcu.c | 372 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_rx_csa_notify() 391 if (r->band_idx && dev->mt76.phys[MT_BAND1]) in mt7615_mcu_rx_radar_detected() 392 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_rx_radar_detected() 452 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_scan_event() 478 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_roc_event() 502 if (band_idx && dev->mt76.phys[MT_BAND1]) in mt7615_mcu_beacon_loss_event() 503 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_beacon_loss_event() 523 if (band_idx && dev->mt76.phys[MT_BAND1]) in mt7615_mcu_bss_event() 524 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_bss_event() 2325 .dbdc_en = !!dev->mt76.phys[MT_BAND1], in mt7615_mcu_apply_rx_dcoc() [all …]
|
| H A D | init.c | 544 mphy = mt76_alloc_phy(&dev->mt76, sizeof(*phy), &mt7615_ops, MT_BAND1); in mt7615_register_ext_phy() 600 struct mt76_phy *mphy = dev->mt76.phys[MT_BAND1]; in mt7615_unregister_ext_phy()
|
| H A D | mt7615.h | 343 struct mt76_phy *phy = dev->mt76.phys[MT_BAND1]; in mt7615_ext_phy()
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt7996/ |
| H A D | dma.c | 258 if (mt7996_band_valid(dev, MT_BAND1)) in mt7996_dma_start() 404 if (mt7996_band_valid(dev, MT_BAND1)) { in mt7996_dma_rro_init() 564 } else if (mt7996_band_valid(dev, MT_BAND1)) { in mt7996_dma_init() 655 struct mt76_phy *phy2 = dev->mt76.phys[MT_BAND1]; in mt7996_dma_reset()
|
| H A D | eeprom.c | 63 case MT_BAND1: in mt7996_eeprom_parse_stream() 252 case MT_BAND1: in mt7996_eeprom_parse_band_config()
|
| H A D | mt7996.h | 452 return __mt7996_phy(dev, MT_BAND1); in mt7996_phy2() 465 return band <= MT_BAND1; in mt7996_band_valid() 661 return min(MT7996_MAX_INTERFACES * (1 + mt7996_band_valid(dev, MT_BAND1) + in mt7996_max_interface_num()
|
| H A D | init.c | 274 if (mphy->band_idx == MT_BAND1) in mt7996_led_set_config() 604 if (mt7996_band_valid(dev, MT_BAND1) || in mt7996_txbf_init() 1003 mt76_rmw(dev, MT_AFE_CTL_BAND_PLL_03(MT_BAND1), MT_AFE_CTL_BAND_PLL_03_MSB_EN, 0); in mt7996_init_hardware() 1495 ret = mt7996_register_phy(dev, MT_BAND1); in mt7996_register_device()
|
| H A D | mac.c | 1172 struct mt76_phy *phy2 = mdev->phys[MT_BAND1]; in mt7996_mac_tx_free() 1684 phy2 = dev->mt76.phys[MT_BAND1]; in mt7996_update_beacons()
|
| H A D | mcu.c | 3173 num = 2 + 2 * (mt7996_band_valid(dev, MT_BAND1) + in mt7996_mcu_init_rx_airtime()
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/ |
| H A D | mt76_connac_mac.c | 518 if (phy_idx && dev->phys[MT_BAND1]) in mt76_connac2_mac_write_txwi() 519 mphy = dev->phys[MT_BAND1]; in mt76_connac2_mac_write_txwi() 667 if (wcid->phy_idx == MT_BAND1 && dev->phys[MT_BAND1]) in mt76_connac2_mac_fill_txs() 668 mphy = dev->phys[MT_BAND1]; in mt76_connac2_mac_fill_txs()
|
| H A D | mt76.h | 137 MT_BAND1, enumerator 1286 if ((phy_idx == MT_BAND1 && dev->phys[phy_idx]) || in mt76_dev_phy()
|
| H A D | tx.c | 828 phy = dev->phys[MT_BAND1]; in __mt76_set_tx_blocked()
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt7915/ |
| H A D | mac.c | 308 mphy = dev->mt76.phys[MT_BAND1]; in mt7915_mac_fill_rx() 735 if (phy_idx && dev->phys[MT_BAND1]) in mt7915_mac_write_txwi() 736 mphy = dev->phys[MT_BAND1]; in mt7915_mac_write_txwi() 852 struct mt76_phy *mphy_ext = mdev->phys[MT_BAND1]; in mt7915_mac_tx_free_prepare() 1294 struct mt76_phy *mphy_ext = dev->mt76.phys[MT_BAND1]; in mt7915_update_beacons() 1316 ext_phy = dev->mt76.phys[MT_BAND1]; in mt7915_mac_restart() 1445 ext_phy = dev->mt76.phys[MT_BAND1]; in mt7915_mac_full_reset() 1500 ext_phy = dev->mt76.phys[MT_BAND1]; in mt7915_mac_reset_work()
|
| H A D | mcu.c | 267 if (c->band_idx > MT_BAND1) in mt7915_mcu_rx_csa_notify() 271 dev->mt76.phys[MT_BAND1]) in mt7915_mcu_rx_csa_notify() 272 mphy = dev->mt76.phys[MT_BAND1]; in mt7915_mcu_rx_csa_notify() 290 if (t->ctrl.band_idx > MT_BAND1) in mt7915_mcu_rx_thermal_notify() 294 dev->mt76.phys[MT_BAND1]) in mt7915_mcu_rx_thermal_notify() 295 mphy = dev->mt76.phys[MT_BAND1]; in mt7915_mcu_rx_thermal_notify() 313 dev->mt76.phys[MT_BAND1]) in mt7915_mcu_rx_radar_detected() 314 mphy = dev->mt76.phys[MT_BAND1]; in mt7915_mcu_rx_radar_detected() 370 if (b->band_idx > MT_BAND1) in mt7915_mcu_rx_bcc_notify() 374 dev->mt76.phys[MT_BAND1]) in mt7915_mcu_rx_bcc_notify() [all …]
|
| H A D | init.c | 669 mphy = mt76_alloc_phy(&dev->mt76, sizeof(*phy), &mt7915_ops, MT_BAND1); in mt7915_alloc_ext_phy() 1190 struct mt76_phy *mphy = dev->mt76.phys[MT_BAND1]; in mt7915_unregister_ext_phy()
|
| H A D | mt7915.h | 376 struct mt76_phy *phy = dev->mt76.phys[MT_BAND1]; in mt7915_ext_phy()
|
| H A D | dma.c | 592 struct mt76_phy *mphy_ext = dev->mt76.phys[MT_BAND1]; in mt7915_dma_reset()
|
| H A D | main.c | 801 struct mt76_phy *ext_phy = dev->mt76.phys[MT_BAND1]; in mt7915_drop_other_sta()
|