Home
last modified time | relevance | path

Searched refs:MT_BAND1 (Results 1 – 20 of 20) sorted by relevance

/freebsd-head/sys/contrib/dev/mediatek/mt76/mt7615/
HDpci_mac.c85 if (phy_idx && mdev->phys[MT_BAND1]) in mt7615_tx_prepare_skb()
86 phy = mdev->phys[MT_BAND1]->priv; in mt7615_tx_prepare_skb()
189 struct mt76_phy *mphy_ext = dev->mt76.phys[MT_BAND1]; in mt7615_update_beacons()
212 ext_phy = dev->mt76.phys[MT_BAND1]; in mt7615_mac_reset_work()
HDmac.c362 phy2 = dev->mt76.phys[MT_BAND1] ? dev->mt76.phys[MT_BAND1]->priv : NULL; in mt7615_mac_fill_rx()
504 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mac_fill_rx()
748 if (phy_idx && dev->mt76.phys[MT_BAND1]) in mt7615_mac_write_txwi()
749 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mac_write_txwi()
1377 if (sta->wcid.phy_idx && dev->mt76.phys[MT_BAND1]) in mt7615_fill_txs()
1378 phy = dev->mt76.phys[MT_BAND1]->priv; in mt7615_fill_txs()
1420 if (sta->wcid.phy_idx && dev->mt76.phys[MT_BAND1]) in mt7615_fill_txs()
1421 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_fill_txs()
1524 if (wcid->phy_idx && dev->mt76.phys[MT_BAND1]) in mt7615_mac_add_txs()
1525 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mac_add_txs()
[all …]
HDmcu.c376 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_rx_csa_notify()
395 if (r->band_idx && dev->mt76.phys[MT_BAND1]) in mt7615_mcu_rx_radar_detected()
396 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_rx_radar_detected()
455 if (*seq_num & BIT(7) && dev->mt76.phys[MT_BAND1]) in mt7615_mcu_scan_event()
456 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_scan_event()
481 if (event->dbdc_band && dev->mt76.phys[MT_BAND1]) in mt7615_mcu_roc_event()
482 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_roc_event()
506 if (band_idx && dev->mt76.phys[MT_BAND1]) in mt7615_mcu_beacon_loss_event()
507 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mcu_beacon_loss_event()
527 if (band_idx && dev->mt76.phys[MT_BAND1]) in mt7615_mcu_bss_event()
[all …]
HDinit.c546 mphy = mt76_alloc_phy(&dev->mt76, sizeof(*phy), &mt7615_ops, MT_BAND1); in mt7615_register_ext_phy()
606 struct mt76_phy *mphy = dev->mt76.phys[MT_BAND1]; in mt7615_unregister_ext_phy()
HDmt7615.h343 struct mt76_phy *phy = dev->mt76.phys[MT_BAND1]; in mt7615_ext_phy()
/freebsd-head/sys/contrib/dev/mediatek/mt76/mt7996/
HDdma.c261 if (mt7996_band_valid(dev, MT_BAND1)) in mt7996_dma_start()
407 if (mt7996_band_valid(dev, MT_BAND1)) { in mt7996_dma_rro_init()
567 } else if (mt7996_band_valid(dev, MT_BAND1)) { in mt7996_dma_init()
658 struct mt76_phy *phy2 = dev->mt76.phys[MT_BAND1]; in mt7996_dma_reset()
HDeeprom.c63 case MT_BAND1: in mt7996_eeprom_parse_stream()
252 case MT_BAND1: in mt7996_eeprom_parse_band_config()
HDmt7996.h445 return __mt7996_phy(dev, MT_BAND1); in mt7996_phy2()
458 return band <= MT_BAND1; in mt7996_band_valid()
637 return min(MT7996_MAX_INTERFACES * (1 + mt7996_band_valid(dev, MT_BAND1) + in mt7996_max_interface_num()
HDinit.c279 if (mphy->band_idx == MT_BAND1) in mt7996_led_set_config()
615 if (mt7996_band_valid(dev, MT_BAND1) || in mt7996_txbf_init()
1024 mt76_rmw(dev, MT_AFE_CTL_BAND_PLL_03(MT_BAND1), MT_AFE_CTL_BAND_PLL_03_MSB_EN, 0); in mt7996_init_hardware()
1518 ret = mt7996_register_phy(dev, MT_BAND1); in mt7996_register_device()
HDmac.c1108 struct mt76_phy *phy2 = mdev->phys[MT_BAND1]; in mt7996_mac_tx_free()
1628 phy2 = dev->mt76.phys[MT_BAND1]; in mt7996_update_beacons()
HDmcu.c3080 num = 2 + 2 * (mt7996_band_valid(dev, MT_BAND1) + in mt7996_mcu_init_rx_airtime()
/freebsd-head/sys/contrib/dev/mediatek/mt76/
HDmt76_connac_mac.c518 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()
HDmt76.h145 MT_BAND1, enumerator
1288 if ((phy_idx == MT_BAND1 && dev->phys[phy_idx]) || in mt76_dev_phy()
HDtx.c827 phy = dev->phys[MT_BAND1]; in __mt76_set_tx_blocked()
/freebsd-head/sys/contrib/dev/mediatek/mt76/mt7915/
HDmac.c316 mphy = dev->mt76.phys[MT_BAND1]; in mt7915_mac_fill_rx()
743 if (phy_idx && dev->phys[MT_BAND1]) in mt7915_mac_write_txwi()
744 mphy = dev->phys[MT_BAND1]; in mt7915_mac_write_txwi()
864 struct mt76_phy *mphy_ext = mdev->phys[MT_BAND1]; in mt7915_mac_tx_free_prepare()
1328 struct mt76_phy *mphy_ext = dev->mt76.phys[MT_BAND1]; in mt7915_update_beacons()
1350 ext_phy = dev->mt76.phys[MT_BAND1]; in mt7915_mac_restart()
1479 ext_phy = dev->mt76.phys[MT_BAND1]; in mt7915_mac_full_reset()
1534 ext_phy = dev->mt76.phys[MT_BAND1]; in mt7915_mac_reset_work()
HDmcu.c267 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()
372 if (b->band_idx > MT_BAND1) in mt7915_mcu_rx_bcc_notify()
376 dev->mt76.phys[MT_BAND1]) in mt7915_mcu_rx_bcc_notify()
[all …]
HDinit.c686 mphy = mt76_alloc_phy(&dev->mt76, sizeof(*phy), &mt7915_ops, MT_BAND1); in mt7915_alloc_ext_phy()
1217 struct mt76_phy *mphy = dev->mt76.phys[MT_BAND1]; in mt7915_unregister_ext_phy()
HDmt7915.h379 struct mt76_phy *phy = dev->mt76.phys[MT_BAND1]; in mt7915_ext_phy()
HDdma.c592 struct mt76_phy *mphy_ext = dev->mt76.phys[MT_BAND1]; in mt7915_dma_reset()
HDmain.c801 struct mt76_phy *ext_phy = dev->mt76.phys[MT_BAND1]; in mt7915_drop_other_sta()