/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
A D | mac.c | 420 status->ext_phy = true; in mt7915_mac_fill_rx() 716 bool ext_phy; in mt7915_mac_fill_rx_vector() local 722 if (ext_phy) in mt7915_mac_fill_rx_vector() 1051 if (ext_phy && dev->mt76.phy2) in mt7915_mac_write_txwi() 1594 if (ext_phy) { in mt7915_mac_reset_counters() 1626 if (ext_phy) { in mt7915_mac_set_timing() 1836 struct mt76_phy *ext_phy; in mt7915_mac_reset_work() local 1840 ext_phy = dev->mt76.phy2; in mt7915_mac_reset_work() 1841 phy2 = ext_phy ? ext_phy->priv : NULL; in mt7915_mac_reset_work() 1847 if (ext_phy) in mt7915_mac_reset_work() [all …]
|
A D | testmode.c | 215 bool ext_phy = phy != &dev->phy; in mt7915_tm_set_ipg_params() local 253 txv_time = mt76_get_field(dev, MT_TMAC_ATCR(ext_phy), in mt7915_tm_set_ipg_params() 260 mt76_set(dev, MT_TMAC_TRCR0(ext_phy), in mt7915_tm_set_ipg_params() 354 bool ext_phy = phy != &dev->phy; in mt7915_tm_reg_backup_restore() local 360 mt76_wr(dev, reg_backup_list[i].band[ext_phy], b[i]); in mt7915_tm_reg_backup_restore() 393 mt76_wr(dev, MT_TMAC_TFCR0(ext_phy), 0); in mt7915_tm_reg_backup_restore() 397 mt76_wr(dev, MT_WF_RFCR(ext_phy), 0xcf70a); in mt7915_tm_reg_backup_restore() 398 mt76_wr(dev, MT_WF_RFCR1(ext_phy), 0); in mt7915_tm_reg_backup_restore() 724 bool ext_phy = phy != &dev->phy; in mt7915_tm_dump_stats() local 772 fcs_err = mt76_get_field(dev, MT_MIB_SDR3(ext_phy), in mt7915_tm_dump_stats() [all …]
|
A 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()
|
A D | debugfs.c | 198 bool ext_phy = phy != &dev->phy; in mt7915_ampdu_stat_read_phy() local 203 range[i] = mt76_rr(dev, MT_MIB_ARNG(ext_phy, i)); in mt7915_ampdu_stat_read_phy() 208 seq_printf(file, "\nPhy %d\n", ext_phy); in mt7915_ampdu_stat_read_phy() 216 n = ext_phy ? ARRAY_SIZE(dev->mt76.aggr_stats) / 2 : 0; in mt7915_ampdu_stat_read_phy() 525 bool ext_phy = phy != &dev->phy; in mt7915_init_debugfs() local 550 if (!dev->dbdc_support || ext_phy) { in mt7915_init_debugfs()
|
A D | main.c | 195 bool ext_phy = phy != &dev->phy; in mt7915_add_interface() local 219 mvif->band_idx = ext_phy; in mt7915_add_interface() 222 mvif->wmm_idx = ext_phy * (MT7915_MAX_WMM_SETS / 2) + in mt7915_add_interface() 239 mvif->sta.wcid.ext_phy = mvif->band_idx; in mt7915_add_interface() 658 msta->wcid.ext_phy = mvif->band_idx; in mt7915_mac_sta_add() 935 bool ext_phy = phy != &dev->phy; in mt7915_set_antenna() local 947 if (ext_phy) { in mt7915_set_antenna() 1218 bool ext_phy = phy != &dev->phy; in mt7915_get_et_stats() local 1235 n = ext_phy ? ARRAY_SIZE(dev->mt76.aggr_stats) / 2 : 0; in mt7915_get_et_stats()
|
A D | mt7915.h | 489 void mt7915_mac_enable_nf(struct mt7915_dev *dev, bool ext_phy);
|
A D | mcu.c | 847 bool ext_phy = phy != &dev->phy; in mt7915_mcu_bss_rfch_tlv() local 849 if (ext_phy && dev->mt76.phy2) in mt7915_mcu_bss_rfch_tlv() 3440 bool ext_phy = phy != &dev->phy; in mt7915_mcu_set_chan_info() local 3464 .band_idx = ext_phy, in mt7915_mcu_set_chan_info() 3476 if (ext_phy) { in mt7915_mcu_set_chan_info()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
A 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() 193 if (ext_phy) in mt7615_mac_set_timing() 413 status->ext_phy = true; in mt7615_mac_fill_rx() 642 if (ext_phy && dev->mt76.phy2) in mt7615_mac_write_txwi() 1614 bool ext_phy = phy != &dev->phy; in mt7615_mac_set_sensitivity() local 1654 bool ext_phy = phy != &dev->phy; in mt7615_mac_set_scs() local 1696 if (ext_phy) in mt7615_mac_enable_nf() 1708 bool ext_phy = phy != &dev->phy; in mt7615_mac_cca_stats_reset() local [all …]
|
A D | pci_mac.c | 268 struct mt76_phy *ext_phy; in mt7615_mac_reset_work() local 273 ext_phy = dev->mt76.phy2; in mt7615_mac_reset_work() 274 phy2 = ext_phy ? ext_phy->priv : NULL; in mt7615_mac_reset_work() 280 if (ext_phy) in mt7615_mac_reset_work() 281 ieee80211_stop_queues(ext_phy->hw); in mt7615_mac_reset_work() 298 if (ext_phy) in mt7615_mac_reset_work() 299 mt76_txq_schedule_all(ext_phy); in mt7615_mac_reset_work() 341 if (ext_phy) in mt7615_mac_reset_work() 342 ieee80211_wake_queues(ext_phy->hw); in mt7615_mac_reset_work() 355 ieee80211_queue_delayed_work(ext_phy->hw, in mt7615_mac_reset_work()
|
A 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()
|
A 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() 312 bool ext_phy = phy != &dev->phy; in mt7615_set_channel() local 350 phy->chfreq = mt76_rr(dev, MT_CHFREQ(ext_phy)); in mt7615_set_channel() 628 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()
|
A 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() 2022 struct mt7615_phy *ext_phy = mt7615_ext_phy(dev); in mt7615_mcu_set_dbdc() local 2035 .enable = !!ext_phy, in mt7615_mcu_set_dbdc() 2039 if (!ext_phy) in mt7615_mcu_set_dbdc() 2050 bool band = !!(ext_phy->omac_mask & BIT_ULL(i)); in mt7615_mcu_set_dbdc() 2056 bool band = !!(ext_phy->omac_mask & BIT_ULL(0x11 + i)); in mt7615_mcu_set_dbdc()
|
A D | mt7615.h | 496 void mt7615_mac_enable_nf(struct mt7615_dev *dev, bool ext_phy);
|
/linux/drivers/net/mdio/ |
A 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/drivers/net/wireless/mediatek/mt76/ |
A 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()
|
A D | testmode.c | 104 bool ext_phy = phy != &phy->dev->phy; in mt76_testmode_alloc_skb() local 139 if (ext_phy) in mt76_testmode_alloc_skb() 408 bool ext_phy = phy != &dev->phy; in mt76_testmode_cmd() local 447 1 << (ext_phy * 2), phy->antenna_mask << (ext_phy * 2)) || in mt76_testmode_cmd()
|
A D | mac80211.c | 720 struct mt76_phy *phy = mt76_dev_phy(dev, status->ext_phy); in mt76_rx() 959 *hw = mt76_phy_hw(dev, mstat.ext_phy); in mt76_rx_convert() 1119 hw = mt76_phy_hw(dev, status->ext_phy); in mt76_check_sta() 1236 struct ieee80211_sta *sta, bool ext_phy) in mt76_sta_add() argument 1259 if (ext_phy) in mt76_sta_add() 1261 wcid->ext_phy = ext_phy; in mt76_sta_add() 1306 bool ext_phy = phy != &dev->phy; in mt76_sta_state() local 1310 return mt76_sta_add(dev, vif, sta, ext_phy); in mt76_sta_state()
|
A D | tx.c | 314 bool ext_phy = phy != &dev->phy; in mt76_tx() local 338 if (ext_phy) in mt76_tx() 355 bool ext_phy = phy != &phy->dev->phy; in mt76_txq_dequeue() local 363 if (ext_phy) in mt76_txq_dequeue()
|
A D | mt76.h | 255 u8 ext_phy:1; member 542 u8 ext_phy:1; member 1156 int mt76_get_min_avg_rssi(struct mt76_dev *dev, bool ext_phy);
|
A D | mt76_connac_mcu.c | 1446 bool ext_phy = phy == mdev->phy2; in mt76_connac_mcu_hw_scan() local 1460 req->seq_num = mvif->scan_seq_num | ext_phy << 7; in mt76_connac_mcu_hw_scan() 1567 bool ext_phy = phy == mdev->phy2; in mt76_connac_mcu_sched_scan_req() local 1581 req->seq_num = mvif->scan_seq_num | ext_phy << 7; in mt76_connac_mcu_sched_scan_req()
|
/linux/drivers/net/ethernet/broadcom/genet/ |
A D | bcmmii.c | 265 priv->ext_phy = !priv->internal_phy && in bcmgenet_mii_config() 271 if (priv->ext_phy) { in bcmgenet_mii_config()
|
A D | bcmgenet.h | 615 int ext_phy; member
|
A D | bcmgenet.c | 2502 } else if (priv->ext_phy) { in bcmgenet_link_intr_enable()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
A D | main.c | 305 mvif->sta.wcid.ext_phy = mvif->mt76.band_idx; in mt7921_add_interface() 627 msta->wcid.ext_phy = mvif->mt76.band_idx; in mt7921_mac_sta_add()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_mfw_hsi.h | 2071 u32 ext_phy; member
|