Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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 ? MT_LMAC_ALTX1 : MT_LMAC_ALTX0; in mt7615_mac_write_txwi()
[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()
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 = mvif->band_idx; in mt7615_mac_sta_add()
[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()
H A Dmt7615.h564 void mt7615_mac_enable_nf(struct mt7615_dev *dev, bool ext_phy);
/OK3568_Linux_fs/kernel/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()
[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()
H A Dmcu.c531 if (msta->wcid.ext_phy && dev->mt76.phy2) in mt7915_mcu_tx_rate_report()
885 bool ext_phy = phy != &dev->phy; in mt7915_mcu_bss_rfch_tlv() local
887 if (ext_phy && dev->mt76.phy2) in mt7915_mcu_bss_rfch_tlv()
/OK3568_Linux_fs/kernel/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() argument
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()
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
954 int mt76_get_min_avg_rssi(struct mt76_dev *dev, bool ext_phy);
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/genet/
H A Dbcmmii.c261 priv->ext_phy = !priv->internal_phy && in bcmgenet_mii_config()
267 if (priv->ext_phy) { in bcmgenet_mii_config()
H A Dbcmgenet.h670 int ext_phy; member
H A Dbcmgenet.c2463 } else if (priv->ext_phy) { in bcmgenet_link_intr_enable()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qed/
H A Dqed_dev.c4102 offsetof(struct nvm_cfg1_port, ext_phy)); in qed_hw_get_nvm_info()
H A Dqed_hsi.h13185 u32 ext_phy; member