Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt7615/
Dpci_mac.c203 struct mt76_phy *ext_phy; in mt7615_mac_reset_work() local
209 ext_phy = dev->mt76.phys[MT_BAND1]; in mt7615_mac_reset_work()
210 phy2 = ext_phy ? ext_phy->priv : NULL; in mt7615_mac_reset_work()
216 if (ext_phy) in mt7615_mac_reset_work()
217 ieee80211_stop_queues(ext_phy->hw); in mt7615_mac_reset_work()
234 if (ext_phy) in mt7615_mac_reset_work()
235 mt76_txq_schedule_all(ext_phy); in mt7615_mac_reset_work()
276 if (ext_phy) in mt7615_mac_reset_work()
277 ieee80211_wake_queues(ext_phy->hw); in mt7615_mac_reset_work()
290 ieee80211_queue_delayed_work(ext_phy->hw, in mt7615_mac_reset_work()
Dmac.c143 bool ext_phy = phy != &dev->phy; in mt7615_mac_set_timing() local
160 if (ext_phy) { in mt7615_mac_set_timing()
182 mt76_wr(dev, MT_TMAC_ICR(ext_phy), in mt7615_mac_set_timing()
193 mt76_rmw_field(dev, MT_AGG_ACR(ext_phy), MT_AGG_ACR_CFEND_RATE, val); in mt7615_mac_set_timing()
194 if (ext_phy) in mt7615_mac_set_timing()
1700 bool ext_phy = phy != &dev->phy; in mt7615_mac_set_sensitivity() local
1704 mt76_rmw(dev, MT7663_WF_PHY_MIN_PRI_PWR(ext_phy), in mt7615_mac_set_sensitivity()
1708 mt76_rmw(dev, MT7663_WF_PHY_RXTD_CCK_PD(ext_phy), in mt7615_mac_set_sensitivity()
1709 MT_WF_PHY_PD_CCK_MASK(ext_phy), in mt7615_mac_set_sensitivity()
1710 MT_WF_PHY_PD_CCK(ext_phy, val)); in mt7615_mac_set_sensitivity()
[all …]
Ddebugfs.c69 struct mt7615_phy *ext_phy; in mt7615_scs_set() local
75 ext_phy = mt7615_ext_phy(dev); in mt7615_scs_set()
76 if (ext_phy) in mt7615_scs_set()
77 mt7615_mac_set_scs(ext_phy, val); in mt7615_scs_set()
281 bool ext_phy = phy != &dev->phy; in mt7615_ampdu_stat_read_phy() local
295 seq_printf(file, "\nPhy %d\n", ext_phy); in mt7615_ampdu_stat_read_phy()
303 range = ext_phy ? ARRAY_SIZE(dev->mt76.aggr_stats) / 2 : 0; in mt7615_ampdu_stat_read_phy()
334 bool ext_phy = phy != &dev->phy; in mt7615_radio_read_phy() local
339 seq_printf(s, "Radio %d sensitivity: ofdm=%d cck=%d\n", ext_phy, in mt7615_radio_read_phy()
341 seq_printf(s, "Radio %d false CCA: ofdm=%d cck=%d\n", ext_phy, in mt7615_radio_read_phy()
Dmain.c186 bool ext_phy = phy != &dev->phy; in mt7615_add_interface() local
210 mvif->mt76.band_idx = ext_phy; in mt7615_add_interface()
212 if (ext_phy) in mt7615_add_interface()
288 bool ext_phy = phy != &dev->phy; in mt7615_set_channel() local
325 phy->chfreq = mt76_rr(dev, MT_CHFREQ(ext_phy)); in mt7615_set_channel()
975 bool ext_phy = phy != &dev->phy; in mt7615_set_antenna() local
986 if (ext_phy) { in mt7615_set_antenna()
Dmcu.c362 struct mt7615_phy *ext_phy = mt7615_ext_phy(dev); in mt7615_mcu_rx_csa_notify() local
371 if (ext_phy && ext_phy->omac_mask & BIT_ULL(c->omac_idx)) in mt7615_mcu_rx_csa_notify()
1822 struct mt7615_phy *ext_phy = mt7615_ext_phy(dev); in mt7615_mcu_set_dbdc() local
1835 .enable = !!ext_phy, in mt7615_mcu_set_dbdc()
1839 if (!ext_phy) in mt7615_mcu_set_dbdc()
1850 bool band = !!(ext_phy->omac_mask & BIT_ULL(i)); in mt7615_mcu_set_dbdc()
1856 bool band = !!(ext_phy->omac_mask & BIT_ULL(0x11 + i)); in mt7615_mcu_set_dbdc()
Dmt7615.h475 void mt7615_mac_enable_nf(struct mt7615_dev *dev, bool ext_phy);
/Linux-v6.1/drivers/net/mdio/
Dmdio-mux-bcm6368.c34 int ext_phy; member
48 if (md->ext_phy) in bcm6368_mdiomux_read()
69 if (md->ext_phy) in bcm6368_mdiomux_write()
84 md->ext_phy = desired_child; in bcm6368_mdiomux_switch_fn()
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/
Dutil.c67 int mt76_get_min_avg_rssi(struct mt76_dev *dev, bool ext_phy) in mt76_get_min_avg_rssi() argument
87 if (!!(phy_mask & 1) != ext_phy) in mt76_get_min_avg_rssi()
Dmt76.h1205 int mt76_get_min_avg_rssi(struct mt76_dev *dev, bool ext_phy);
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt7915/
Dmac.c1148 struct mt7915_phy *ext_phy = mt7915_ext_phy(dev); in mt7915_mac_set_timing() local
1160 if (ext_phy) in mt7915_mac_set_timing()
1162 ext_phy->coverage_class); in mt7915_mac_set_timing()
1193 void mt7915_mac_enable_nf(struct mt7915_dev *dev, bool ext_phy) in mt7915_mac_enable_nf() argument
1197 reg = is_mt7915(&dev->mt76) ? MT_WF_PHY_RXTD12(ext_phy) : in mt7915_mac_enable_nf()
1198 MT_WF_PHY_RXTD12_MT7916(ext_phy); in mt7915_mac_enable_nf()
1203 reg = is_mt7915(&dev->mt76) ? MT_WF_PHY_RX_CTRL1(ext_phy) : in mt7915_mac_enable_nf()
1204 MT_WF_PHY_RX_CTRL1_MT7916(ext_phy); in mt7915_mac_enable_nf()
1383 struct mt76_phy *ext_phy; in mt7915_mac_reset_work() local
1388 ext_phy = dev->mt76.phys[MT_BAND1]; in mt7915_mac_reset_work()
[all …]
Deeprom.c178 bool ext_phy = phy != &dev->phy; in mt7915_eeprom_parse_hw_cap() local
222 nss, nss_band, phy->band_idx, ext_phy); in mt7915_eeprom_parse_hw_cap()
227 if (ext_phy) in mt7915_eeprom_parse_hw_cap()
Ddebugfs.c54 bool ext_phy = phy != &dev->phy; in mt7915_fw_ser_set() local
76 ret = mt7915_mcu_set_ser(dev, 0, 0, ext_phy); in mt7915_fw_ser_set()
84 ret = mt7915_mcu_set_ser(dev, SER_ENABLE, BIT(val), ext_phy); in mt7915_fw_ser_set()
88 ret = mt7915_mcu_set_ser(dev, SER_RECOVER, val, ext_phy); in mt7915_fw_ser_set()
641 bool ext_phy = phy != &dev->phy; in mt7915_ampdu_stat_read_phy() local
651 seq_printf(file, "\nPhy %d, Phy band %d\n", ext_phy, phy->band_idx); in mt7915_ampdu_stat_read_phy()
999 bool ext_phy = phy != &dev->phy; in mt7915_init_debugfs() local
1038 if (!ext_phy) in mt7915_init_debugfs()
Dmain.c188 bool ext_phy = phy != &dev->phy; in mt7915_add_interface() local
215 if (ext_phy) in mt7915_add_interface()
230 mvif->sta.wcid.phy_idx = ext_phy; in mt7915_add_interface()
652 bool ext_phy = mvif->phy != &dev->phy; in mt7915_mac_sta_add() local
664 msta->wcid.phy_idx = ext_phy; in mt7915_mac_sta_add()
956 bool ext_phy = phy != &dev->phy; in mt7915_set_antenna() local
968 if (ext_phy) in mt7915_set_antenna()
Dmt7915.h549 void mt7915_mac_enable_nf(struct mt7915_dev *dev, bool ext_phy);
Dmcu.c1916 bool ext_phy = phy != &dev->phy; in mt7915_mcu_beacon_inband_discov() local
1937 info->hw_queue |= FIELD_PREP(MT_TX_HW_QUEUE_PHY, ext_phy); in mt7915_mcu_beacon_inband_discov()
1979 bool ext_phy = phy != &dev->phy; in mt7915_mcu_add_beacon() local
2007 info->hw_queue = FIELD_PREP(MT_TX_HW_QUEUE_PHY, ext_phy); in mt7915_mcu_add_beacon()
/Linux-v6.1/drivers/net/ethernet/broadcom/genet/
Dbcmmii.c265 priv->ext_phy = !priv->internal_phy && in bcmgenet_mii_config()
271 if (priv->ext_phy) { in bcmgenet_mii_config()
Dbcmgenet.h615 int ext_phy; member
Dbcmgenet.c2511 } else if (priv->ext_phy) { in bcmgenet_link_intr_enable()
/Linux-v6.1/drivers/net/ethernet/qlogic/qed/
Dqed_mfw_hsi.h2072 u32 ext_phy; member
Dqed_dev.c4199 offsetof(struct nvm_cfg1_port, ext_phy)); in qed_hw_get_nvm_info()