Home
last modified time | relevance | path

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

/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dpci_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()
H A Dmac.c359 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 Dmcu.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 …]
H A Dinit.c546 mphy = mt76_alloc_phy(&dev->mt76, sizeof(*phy), &mt7615_ops, MT_BAND1); in mt7615_register_ext_phy()
609 struct mt76_phy *mphy = dev->mt76.phys[MT_BAND1]; in mt7615_unregister_ext_phy()
H A Dmt7615.h344 struct mt76_phy *phy = dev->mt76.phys[MT_BAND1]; in mt7615_ext_phy()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Deeprom.c69 case MT_BAND1: in mt7996_eeprom_parse_stream()
258 case MT_BAND1: in mt7996_eeprom_parse_band_config()
398 mt7996_eeprom_parse_stream(eeprom, MT_BAND1, &path, &rx_path, &nss); in mt7996_eeprom_has_background_radar()
H A Ddma.c336 if (mt7996_band_valid(dev, MT_BAND1)) { in mt7996_dma_start()
559 if (mt7996_band_valid(dev, MT_BAND1) && is_mt7996(&dev->mt76)) { in mt7996_dma_rro_init()
784 } else if (mt7996_band_valid(dev, MT_BAND1)) { in mt7996_dma_init()
913 struct mt76_phy *phy2 = dev->mt76.phys[MT_BAND1]; in mt7996_dma_reset()
H A Dinit.c309 if (mphy->band_idx == MT_BAND1) in mt7996_led_set_config()
652 if (mt7996_band_valid(dev, MT_BAND1) || in mt7996_txbf_init()
681 (is_mt7992(&dev->mt76) && band == MT_BAND1))) { in mt7996_register_phy()
729 if (is_mt7996(&dev->mt76) && !dev->hif2 && band == MT_BAND1) { in mt7996_register_phy()
1221 mt76_rmw(dev, MT_AFE_CTL_BAND_PLL_03(MT_BAND1), MT_AFE_CTL_BAND_PLL_03_MSB_EN, 0); in mt7996_init_hardware()
1716 ret = mt7996_register_phy(dev, MT_BAND1); in mt7996_register_device()
H A Dmt7996.h568 return __mt7996_phy(dev, MT_BAND1); in mt7996_phy2()
581 return band <= MT_BAND1; in mt7996_band_valid()
757 return min(MT7996_MAX_INTERFACES * (1 + mt7996_band_valid(dev, MT_BAND1) + in mt7996_max_interface_num()
H A Dmac.c1325 struct mt76_phy *phy2 = mdev->phys[MT_BAND1]; in mt7996_mac_tx_free()
2250 phy2 = dev->mt76.phys[MT_BAND1]; in mt7996_update_beacons()
H A Dmain.c2193 (is_mt7992(&dev->mt76) && msta_link->wcid.phy_idx == MT_BAND1))) in mt7996_net_fill_forward_path()
H A Dmcu.c419 mphy = dev->mt76.phys[MT_BAND1]; in mt7996_mcu_rx_radar_detected()
3325 num = 2 + 2 * (mt7996_band_valid(dev, MT_BAND1) + in mt7996_mcu_init_rx_airtime()
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmt76_connac_mac.c521 if (phy_idx && dev->phys[MT_BAND1]) in mt76_connac2_mac_write_txwi()
522 mphy = dev->phys[MT_BAND1]; in mt76_connac2_mac_write_txwi()
671 if (wcid->phy_idx == MT_BAND1 && dev->phys[MT_BAND1]) in mt76_connac2_mac_fill_txs()
672 mphy = dev->phys[MT_BAND1]; in mt76_connac2_mac_fill_txs()
H A Dtx.c828 phy = dev->phys[MT_BAND1]; in __mt76_set_tx_blocked()
H A Dmt76.h164 MT_BAND1, enumerator
1378 if ((phy_idx == MT_BAND1 && dev->phys[phy_idx]) || in mt76_dev_phy()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dmac.c313 mphy = dev->mt76.phys[MT_BAND1]; in mt7915_mac_fill_rx()
740 if (phy_idx && dev->phys[MT_BAND1]) in mt7915_mac_write_txwi()
741 mphy = dev->phys[MT_BAND1]; in mt7915_mac_write_txwi()
861 struct mt76_phy *mphy_ext = mdev->phys[MT_BAND1]; in mt7915_mac_tx_free_prepare()
1322 struct mt76_phy *mphy_ext = dev->mt76.phys[MT_BAND1]; in mt7915_update_beacons()
1344 ext_phy = dev->mt76.phys[MT_BAND1]; in mt7915_mac_restart()
1473 ext_phy = dev->mt76.phys[MT_BAND1]; in mt7915_mac_full_reset()
1528 ext_phy = dev->mt76.phys[MT_BAND1]; in mt7915_mac_reset_work()
H A Dmcu.c276 if (c->band_idx > MT_BAND1) in mt7915_mcu_rx_csa_notify()
280 dev->mt76.phys[MT_BAND1]) in mt7915_mcu_rx_csa_notify()
281 mphy = dev->mt76.phys[MT_BAND1]; in mt7915_mcu_rx_csa_notify()
299 if (t->ctrl.band_idx > MT_BAND1) in mt7915_mcu_rx_thermal_notify()
303 dev->mt76.phys[MT_BAND1]) in mt7915_mcu_rx_thermal_notify()
304 mphy = dev->mt76.phys[MT_BAND1]; in mt7915_mcu_rx_thermal_notify()
328 mphy = dev->mt76.phys[MT_BAND1]; in mt7915_mcu_rx_radar_detected()
399 if (b->band_idx > MT_BAND1) in mt7915_mcu_rx_bcc_notify()
403 dev->mt76.phys[MT_BAND1]) in mt7915_mcu_rx_bcc_notify()
404 mphy = dev->mt76.phys[MT_BAND1]; in mt7915_mcu_rx_bcc_notify()
H A Dinit.c696 mphy = mt76_alloc_phy(&dev->mt76, sizeof(*phy), &mt7915_ops, MT_BAND1); in mt7915_alloc_ext_phy()
1228 struct mt76_phy *mphy = dev->mt76.phys[MT_BAND1]; in mt7915_unregister_ext_phy()
H A Dmt7915.h393 struct mt76_phy *phy = dev->mt76.phys[MT_BAND1]; in mt7915_ext_phy()
H A Ddma.c592 struct mt76_phy *mphy_ext = dev->mt76.phys[MT_BAND1]; in mt7915_dma_reset()
H A Dmain.c802 struct mt76_phy *ext_phy = dev->mt76.phys[MT_BAND1]; in mt7915_drop_other_sta()