/linux-6.3-rc2/drivers/net/wireless/realtek/rtw89/ |
A D | rtw8852c.c | 1026 phy_idx); in rtw8852c_ctrl_ch() 1046 phy_idx); in rtw8852c_ctrl_ch() 1146 phy_idx); in rtw8852c_ctrl_bw() 1150 phy_idx); in rtw8852c_ctrl_bw() 1162 phy_idx); in rtw8852c_ctrl_bw() 1164 phy_idx); in rtw8852c_ctrl_bw() 1167 phy_idx); in rtw8852c_ctrl_bw() 1508 phy_idx); in rtw8852c_bb_reset_all() 1510 phy_idx); in rtw8852c_bb_reset_all() 1518 phy_idx); in rtw8852c_bb_reset_all() [all …]
|
A D | rtw8852b.c | 1229 pri_ch, phy_idx); in rtw8852b_ctrl_bw() 1247 pri_ch, phy_idx); in rtw8852b_ctrl_bw() 1264 phy_idx); in rtw8852b_ctrl_bw() 1389 enum rtw89_phy_idx phy_idx) in rtw8852b_bb_macid_ctrl_init() argument 1480 u8 phy_idx) in rtw8852b_tssi_cont_en_phyidx() argument 1486 if (phy_idx == RTW89_PHY_0) in rtw8852b_tssi_cont_en_phyidx() 1539 rtw8852b_iqk(rtwdev, phy_idx); in rtw8852b_rfk_channel() 1541 rtw8852b_dpk(rtwdev, phy_idx); in rtw8852b_rfk_channel() 1610 phy_idx); in rtw8852b_set_txpwr_ref() 1617 phy_idx); in rtw8852b_set_txpwr_ref() [all …]
|
A D | rtw8852a.c | 880 phy_idx); in rtw8852a_ctrl_ch() 883 phy_idx); in rtw8852a_ctrl_ch() 973 phy_idx); in rtw8852a_ctrl_bw() 975 phy_idx); in rtw8852a_ctrl_bw() 981 phy_idx); in rtw8852a_ctrl_bw() 983 phy_idx); in rtw8852a_ctrl_bw() 989 phy_idx); in rtw8852a_ctrl_bw() 1083 phy_idx); in rtw8852a_bb_reset_all() 1085 phy_idx); in rtw8852a_bb_reset_all() 1087 phy_idx); in rtw8852a_bb_reset_all() [all …]
|
A D | rtw8852c_rfk.h | 13 void rtw8852c_iqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx); 14 void rtw8852c_rx_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, bool is_afe); 20 void rtw8852c_tssi_cont_en_phyidx(struct rtw89_dev *rtwdev, bool en, u8 phy_idx); 22 enum rtw89_phy_idx phy_idx); 25 enum rtw89_phy_idx phy_idx);
|
A D | rtw8852b_rfk.h | 12 void rtw8852b_iqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx); 13 void rtw8852b_rx_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx); 20 enum rtw89_phy_idx phy_idx); 23 enum rtw89_phy_idx phy_idx);
|
A D | coex.h | 142 void rtw89_btc_ntfy_scan_start(struct rtw89_dev *rtwdev, u8 phy_idx, u8 band); 143 void rtw89_btc_ntfy_scan_finish(struct rtw89_dev *rtwdev, u8 phy_idx); 144 void rtw89_btc_ntfy_switch_band(struct rtw89_dev *rtwdev, u8 phy_idx, u8 band); 170 enum rtw89_phy_idx phy_idx, in rtw89_btc_phymap() argument 177 FIELD_PREP(BTC_RFK_PHY_MAP, BIT(phy_idx)) | in rtw89_btc_phymap() 184 enum rtw89_phy_idx phy_idx, in rtw89_btc_path_phymap() argument 187 return rtw89_btc_phymap(rtwdev, phy_idx, BIT(path)); in rtw89_btc_path_phymap()
|
A D | efuse.c | 193 u32 phy_idx = sec_ctrl_size; in rtw89_dump_logical_efuse_map() local 203 while (phy_idx < physical_size - sec_ctrl_size) { in rtw89_dump_logical_efuse_map() 204 hdr1 = phy_map[phy_idx]; in rtw89_dump_logical_efuse_map() 205 hdr2 = phy_map[phy_idx + 1]; in rtw89_dump_logical_efuse_map() 211 phy_idx += 2; in rtw89_dump_logical_efuse_map() 218 if (phy_idx + 1 > physical_size - sec_ctrl_size - 1 || in rtw89_dump_logical_efuse_map() 222 log_map[log_idx] = phy_map[phy_idx]; in rtw89_dump_logical_efuse_map() 223 log_map[log_idx + 1] = phy_map[phy_idx + 1]; in rtw89_dump_logical_efuse_map() 224 phy_idx += 2; in rtw89_dump_logical_efuse_map()
|
A D | rtw8852a_rfk.h | 12 void rtw8852a_iqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx); 14 void rtw8852a_rx_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, 22 enum rtw89_phy_idx phy_idx);
|
A D | rtw8852a_rfk.c | 18 rtwdev->dbcc_en, phy_idx); in _kpath() 23 if (phy_idx == RTW89_PHY_0) in _kpath() 1457 switch (_kpath(rtwdev, phy_idx)) { in _iqk_afebb_restore() 1504 switch (_kpath(rtwdev, phy_idx)) { in _iqk_macbb_setting() 1522 u8 phy_idx = 0x0; in _iqk_dbcc() local 1527 phy_idx = RTW89_PHY_0; in _iqk_dbcc() 1529 phy_idx = RTW89_PHY_1; in _iqk_dbcc() 3650 _iqk_dbcc(rtwdev, phy_idx); in rtw8852a_iqk() 3652 _iqk(rtwdev, phy_idx, false); in rtw8852a_iqk() 3673 _rx_dck(rtwdev, phy_idx, is_afe); in rtw8852a_rx_dck() [all …]
|
A D | rtw8852b_rfk.c | 280 rtwdev->dbcc_en, phy_idx); in _kpath() 285 if (phy_idx == RTW89_PHY_0) in _kpath() 1385 _iqk_info_iqk(rtwdev, phy_idx, path); in _iqk_by_path() 1452 _iqk_by_path(rtwdev, phy_idx, path); in _iqk_start_iqk() 1493 kpath = _kpath(rtwdev, phy_idx); in _iqk_afebb_restore() 1539 kpath = _kpath(rtwdev, phy_idx); in _iqk_macbb_setting() 1648 u8 kpath = _kpath(rtwdev, phy_idx); in _iqk() 3782 _iqk(rtwdev, phy_idx, false); in rtw8852b_iqk() 3797 _rx_dck(rtwdev, phy_idx); in rtw8852b_rx_dck() 3814 _dpk(rtwdev, phy_idx, false); in rtw8852b_dpk() [all …]
|
A D | rtw8852c_rfk.c | 81 rtwdev->dbcc_en, phy_idx); in _kpath() 86 if (phy_idx == RTW89_PHY_0) in _kpath() 1322 _iqk_info_iqk(rtwdev, phy_idx, path); in _iqk_by_path() 1371 _iqk_by_path(rtwdev, phy_idx, path); in _iqk_start_iqk() 1522 enum rtw89_phy_idx phy_idx, u8 path) in _doiqk() argument 1543 _iqk_start_iqk(rtwdev, phy_idx, path); in _doiqk() 1553 switch (_kpath(rtwdev, phy_idx)) { in _iqk() 3793 if (phy_idx == RTW89_PHY_0) in rtw8852c_tssi_cont_en_phyidx() 4048 enum rtw89_phy_idx phy_idx) in rtw8852c_set_channel_rf() argument 4101 _iqk(rtwdev, phy_idx, false); in rtw8852c_iqk() [all …]
|
A D | phy.h | 513 u32 data, enum rtw89_phy_idx phy_idx); 515 enum rtw89_phy_idx phy_idx); 522 enum rtw89_phy_idx phy_idx); 525 enum rtw89_phy_idx phy_idx); 528 enum rtw89_phy_idx phy_idx); 531 enum rtw89_phy_idx phy_idx);
|
A D | mac.h | 979 enum rtw89_phy_idx phy_idx, 1007 enum rtw89_phy_idx phy_idx, in rtw89_mac_txpwr_read32() argument 1012 if (!rtw89_mac_get_txpwr_cr(rtwdev, phy_idx, reg_base, &cr)) in rtw89_mac_txpwr_read32() 1020 enum rtw89_phy_idx phy_idx, in rtw89_mac_txpwr_write32() argument 1025 if (!rtw89_mac_get_txpwr_cr(rtwdev, phy_idx, reg_base, &cr)) in rtw89_mac_txpwr_write32() 1033 enum rtw89_phy_idx phy_idx, in rtw89_mac_txpwr_write32_mask() argument 1038 if (!rtw89_mac_get_txpwr_cr(rtwdev, phy_idx, reg_base, &cr)) in rtw89_mac_txpwr_write32_mask()
|
A D | core.h | 2360 u8 phy_idx; member 2435 u8 phy_idx; member 2529 enum rtw89_phy_idx phy_idx); 2538 enum rtw89_phy_idx phy_idx); 2543 enum rtw89_phy_idx phy_idx); 2550 enum rtw89_phy_idx phy_idx); 2556 enum rtw89_phy_idx phy_idx); 4301 enum rtw89_phy_idx phy_idx) in rtw89_chip_set_channel_prepare() argument 4304 mac_idx, phy_idx); in rtw89_chip_set_channel_prepare() 4312 enum rtw89_phy_idx phy_idx) in rtw89_chip_set_channel_done() argument [all …]
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw88/ |
A D | efuse.c | 46 u32 phy_idx, log_idx; in rtw_dump_logical_efuse_map() local 52 for (phy_idx = 0; phy_idx < physical_size - protect_size;) { in rtw_dump_logical_efuse_map() 53 hdr1 = phy_map[phy_idx]; in rtw_dump_logical_efuse_map() 54 hdr2 = phy_map[phy_idx + 1]; in rtw_dump_logical_efuse_map() 62 phy_idx += 2; in rtw_dump_logical_efuse_map() 67 phy_idx += 1; in rtw_dump_logical_efuse_map() 75 if (phy_idx + 1 > physical_size - protect_size || in rtw_dump_logical_efuse_map() 79 log_map[log_idx] = phy_map[phy_idx]; in rtw_dump_logical_efuse_map() 80 log_map[log_idx + 1] = phy_map[phy_idx + 1]; in rtw_dump_logical_efuse_map() 81 phy_idx += 2; in rtw_dump_logical_efuse_map()
|
/linux-6.3-rc2/drivers/phy/broadcom/ |
A D | phy-bcm-sr-pcie.c | 201 int phy_idx; in sr_pcie_phy_xlate() local 207 phy_idx = args->args[0]; in sr_pcie_phy_xlate() 209 if (WARN_ON(phy_idx >= SR_NR_PCIE_PHYS)) in sr_pcie_phy_xlate() 212 return core->phys[phy_idx].phy; in sr_pcie_phy_xlate() 221 unsigned int phy_idx = 0; in sr_pcie_phy_probe() local 252 for (phy_idx = 0; phy_idx < SR_NR_PCIE_PHYS; phy_idx++) { in sr_pcie_phy_probe() 253 struct sr_pcie_phy *p = &core->phys[phy_idx]; in sr_pcie_phy_probe() 256 if (phy_idx == SR_PAXC_PHY_IDX) in sr_pcie_phy_probe() 268 p->index = phy_idx; in sr_pcie_phy_probe()
|
A D | phy-bcm-sr-usb.c | 215 int phy_idx; in bcm_usb_phy_xlate() local 222 phy_idx = args->args[0]; in bcm_usb_phy_xlate() 224 if (WARN_ON(phy_idx > 1)) in bcm_usb_phy_xlate() 227 return phy_cfg[phy_idx].phy; in bcm_usb_phy_xlate()
|
/linux-6.3-rc2/drivers/net/ethernet/dec/tulip/ |
A D | media.c | 447 int phyn, phy_idx = 0; in tulip_find_mii() local 455 for (phyn = 1; phyn <= 32 && phy_idx < ARRAY_SIZE(tp->phys); phyn++) { in tulip_find_mii() 480 tp->advertising[phy_idx] = in tulip_find_mii() 482 } else if (tp->advertising[phy_idx]) { in tulip_find_mii() 483 to_advert = tp->advertising[phy_idx]; in tulip_find_mii() 485 tp->advertising[phy_idx] = in tulip_find_mii() 490 tp->phys[phy_idx++] = phy; in tulip_find_mii() 541 tp->mii_cnt = phy_idx; in tulip_find_mii() 542 if (tp->mtable && tp->mtable->has_mii && phy_idx == 0) { in tulip_find_mii()
|
/linux-6.3-rc2/drivers/net/wireless/broadcom/b43/ |
A D | tables_nphy.c | 3770 u8 phy_idx; in b43_nphy_get_gain_ctl_workaround_ent() local 3777 phy_idx = 3; in b43_nphy_get_gain_ctl_workaround_ent() 3779 phy_idx = 2; in b43_nphy_get_gain_ctl_workaround_ent() 3781 phy_idx = 1; in b43_nphy_get_gain_ctl_workaround_ent() 3783 phy_idx = 0; in b43_nphy_get_gain_ctl_workaround_ent() 3784 e = &nphy_gain_ctl_workaround[ghz5][phy_idx]; in b43_nphy_get_gain_ctl_workaround_ent()
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/ |
A D | mt76.h | 326 u8 phy_idx:2; member 615 u8 phy_idx:2; member 1016 mt76_dev_phy(struct mt76_dev *dev, u8 phy_idx) in mt76_dev_phy() argument 1018 if ((phy_idx == MT_BAND1 && dev->phys[phy_idx]) || in mt76_dev_phy() 1019 (phy_idx == MT_BAND2 && dev->phys[phy_idx])) in mt76_dev_phy() 1020 return dev->phys[phy_idx]; in mt76_dev_phy() 1026 mt76_phy_hw(struct mt76_dev *dev, u8 phy_idx) in mt76_phy_hw() argument 1028 return mt76_dev_phy(dev, phy_idx)->hw; in mt76_phy_hw() 1267 u8 phy_idx = (info->hw_queue & MT_TX_HW_QUEUE_PHY) >> 2; in mt76_tx_status_get_hw() local 1268 struct ieee80211_hw *hw = mt76_phy_hw(dev, phy_idx); in mt76_tx_status_get_hw()
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt7615/ |
A D | mac.c | 349 int phy_idx; in mt7615_mac_fill_rx() local 361 phy_idx = 0; in mt7615_mac_fill_rx() 363 phy_idx = -1; in mt7615_mac_fill_rx() 365 phy_idx = 0; in mt7615_mac_fill_rx() 367 phy_idx = 1; in mt7615_mac_fill_rx() 369 phy_idx = -1; in mt7615_mac_fill_rx() 496 if (phy_idx < 0) { in mt7615_mac_fill_rx() 503 if (phy_idx == 1 && phy2) { in mt7615_mac_fill_rx() 506 status->phy_idx = phy_idx; in mt7615_mac_fill_rx() 753 if (phy_idx && dev->mt76.phys[MT_BAND1]) in mt7615_mac_write_txwi() [all …]
|
A D | pci_mac.c | 80 u8 phy_idx = (info->hw_queue & MT_TX_HW_QUEUE_PHY) >> 2; in mt7615_tx_prepare_skb() local 82 if (phy_idx && mdev->phys[MT_BAND1]) in mt7615_tx_prepare_skb()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/ |
A D | dm_cp_psp.h | 38 uint8_t phy_idx; member
|
/linux-6.3-rc2/drivers/scsi/isci/ |
A D | phy.c | 122 int phy_idx = iphy->phy_index; in sci_phy_link_layer_initialization() local 131 phy_user = &ihost->user_parameters.phys[phy_idx]; in sci_phy_link_layer_initialization() 132 phy_oem = &ihost->oem_parameters.phys[phy_idx]; in sci_phy_link_layer_initialization() 147 writel(phy_idx, &llr->sas_device_name_low); in sci_phy_link_layer_initialization() 155 writel(SCU_SAS_TIPID_GEN_VALUE(ID, phy_idx), &llr->identify_frame_phy_id); in sci_phy_link_layer_initialization() 172 struct scu_afe_transceiver __iomem *xcvr = &afe->scu_afe_xcvr[phy_idx]; in sci_phy_link_layer_initialization()
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_ethtool.c | 195 u32 phy_idx = bnx2x_get_cur_phy_idx(bp); in bnx2x_get_port_type() local 196 switch (bp->link_params.phy[phy_idx].media_type) { in bnx2x_get_port_type() 373 u32 speed, phy_idx; in bnx2x_set_link_ksettings() local 643 phy_idx = bnx2x_get_cur_phy_idx(bp); in bnx2x_set_link_ksettings() 646 (bp->link_params.phy[phy_idx].media_type != in bnx2x_set_link_ksettings() 1508 int rc = -EINVAL, phy_idx; in bnx2x_get_module_eeprom() local 1518 phy_idx = bnx2x_get_cur_phy_idx(bp); in bnx2x_get_module_eeprom() 1572 int phy_idx, rc; in bnx2x_get_module_info() local 1580 phy_idx = bnx2x_get_cur_phy_idx(bp); in bnx2x_get_module_info() 1582 rc = bnx2x_read_sfp_module_eeprom(&bp->link_params.phy[phy_idx], in bnx2x_get_module_info() [all …]
|