| /Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7915/ |
| D | debugfs.c | 117 bool ext_phy = phy != &dev->phy; in mt7915_ampdu_stat_read_phy() local 125 range[i] = mt76_rr(dev, MT_MIB_ARNG(ext_phy, i)); in mt7915_ampdu_stat_read_phy() 130 seq_printf(file, "\nPhy %d\n", ext_phy); in mt7915_ampdu_stat_read_phy() 138 n = ext_phy ? ARRAY_SIZE(dev->mt76.aggr_stats) / 2 : 0; in mt7915_ampdu_stat_read_phy() 150 bool ext_phy = phy != &dev->phy; in mt7915_txbf_stat_read_phy() local 162 cnt = mt76_rr(dev, MT_ETBF_TX_APP_CNT(ext_phy)); in mt7915_txbf_stat_read_phy() 170 cnt = mt76_rr(dev, MT_ETBF_RX_FB_CNT(ext_phy)); in mt7915_txbf_stat_read_phy() 176 cnt = mt76_rr(dev, MT_ETBF_RX_FB_CONT(ext_phy)); in mt7915_txbf_stat_read_phy() 183 cnt = mt76_rr(dev, MT_ETBF_TX_NDP_BFRP(ext_phy)); in mt7915_txbf_stat_read_phy() 190 cnt = mt76_rr(dev, MT_MIB_SDR34(ext_phy)); in mt7915_txbf_stat_read_phy() [all …]
|
| D | mac.c | 343 status->ext_phy = true; in mt7915_mac_fill_rx() 636 bool ext_phy; in mt7915_mac_fill_rx_vector() local 641 ext_phy = FIELD_GET(MT_RXV_HDR_BAND_IDX, le32_to_cpu(rxv_hdr[1])); in mt7915_mac_fill_rx_vector() 642 if (ext_phy) in mt7915_mac_fill_rx_vector() 909 bool ext_phy = info->hw_queue & MT_TX_HW_QUEUE_EXT_PHY; in mt7915_mac_write_txwi() local 922 if (ext_phy && dev->mt76.phy2) in mt7915_mac_write_txwi() 946 if (ext_phy && q_idx >= MT_LMAC_ALTX0 && q_idx <= MT_LMAC_BCN0) in mt7915_mac_write_txwi() 1362 bool ext_phy = phy != &dev->phy; in mt7915_mac_cca_stats_reset() local 1363 u32 reg = MT_WF_PHY_RX_CTRL1(ext_phy); in mt7915_mac_cca_stats_reset() 1372 bool ext_phy = phy != &dev->phy; in mt7915_mac_reset_counters() local [all …]
|
| D | testmode.c | 199 bool ext_phy = phy != &dev->phy; in mt7915_tm_set_ipg_params() local 237 txv_time = mt76_get_field(dev, MT_TMAC_ATCR(ext_phy), in mt7915_tm_set_ipg_params() 244 mt76_set(dev, MT_TMAC_TRCR0(ext_phy), in mt7915_tm_set_ipg_params() 338 bool ext_phy = phy != &dev->phy; in mt7915_tm_reg_backup_restore() local 344 mt76_wr(dev, reg_backup_list[i].band[ext_phy], b[i]); in mt7915_tm_reg_backup_restore() 357 b[i] = mt76_rr(dev, reg_backup_list[i].band[ext_phy]); in mt7915_tm_reg_backup_restore() 359 mt76_clear(dev, MT_AGG_PCR0(ext_phy, 0), MT_AGG_PCR0_MM_PROT | in mt7915_tm_reg_backup_restore() 363 mt76_set(dev, MT_AGG_PCR0(ext_phy, 0), MT_AGG_PCR0_PTA_WIN_DIS); in mt7915_tm_reg_backup_restore() 365 mt76_wr(dev, MT_AGG_PCR0(ext_phy, 1), MT_AGG_PCR1_RTS0_NUM_THRES | in mt7915_tm_reg_backup_restore() 368 mt76_clear(dev, MT_AGG_MRCR(ext_phy), MT_AGG_MRCR_BAR_CNT_LIMIT | in mt7915_tm_reg_backup_restore() [all …]
|
| D | eeprom.c | 64 bool ext_phy = phy != &dev->phy; in mt7915_eeprom_parse_band_config() local 68 val = eeprom[MT_EE_WIFI_CONF + ext_phy]; in mt7915_eeprom_parse_band_config() 71 val = ext_phy ? MT_EE_BAND_SEL_5GHZ : MT_EE_BAND_SEL_2GHZ; in mt7915_eeprom_parse_band_config()
|
| D | main.c | 192 bool ext_phy = phy != &dev->phy; in mt7915_add_interface() local 216 mvif->band_idx = ext_phy; in mt7915_add_interface() 218 if (ext_phy) in mt7915_add_interface() 219 mvif->wmm_idx = ext_phy * (MT7915_MAX_WMM_SETS / 2) + in mt7915_add_interface() 237 mvif->sta.wcid.ext_phy = mvif->band_idx; in mt7915_add_interface() 626 msta->wcid.ext_phy = mvif->band_idx; in mt7915_mac_sta_add() 893 bool ext_phy = phy != &dev->phy; in mt7915_set_antenna() local 905 if (ext_phy) { in mt7915_set_antenna()
|
| D | mt7915.h | 409 void mt7915_mac_enable_nf(struct mt7915_dev *dev, bool ext_phy);
|
| D | mcu.c | 612 if (msta->wcid.ext_phy && dev->mt76.phy2) in mt7915_mcu_tx_rate_report() 980 bool ext_phy = phy != &dev->phy; in mt7915_mcu_bss_rfch_tlv() local 982 if (ext_phy && dev->mt76.phy2) in mt7915_mcu_bss_rfch_tlv() 3329 bool ext_phy = phy != &dev->phy; in mt7915_mcu_set_chan_info() local 3353 .band_idx = ext_phy, in mt7915_mcu_set_chan_info() 3365 if (ext_phy) { in mt7915_mcu_set_chan_info()
|
| /Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7615/ |
| D | mac.c | 142 bool ext_phy = phy != &dev->phy; in mt7615_mac_set_timing() local 159 if (ext_phy) { in mt7615_mac_set_timing() 181 mt76_wr(dev, MT_TMAC_ICR(ext_phy), in mt7615_mac_set_timing() 192 mt76_rmw_field(dev, MT_AGG_ACR(ext_phy), MT_AGG_ACR_CFEND_RATE, val); in mt7615_mac_set_timing() 193 if (ext_phy) in mt7615_mac_set_timing() 413 status->ext_phy = true; in mt7615_mac_fill_rx() 619 bool ext_phy = info->hw_queue & MT_TX_HW_QUEUE_EXT_PHY; in mt7615_mac_write_txwi() local 642 if (ext_phy && dev->mt76.phy2) in mt7615_mac_write_txwi() 650 q_idx = ext_phy ? MT_LMAC_BCN1 : MT_LMAC_BCN0; in mt7615_mac_write_txwi() 653 q_idx = ext_phy ? MT_LMAC_ALTX1 : MT_LMAC_ALTX0; in mt7615_mac_write_txwi() [all …]
|
| D | pci_mac.c | 269 struct mt76_phy *ext_phy; in mt7615_mac_reset_work() local 274 ext_phy = dev->mt76.phy2; in mt7615_mac_reset_work() 275 phy2 = ext_phy ? ext_phy->priv : NULL; in mt7615_mac_reset_work() 281 if (ext_phy) in mt7615_mac_reset_work() 282 ieee80211_stop_queues(ext_phy->hw); in mt7615_mac_reset_work() 299 if (ext_phy) in mt7615_mac_reset_work() 300 mt76_txq_schedule_all(ext_phy); in mt7615_mac_reset_work() 339 if (ext_phy) in mt7615_mac_reset_work() 340 ieee80211_wake_queues(ext_phy->hw); in mt7615_mac_reset_work() 353 ieee80211_queue_delayed_work(ext_phy->hw, in mt7615_mac_reset_work()
|
| D | debugfs.c | 42 struct mt7615_phy *ext_phy; in mt7615_scs_set() local 48 ext_phy = mt7615_ext_phy(dev); in mt7615_scs_set() 49 if (ext_phy) in mt7615_scs_set() 50 mt7615_mac_set_scs(ext_phy, val); in mt7615_scs_set() 247 bool ext_phy = phy != &dev->phy; in mt7615_ampdu_stat_read_phy() local 261 seq_printf(file, "\nPhy %d\n", ext_phy); in mt7615_ampdu_stat_read_phy() 269 range = ext_phy ? ARRAY_SIZE(dev->mt76.aggr_stats) / 2 : 0; in mt7615_ampdu_stat_read_phy() 300 bool ext_phy = phy != &dev->phy; in mt7615_radio_read_phy() local 305 seq_printf(s, "Radio %d sensitivity: ofdm=%d cck=%d\n", ext_phy, in mt7615_radio_read_phy() 307 seq_printf(s, "Radio %d false CCA: ofdm=%d cck=%d\n", ext_phy, in mt7615_radio_read_phy()
|
| D | main.c | 189 bool ext_phy = phy != &dev->phy; in mt7615_add_interface() local 213 mvif->mt76.band_idx = ext_phy; in mt7615_add_interface() 215 mvif->mt76.wmm_idx = ext_phy * (MT7615_MAX_WMM_SETS / 2) + in mt7615_add_interface() 232 mvif->sta.wcid.ext_phy = mvif->mt76.band_idx; in mt7615_add_interface() 308 bool ext_phy = phy != &dev->phy; in mt7615_set_channel() local 346 phy->chfreq = mt76_rr(dev, MT_CHFREQ(ext_phy)); in mt7615_set_channel() 624 msta->wcid.ext_phy = mvif->mt76.band_idx; in mt7615_mac_sta_add() 965 bool ext_phy = phy != &dev->phy; in mt7615_set_antenna() local 976 if (ext_phy) { in mt7615_set_antenna()
|
| D | mcu.c | 408 struct mt7615_phy *ext_phy = mt7615_ext_phy(dev); in mt7615_mcu_rx_csa_notify() local 417 if (ext_phy && ext_phy->omac_mask & BIT_ULL(c->omac_idx)) in mt7615_mcu_rx_csa_notify() 1996 struct mt7615_phy *ext_phy = mt7615_ext_phy(dev); in mt7615_mcu_set_dbdc() local 2009 .enable = !!ext_phy, in mt7615_mcu_set_dbdc() 2013 if (!ext_phy) in mt7615_mcu_set_dbdc() 2024 bool band = !!(ext_phy->omac_mask & BIT_ULL(i)); in mt7615_mcu_set_dbdc() 2030 bool band = !!(ext_phy->omac_mask & BIT_ULL(0x11 + i)); in mt7615_mcu_set_dbdc()
|
| D | mt7615.h | 484 void mt7615_mac_enable_nf(struct mt7615_dev *dev, bool ext_phy);
|
| /Linux-v5.15/drivers/net/mdio/ |
| D | mdio-mux-bcm6368.c | 34 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-v5.15/drivers/net/wireless/mediatek/mt76/ |
| D | util.c | 67 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()
|
| D | testmode.c | 102 bool ext_phy = phy != &phy->dev->phy; in mt76_testmode_alloc_skb() local 137 if (ext_phy) in mt76_testmode_alloc_skb() 406 bool ext_phy = phy != &dev->phy; in mt76_testmode_cmd() local 445 1 << (ext_phy * 2), phy->antenna_mask << (ext_phy * 2)) || in mt76_testmode_cmd()
|
| D | mac80211.c | 603 struct mt76_phy *phy = mt76_dev_phy(dev, status->ext_phy); in mt76_rx() 822 *hw = mt76_phy_hw(dev, mstat.ext_phy); in mt76_rx_convert() 967 hw = mt76_phy_hw(dev, status->ext_phy); in mt76_check_sta() 1084 struct ieee80211_sta *sta, bool ext_phy) in mt76_sta_add() argument 1107 if (ext_phy) in mt76_sta_add() 1109 wcid->ext_phy = ext_phy; in mt76_sta_add() 1152 bool ext_phy = phy != &dev->phy; in mt76_sta_state() local 1156 return mt76_sta_add(dev, vif, sta, ext_phy); in mt76_sta_state()
|
| D | tx.c | 284 bool ext_phy = phy != &dev->phy; in mt76_tx() local 308 if (ext_phy) in mt76_tx() 325 bool ext_phy = phy != &phy->dev->phy; in mt76_txq_dequeue() local 333 if (ext_phy) in mt76_txq_dequeue()
|
| D | mt76.h | 252 u8 ext_phy:1; member 529 u8 ext_phy:1; member 1110 int mt76_get_min_avg_rssi(struct mt76_dev *dev, bool ext_phy);
|
| D | mt76_connac_mcu.c | 1399 bool ext_phy = phy == mdev->phy2; in mt76_connac_mcu_hw_scan() local 1413 req->seq_num = mvif->scan_seq_num | ext_phy << 7; in mt76_connac_mcu_hw_scan() 1510 bool ext_phy = phy == mdev->phy2; in mt76_connac_mcu_sched_scan_req() local 1524 req->seq_num = mvif->scan_seq_num | ext_phy << 7; in mt76_connac_mcu_sched_scan_req()
|
| /Linux-v5.15/drivers/net/ethernet/broadcom/genet/ |
| D | bcmmii.c | 261 priv->ext_phy = !priv->internal_phy && in bcmgenet_mii_config() 267 if (priv->ext_phy) { in bcmgenet_mii_config()
|
| D | bcmgenet.h | 615 int ext_phy; member
|
| D | bcmgenet.c | 2458 } else if (priv->ext_phy) { in bcmgenet_link_intr_enable()
|
| /Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7921/ |
| D | mac.c | 1514 bool ext_phy = phy != &dev->phy; in mt7921_mac_set_beacon_filter() local 1526 mt76_set(dev, MT_WF_RFCR(ext_phy), in mt7921_mac_set_beacon_filter() 1530 mt76_clear(dev, MT_WF_RFCR(ext_phy), in mt7921_mac_set_beacon_filter()
|
| D | main.c | 274 mvif->sta.wcid.ext_phy = mvif->mt76.band_idx; in mt7921_add_interface() 625 msta->wcid.ext_phy = mvif->mt76.band_idx; in mt7921_mac_sta_add()
|