Home
last modified time | relevance | path

Searched refs:ext_phy (Results 1 - 25 of 38) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmac.c113 bool ext_phy = phy != &dev->phy; in mt7615_mac_set_timing() local
130 if (ext_phy) { in mt7615_mac_set_timing()
152 mt76_wr(dev, MT_TMAC_ICR(ext_phy), in mt7615_mac_set_timing()
163 mt76_rmw_field(dev, MT_AGG_ACR(ext_phy), MT_AGG_ACR_CFEND_RATE, val); in mt7615_mac_set_timing()
164 if (ext_phy) in mt7615_mac_set_timing()
338 status->ext_phy = true; in mt7615_mac_fill_rx()
536 bool ext_phy = info->hw_queue & MT_TX_HW_QUEUE_EXT_PHY; in mt7615_mac_write_txwi() local
559 if (ext_phy && dev->mt76.phy2) in mt7615_mac_write_txwi()
567 q_idx = ext_phy ? MT_LMAC_BCN1 : MT_LMAC_BCN0; in mt7615_mac_write_txwi()
570 q_idx = ext_phy in mt7615_mac_write_txwi()
1518 bool ext_phy = phy != &dev->phy; mt7615_mac_set_sensitivity() local
1558 bool ext_phy = phy != &dev->phy; mt7615_mac_set_scs() local
1591 mt7615_mac_enable_nf(struct mt7615_dev *dev, bool ext_phy) mt7615_mac_enable_nf() argument
1612 bool ext_phy = phy != &dev->phy; mt7615_mac_cca_stats_reset() local
1631 bool ext_phy = phy != &dev->phy; mt7615_mac_adjust_sensitivity() local
1686 bool ext_phy = phy != &dev->phy; mt7615_mac_scs_check() local
1820 bool ext_phy = phy != &dev->phy; mt7615_mac_update_mib_stats() local
1973 bool ext_phy = phy != &dev->phy; mt7615_pm_interface_iter() local
2119 struct mt76_phy *ext_phy; mt7615_mac_reset_work() local
2229 bool ext_phy = phy != &dev->phy; mt7615_dfs_start_radar_detector() local
2293 bool ext_phy = phy != &dev->phy; mt7615_dfs_init_radar_detector() local
[all...]
H A Ddebugfs.c28 struct mt7615_phy *ext_phy; in mt7615_scs_set() local
34 ext_phy = mt7615_ext_phy(dev); in mt7615_scs_set()
35 if (ext_phy) in mt7615_scs_set()
36 mt7615_mac_set_scs(ext_phy, val); in mt7615_scs_set()
190 bool ext_phy = phy != &dev->phy; in mt7615_ampdu_stat_read_phy() local
204 seq_printf(file, "\nPhy %d\n", ext_phy); in mt7615_ampdu_stat_read_phy()
212 range = ext_phy ? ARRAY_SIZE(dev->mt76.aggr_stats) / 2 : 0; in mt7615_ampdu_stat_read_phy()
243 bool ext_phy = phy != &dev->phy; in mt7615_radio_read_phy() local
248 seq_printf(s, "Radio %d sensitivity: ofdm=%d cck=%d\n", ext_phy, in mt7615_radio_read_phy()
250 seq_printf(s, "Radio %d false CCA: ofdm=%d cck=%d\n", ext_phy, in mt7615_radio_read_phy()
[all...]
H A Dmain.c158 bool ext_phy = phy != &dev->phy; in mt7615_add_interface() local
182 mvif->band_idx = ext_phy; in mt7615_add_interface()
184 mvif->wmm_idx = ext_phy * (MT7615_MAX_WMM_SETS / 2) + in mt7615_add_interface()
199 mvif->sta.wcid.ext_phy = mvif->band_idx; in mt7615_add_interface()
220 mt76_set(dev, MT_WF_RFCR(ext_phy), in mt7615_add_interface()
249 bool ext_phy = phy != &dev->phy; in mt7615_remove_interface() local
252 mt76_clear(dev, MT_WF_RFCR(ext_phy), in mt7615_remove_interface()
293 bool ext_phy = phy != &dev->phy; in mt7615_set_channel() local
321 phy->chfreq = mt76_rr(dev, MT_CHFREQ(ext_phy)); in mt7615_set_channel()
615 msta->wcid.ext_phy in mt7615_mac_sta_add()
929 bool ext_phy = phy != &dev->phy; mt7615_set_antenna() local
1139 bool ext_phy = phy != &dev->phy; mt7615_suspend() local
1170 bool running, ext_phy = phy != &dev->phy; mt7615_resume() local
[all...]
H A Dmcu.c2637 struct mt7615_phy *ext_phy = mt7615_ext_phy(dev); in mt7615_mcu_set_dbdc() local
2650 .enable = !!ext_phy, in mt7615_mcu_set_dbdc()
2654 if (!ext_phy) in mt7615_mcu_set_dbdc()
2665 bool band = !!(ext_phy->omac_mask & BIT(i)); in mt7615_mcu_set_dbdc()
2671 bool band = !!(ext_phy->omac_mask & BIT(0x11 + i)); in mt7615_mcu_set_dbdc()
3086 bool ext_phy = phy != &dev->phy; in mt7615_mcu_hw_scan() local
3104 req->seq_num = mvif->scan_seq_num | ext_phy << 7; in mt7615_mcu_hw_scan()
3195 bool ext_phy = phy != &dev->phy; in mt7615_mcu_sched_scan_req() local
3215 req->seq_num = mvif->scan_seq_num | ext_phy << 7; in mt7615_mcu_sched_scan_req()
/kernel/linux/linux-6.6/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()
276 if (ext_phy) in mt7615_mac_reset_work()
277 ieee80211_wake_queues(ext_phy in mt7615_mac_reset_work()
[all...]
H A Dmac.c141 bool ext_phy = phy != &dev->phy; in mt7615_mac_set_timing() local
158 if (ext_phy) { in mt7615_mac_set_timing()
180 mt76_wr(dev, MT_TMAC_ICR(ext_phy), in mt7615_mac_set_timing()
191 mt76_rmw_field(dev, MT_AGG_ACR(ext_phy), MT_AGG_ACR_CFEND_RATE, val); in mt7615_mac_set_timing()
192 if (ext_phy) in mt7615_mac_set_timing()
1687 bool ext_phy = phy != &dev->phy; in mt7615_mac_set_sensitivity() local
1691 mt76_rmw(dev, MT7663_WF_PHY_MIN_PRI_PWR(ext_phy), in mt7615_mac_set_sensitivity()
1695 mt76_rmw(dev, MT7663_WF_PHY_RXTD_CCK_PD(ext_phy), in mt7615_mac_set_sensitivity()
1696 MT_WF_PHY_PD_CCK_MASK(ext_phy), in mt7615_mac_set_sensitivity()
1697 MT_WF_PHY_PD_CCK(ext_phy, va in mt7615_mac_set_sensitivity()
1727 bool ext_phy = phy != &dev->phy; mt7615_mac_set_scs() local
1760 mt7615_mac_enable_nf(struct mt7615_dev *dev, bool ext_phy) mt7615_mac_enable_nf() argument
1781 bool ext_phy = phy != &dev->phy; mt7615_mac_cca_stats_reset() local
1800 bool ext_phy = phy != &dev->phy; mt7615_mac_adjust_sensitivity() local
1855 bool ext_phy = phy != &dev->phy; mt7615_mac_scs_check() local
1988 bool ext_phy = phy != &dev->phy; mt7615_mac_update_mib_stats() local
2161 bool ext_phy = phy != &dev->phy; mt7615_dfs_start_radar_detector() local
2229 bool ext_phy = phy != &dev->phy; mt7615_dfs_init_radar_detector() local
2290 bool ext_phy = phy != &dev->phy; mt7615_mac_set_beacon_filter() local
[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()
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()
1006 bool ext_phy = phy != &dev->phy; in mt7615_set_antenna() local
1017 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()
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()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmac.c335 status->ext_phy = true; in mt7915_mac_fill_rx()
575 bool ext_phy = info->hw_queue & MT_TX_HW_QUEUE_EXT_PHY; in mt7915_mac_write_txwi() local
589 if (ext_phy && dev->mt76.phy2) in mt7915_mac_write_txwi()
638 if (ext_phy && q_idx >= MT_LMAC_ALTX0 && q_idx <= MT_LMAC_BCN0) in mt7915_mac_write_txwi()
989 bool ext_phy = phy != &dev->phy; in mt7915_mac_cca_stats_reset() local
990 u32 reg = MT_WF_PHY_RX_CTRL1(ext_phy); in mt7915_mac_cca_stats_reset()
999 bool ext_phy = phy != &dev->phy; in mt7915_mac_reset_counters() local
1003 mt76_rr(dev, MT_TX_AGG_CNT(ext_phy, i)); in mt7915_mac_reset_counters()
1004 mt76_rr(dev, MT_TX_AGG_CNT2(ext_phy, i)); in mt7915_mac_reset_counters()
1007 if (ext_phy) { in mt7915_mac_reset_counters()
1031 bool ext_phy = phy != &dev->phy; mt7915_mac_set_timing() local
1195 struct mt76_phy *ext_phy; mt7915_mac_reset_work() local
1277 bool ext_phy = phy != &dev->phy; mt7915_mac_update_mib_stats() local
1421 bool ext_phy = phy != &dev->phy; mt7915_dfs_start_radar_detector() local
1485 bool ext_phy = phy != &dev->phy; mt7915_dfs_init_radar_detector() local
[all...]
H A Ddebugfs.c116 bool ext_phy = phy != &dev->phy; in mt7915_ampdu_stat_read_phy() local
124 range[i] = mt76_rr(dev, MT_MIB_ARNG(ext_phy, i)); in mt7915_ampdu_stat_read_phy()
129 seq_printf(file, "\nPhy %d\n", ext_phy); in mt7915_ampdu_stat_read_phy()
137 n = ext_phy ? ARRAY_SIZE(dev->mt76.aggr_stats) / 2 : 0; in mt7915_ampdu_stat_read_phy()
149 bool ext_phy = phy != &dev->phy; in mt7915_txbf_stat_read_phy() local
158 cnt = mt76_rr(dev, MT_ETBF_TX_APP_CNT(ext_phy)); in mt7915_txbf_stat_read_phy()
166 cnt = mt76_rr(dev, MT_ETBF_RX_FB_CNT(ext_phy)); in mt7915_txbf_stat_read_phy()
174 cnt = mt76_rr(dev, MT_ETBF_TX_NDP_BFRP(ext_phy)); in mt7915_txbf_stat_read_phy()
181 cnt = mt76_rr(dev, MT_MIB_SDR34(ext_phy)); in mt7915_txbf_stat_read_phy()
184 cnt = mt76_rr(dev, MT_MIB_DR8(ext_phy)); in mt7915_txbf_stat_read_phy()
[all...]
H A Dmain.c123 bool ext_phy = phy != &dev->phy; in mt7915_add_interface() local
141 mvif->band_idx = ext_phy; in mt7915_add_interface()
143 if (ext_phy) in mt7915_add_interface()
144 mvif->wmm_idx = ext_phy * (MT7915_MAX_WMM_SETS / 2) + in mt7915_add_interface()
162 mvif->sta.wcid.ext_phy = mvif->band_idx; in mt7915_add_interface()
501 msta->wcid.ext_phy = mvif->band_idx; in mt7915_mac_sta_add()
739 bool ext_phy = phy != &dev->phy; in mt7915_set_antenna() local
751 if (ext_phy) { in mt7915_set_antenna()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmac.c1152 struct mt7915_phy *ext_phy = mt7915_ext_phy(dev); in mt7915_mac_set_timing() local
1165 if (ext_phy) in mt7915_mac_set_timing()
1167 ext_phy->coverage_class); in mt7915_mac_set_timing()
1316 struct mt76_phy *ext_phy; in mt7915_mac_restart() local
1320 ext_phy = dev->mt76.phys[MT_BAND1]; in mt7915_mac_restart()
1321 phy2 = ext_phy ? ext_phy->priv : NULL; in mt7915_mac_restart()
1341 if (ext_phy) { in mt7915_mac_restart()
1342 set_bit(MT76_RESET, &ext_phy->state); in mt7915_mac_restart()
1343 set_bit(MT76_MCU_RESET, &ext_phy in mt7915_mac_restart()
1439 struct mt76_phy *ext_phy; mt7915_mac_full_reset() local
1486 struct mt76_phy *ext_phy; mt7915_mac_reset_work() local
[all...]
H A Ddebugfs.c685 bool ext_phy = phy != &dev->phy; in mt7915_ampdu_stat_read_phy() local
696 seq_printf(file, "\nPhy %d, Phy band %d\n", ext_phy, band); in mt7915_ampdu_stat_read_phy()
1209 bool ext_phy = phy != &dev->phy; in mt7915_init_debugfs() local
1249 if (!ext_phy) in mt7915_init_debugfs()
H A Dmain.c211 bool ext_phy = phy != &dev->phy; in mt7915_add_interface() local
238 if (ext_phy) in mt7915_add_interface()
253 mvif->sta.wcid.phy_idx = ext_phy; in mt7915_add_interface()
733 bool ext_phy = mvif->phy != &dev->phy; in mt7915_mac_sta_add() local
745 msta->wcid.phy_idx = ext_phy; in mt7915_mac_sta_add()
H A Dtestmode.c697 bool ext_phy = phy != &dev->phy; in mt7915_tm_set_params() local
706 chainmask = ext_phy ? chainmask >> dev->chainshift : chainmask; in mt7915_tm_set_params()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
H A 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()
H A Dmac80211.c524 struct mt76_phy *phy = mt76_dev_phy(dev, status->ext_phy); in mt76_rx()
744 *hw = mt76_phy_hw(dev, mstat.ext_phy); in mt76_rx_convert()
882 hw = mt76_phy_hw(dev, status->ext_phy); in mt76_check_sta()
971 struct ieee80211_sta *sta, bool ext_phy) in mt76_sta_add()
994 if (ext_phy) in mt76_sta_add()
996 wcid->ext_phy = ext_phy; in mt76_sta_add()
1039 bool ext_phy = phy != &dev->phy; in mt76_sta_state() local
1043 return mt76_sta_add(dev, vif, sta, ext_phy); in mt76_sta_state()
970 mt76_sta_add(struct mt76_dev *dev, struct ieee80211_vif *vif, struct ieee80211_sta *sta, bool ext_phy) mt76_sta_add() argument
H A Dtx.c262 bool ext_phy = phy != &dev->phy; in mt76_tx() local
285 if (ext_phy) in mt76_tx()
308 bool ext_phy = phy != &phy->dev->phy; in mt76_txq_dequeue() local
316 if (ext_phy) in mt76_txq_dequeue()
H A Dmt76.h215 u8 ext_phy:1; member
492 u8 ext_phy:1; member
955 int mt76_get_min_avg_rssi(struct mt76_dev *dev, bool ext_phy);
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/
H A 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/genet/
H A Dbcmmii.c260 priv->ext_phy = !priv->internal_phy && in bcmgenet_mii_config()
266 if (priv->ext_phy) { in bcmgenet_mii_config()
H A Dbcmgenet.h670 int ext_phy; member
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/genet/
H A Dbcmmii.c270 priv->ext_phy = !priv->internal_phy && in bcmgenet_mii_config()
279 if (priv->ext_phy) { in bcmgenet_mii_config()

Completed in 37 milliseconds

12