/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() 420 status->ext_phy = true; in mt7615_mac_fill_rx() 626 bool ext_phy = info->hw_queue & MT_TX_HW_QUEUE_EXT_PHY; in mt7615_mac_write_txwi() local 649 if (ext_phy && dev->mt76.phy2) in mt7615_mac_write_txwi() 657 q_idx = ext_phy ? MT_LMAC_BCN1 : MT_LMAC_BCN0; in mt7615_mac_write_txwi() 660 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 | 69 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() 274 bool ext_phy = phy != &dev->phy; in mt7615_ampdu_stat_read_phy() local 288 seq_printf(file, "\nPhy %d\n", ext_phy); in mt7615_ampdu_stat_read_phy() 296 range = ext_phy ? ARRAY_SIZE(dev->mt76.aggr_stats) / 2 : 0; in mt7615_ampdu_stat_read_phy() 327 bool ext_phy = phy != &dev->phy; in mt7615_radio_read_phy() local 332 seq_printf(s, "Radio %d sensitivity: ofdm=%d cck=%d\n", ext_phy, in mt7615_radio_read_phy() 334 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 if (ext_phy) in mt7615_add_interface() 230 mvif->sta.wcid.ext_phy = mvif->mt76.band_idx; in mt7615_add_interface() 307 bool ext_phy = phy != &dev->phy; in mt7615_set_channel() local 345 phy->chfreq = mt76_rr(dev, MT_CHFREQ(ext_phy)); in mt7615_set_channel() 623 msta->wcid.ext_phy = mvif->mt76.band_idx; in mt7615_mac_sta_add() 967 bool ext_phy = phy != &dev->phy; in mt7615_set_antenna() local 978 if (ext_phy) { in mt7615_set_antenna()
|
D | mcu.c | 409 struct mt7615_phy *ext_phy = mt7615_ext_phy(dev); in mt7615_mcu_rx_csa_notify() local 418 if (ext_phy && ext_phy->omac_mask & BIT_ULL(c->omac_idx)) in mt7615_mcu_rx_csa_notify() 2005 struct mt7615_phy *ext_phy = mt7615_ext_phy(dev); in mt7615_mcu_set_dbdc() local 2018 .enable = !!ext_phy, in mt7615_mcu_set_dbdc() 2022 if (!ext_phy) in mt7615_mcu_set_dbdc() 2033 bool band = !!(ext_phy->omac_mask & BIT_ULL(i)); in mt7615_mcu_set_dbdc() 2039 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);
|
/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mac.c | 343 status->ext_phy = true; in mt7915_mac_fill_rx() 643 bool ext_phy; in mt7915_mac_fill_rx_vector() local 648 ext_phy = FIELD_GET(MT_RXV_HDR_BAND_IDX, le32_to_cpu(rxv_hdr[1])); in mt7915_mac_fill_rx_vector() 649 if (ext_phy) in mt7915_mac_fill_rx_vector() 919 bool ext_phy = info->hw_queue & MT_TX_HW_QUEUE_EXT_PHY; in mt7915_mac_write_txwi() local 932 if (ext_phy && dev->mt76.phy2) in mt7915_mac_write_txwi() 956 if (ext_phy && q_idx >= MT_LMAC_ALTX0 && q_idx <= MT_LMAC_BCN0) in mt7915_mac_write_txwi() 1372 bool ext_phy = phy != &dev->phy; in mt7915_mac_cca_stats_reset() local 1373 u32 reg = MT_WF_PHY_RX_CTRL1(ext_phy); in mt7915_mac_cca_stats_reset() 1382 bool ext_phy = phy != &dev->phy; in mt7915_mac_reset_counters() local [all …]
|
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 | 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() 628 msta->wcid.ext_phy = mvif->band_idx; in mt7915_mac_sta_add() 895 bool ext_phy = phy != &dev->phy; in mt7915_set_antenna() local 907 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() 3334 bool ext_phy = phy != &dev->phy; in mt7915_mcu_set_chan_info() local 3358 .band_idx = ext_phy, in mt7915_mcu_set_chan_info() 3370 if (ext_phy) { in mt7915_mcu_set_chan_info()
|
/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()
|
/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 | mac80211.c | 605 struct mt76_phy *phy = mt76_dev_phy(dev, status->ext_phy); in mt76_rx() 824 *hw = mt76_phy_hw(dev, mstat.ext_phy); in mt76_rx_convert() 969 hw = mt76_phy_hw(dev, status->ext_phy); in mt76_check_sta() 1086 struct ieee80211_sta *sta, bool ext_phy) in mt76_sta_add() argument 1109 if (ext_phy) in mt76_sta_add() 1111 wcid->ext_phy = ext_phy; in mt76_sta_add() 1154 bool ext_phy = phy != &dev->phy; in mt76_sta_state() local 1158 return mt76_sta_add(dev, vif, sta, ext_phy); in mt76_sta_state()
|
D | testmode.c | 103 bool ext_phy = phy != &phy->dev->phy; in mt76_testmode_alloc_skb() local 138 if (ext_phy) in mt76_testmode_alloc_skb() 407 bool ext_phy = phy != &dev->phy; in mt76_testmode_cmd() local 446 1 << (ext_phy * 2), phy->antenna_mask << (ext_phy * 2)) || in mt76_testmode_cmd()
|
D | tx.c | 288 bool ext_phy = phy != &dev->phy; in mt76_tx() local 312 if (ext_phy) in mt76_tx() 329 bool ext_phy = phy != &phy->dev->phy; in mt76_txq_dequeue() local 337 if (ext_phy) in mt76_txq_dequeue()
|
D | mt76.h | 252 u8 ext_phy:1; member 529 u8 ext_phy:1; member 1119 int mt76_get_min_avg_rssi(struct mt76_dev *dev, bool ext_phy);
|
D | mt76_connac_mcu.c | 1409 bool ext_phy = phy == mdev->phy2; in mt76_connac_mcu_hw_scan() local 1423 req->seq_num = mvif->scan_seq_num | ext_phy << 7; in mt76_connac_mcu_hw_scan() 1527 bool ext_phy = phy == mdev->phy2; in mt76_connac_mcu_sched_scan_req() local 1541 req->seq_num = mvif->scan_seq_num | ext_phy << 7; in mt76_connac_mcu_sched_scan_req()
|
/drivers/net/ethernet/broadcom/genet/ |
D | bcmmii.c | 260 priv->ext_phy = !priv->internal_phy && in bcmgenet_mii_config() 266 if (priv->ext_phy) { in bcmgenet_mii_config()
|
D | bcmgenet.h | 615 int ext_phy; member
|
D | bcmgenet.c | 2474 } else if (priv->ext_phy) { in bcmgenet_link_intr_enable()
|
/drivers/net/wireless/mediatek/mt76/mt7921/ |
D | main.c | 275 mvif->sta.wcid.ext_phy = mvif->mt76.band_idx; in mt7921_add_interface() 591 msta->wcid.ext_phy = mvif->mt76.band_idx; in mt7921_mac_sta_add()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_dev.c | 4138 offsetof(struct nvm_cfg1_port, ext_phy)); in qed_hw_get_nvm_info()
|