Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A 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()
278 if (ext_phy) in mt7615_mac_reset_work()
279 ieee80211_wake_queues(ext_phy->hw); in mt7615_mac_reset_work()
292 ieee80211_queue_delayed_work(ext_phy->hw, in mt7615_mac_reset_work()
H A Dmac.c138 bool ext_phy = phy != &dev->phy; in mt7615_mac_set_timing() local
155 if (ext_phy) { in mt7615_mac_set_timing()
177 mt76_wr(dev, MT_TMAC_ICR(ext_phy), in mt7615_mac_set_timing()
188 mt76_rmw_field(dev, MT_AGG_ACR(ext_phy), MT_AGG_ACR_CFEND_RATE, val); in mt7615_mac_set_timing()
189 if (ext_phy) in mt7615_mac_set_timing()
1676 bool ext_phy = phy != &dev->phy; in mt7615_mac_set_sensitivity() local
1680 mt76_rmw(dev, MT7663_WF_PHY_MIN_PRI_PWR(ext_phy), in mt7615_mac_set_sensitivity()
1684 mt76_rmw(dev, MT7663_WF_PHY_RXTD_CCK_PD(ext_phy), in mt7615_mac_set_sensitivity()
1685 MT_WF_PHY_PD_CCK_MASK(ext_phy), in mt7615_mac_set_sensitivity()
1686 MT_WF_PHY_PD_CCK(ext_phy, val)); in mt7615_mac_set_sensitivity()
[all …]
H A 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()
332 bool ext_phy = phy != &dev->phy; in mt7615_radio_read_phy() local
337 seq_printf(s, "Radio %d sensitivity: ofdm=%d cck=%d\n", ext_phy, in mt7615_radio_read_phy()
339 seq_printf(s, "Radio %d false CCA: ofdm=%d cck=%d\n", ext_phy, in mt7615_radio_read_phy()
H A Dmain.c186 bool ext_phy = phy != &dev->phy; in mt7615_add_interface() local
210 mvif->mt76.band_idx = ext_phy; in mt7615_add_interface()
213 if (ext_phy) in mt7615_add_interface()
288 bool ext_phy = phy != &dev->phy; in mt7615_set_channel() local
319 phy->chfreq = mt76_rr(dev, MT_CHFREQ(ext_phy)); in mt7615_set_channel()
995 bool ext_phy = phy != &dev->phy; in mt7615_set_antenna() local
1006 if (ext_phy) { in mt7615_set_antenna()
H A 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()
1828 struct mt7615_phy *ext_phy = mt7615_ext_phy(dev); in mt7615_mcu_set_dbdc() local
1841 .enable = !!ext_phy, in mt7615_mcu_set_dbdc()
1845 if (!ext_phy) in mt7615_mcu_set_dbdc()
1856 bool band = !!(ext_phy->omac_mask & BIT_ULL(i)); in mt7615_mcu_set_dbdc()
1862 bool band = !!(ext_phy->omac_mask & BIT_ULL(0x11 + i)); in mt7615_mcu_set_dbdc()
H A Dmt7615.h469 void mt7615_mac_enable_nf(struct mt7615_dev *dev, bool ext_phy);
/linux/drivers/net/mdio/
H A 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/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmac.c1142 struct mt7915_phy *ext_phy = mt7915_ext_phy(dev); in mt7915_mac_set_timing() local
1155 if (ext_phy) in mt7915_mac_set_timing()
1157 ext_phy->coverage_class); in mt7915_mac_set_timing()
1306 struct mt76_phy *ext_phy; in mt7915_mac_restart() local
1310 ext_phy = dev->mt76.phys[MT_BAND1]; in mt7915_mac_restart()
1311 phy2 = ext_phy ? ext_phy->priv : NULL; in mt7915_mac_restart()
1331 if (ext_phy) in mt7915_mac_restart()
1332 set_bit(MT76_RESET, &ext_phy->state); in mt7915_mac_restart()
1336 if (ext_phy) in mt7915_mac_restart()
1337 mt76_txq_schedule_all(ext_phy); in mt7915_mac_restart()
[all …]
H A Dmain.c211 bool ext_phy = phy != &dev->phy; in mt7915_add_interface() local
239 if (ext_phy) in mt7915_add_interface()
747 bool ext_phy = mvif->phy != &dev->phy; in mt7915_mac_sta_add() local
759 msta->wcid.phy_idx = ext_phy; in mt7915_mac_sta_add()
802 struct mt76_phy *ext_phy = dev->mt76.phys[MT_BAND1]; in mt7915_drop_other_sta() local
815 if (!ext_phy) in mt7915_drop_other_sta()
818 data.hw = ext_phy->hw; in mt7915_drop_other_sta()
H A Ddebugfs.c707 bool ext_phy = phy != &dev->phy; in mt7915_ampdu_stat_read_phy() local
718 seq_printf(file, "\nPhy %d, Phy band %d\n", ext_phy, band); in mt7915_ampdu_stat_read_phy()
1295 bool ext_phy = phy != &dev->phy; in mt7915_init_debugfs() local
1337 if (!ext_phy) in mt7915_init_debugfs()
H A Dtestmode.c699 bool ext_phy = phy != &dev->phy; in mt7915_tm_set_params() local
708 chainmask = ext_phy ? chainmask >> dev->chainshift : chainmask; in mt7915_tm_set_params()
H A Dmt7915.h570 void mt7915_mac_enable_nf(struct mt7915_dev *dev, bool ext_phy);
H A Dmcu.c1962 bool ext_phy = phy != &dev->phy; in mt7915_mcu_add_inband_discov() local
1995 info->hw_queue |= FIELD_PREP(MT_TX_HW_QUEUE_PHY, ext_phy); in mt7915_mcu_add_inband_discov()
2041 bool ext_phy = phy != &dev->phy; in mt7915_mcu_add_beacon() local
2072 info->hw_queue = FIELD_PREP(MT_TX_HW_QUEUE_PHY, ext_phy); in mt7915_mcu_add_beacon()
/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmmii.c274 priv->ext_phy = !priv->internal_phy && in bcmgenet_mii_config()
284 if (priv->ext_phy) { in bcmgenet_mii_config()
H A Dbcmgenet.h638 int ext_phy; member
H A Dbcmgenet.c2593 } else if (priv->ext_phy) { in bcmgenet_link_intr_enable()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_mfw_hsi.h2072 u32 ext_phy; member
H A Dqed_dev.c4176 offsetof(struct nvm_cfg1_port, ext_phy)); in qed_hw_get_nvm_info()