Home
last modified time | relevance | path

Searched refs:phy_idx (Results 1 – 25 of 41) sorted by relevance

12

/linux/drivers/net/wireless/realtek/rtw89/
A Drtw8852a.c770 phy_idx); in rtw8852a_ctrl_ch()
773 phy_idx); in rtw8852a_ctrl_ch()
863 phy_idx); in rtw8852a_ctrl_bw()
865 phy_idx); in rtw8852a_ctrl_bw()
871 phy_idx); in rtw8852a_ctrl_bw()
873 phy_idx); in rtw8852a_ctrl_bw()
879 phy_idx); in rtw8852a_ctrl_bw()
973 phy_idx); in rtw8852a_bb_reset_all()
975 phy_idx); in rtw8852a_bb_reset_all()
977 phy_idx); in rtw8852a_bb_reset_all()
[all …]
A Defuse.c74 u32 phy_idx = sec_ctrl_size; in rtw89_dump_logical_efuse_map() local
81 while (phy_idx < physical_size - sec_ctrl_size) { in rtw89_dump_logical_efuse_map()
82 hdr1 = phy_map[phy_idx]; in rtw89_dump_logical_efuse_map()
83 hdr2 = phy_map[phy_idx + 1]; in rtw89_dump_logical_efuse_map()
89 phy_idx += 2; in rtw89_dump_logical_efuse_map()
96 if (phy_idx + 1 > physical_size - sec_ctrl_size - 1 || in rtw89_dump_logical_efuse_map()
100 log_map[log_idx] = phy_map[phy_idx]; in rtw89_dump_logical_efuse_map()
101 log_map[log_idx + 1] = phy_map[phy_idx + 1]; in rtw89_dump_logical_efuse_map()
102 phy_idx += 2; in rtw89_dump_logical_efuse_map()
A Dcoex.h136 void rtw89_btc_ntfy_scan_start(struct rtw89_dev *rtwdev, u8 phy_idx, u8 band);
137 void rtw89_btc_ntfy_scan_finish(struct rtw89_dev *rtwdev, u8 phy_idx);
138 void rtw89_btc_ntfy_switch_band(struct rtw89_dev *rtwdev, u8 phy_idx, u8 band);
161 enum rtw89_phy_idx phy_idx, in rtw89_btc_phymap() argument
168 FIELD_PREP(BTC_RFK_PHY_MAP, BIT(phy_idx)) | in rtw89_btc_phymap()
175 enum rtw89_phy_idx phy_idx, in rtw89_btc_path_phymap() argument
178 return rtw89_btc_phymap(rtwdev, phy_idx, BIT(path)); in rtw89_btc_path_phymap()
A Drtw8852a_rfk.h12 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 Drtw8852a_rfk.c78 rtwdev->dbcc_en, phy_idx); in _kpath()
83 if (phy_idx == RTW89_PHY_0) in _kpath()
1517 switch (_kpath(rtwdev, phy_idx)) { in _iqk_afebb_restore()
1564 switch (_kpath(rtwdev, phy_idx)) { in _iqk_macbb_setting()
1582 u8 phy_idx = 0x0; in _iqk_dbcc() local
1587 phy_idx = RTW89_PHY_0; in _iqk_dbcc()
1589 phy_idx = RTW89_PHY_1; in _iqk_dbcc()
3693 _iqk_dbcc(rtwdev, phy_idx); in rtw8852a_iqk()
3695 _iqk(rtwdev, phy_idx, false); in rtw8852a_iqk()
3716 _rx_dck(rtwdev, phy_idx, is_afe); in rtw8852a_rx_dck()
[all …]
A Dmac.h786 enum rtw89_phy_idx phy_idx,
812 enum rtw89_phy_idx phy_idx, in rtw89_mac_txpwr_read32() argument
817 if (!rtw89_mac_get_txpwr_cr(rtwdev, phy_idx, reg_base, &cr)) in rtw89_mac_txpwr_read32()
825 enum rtw89_phy_idx phy_idx, in rtw89_mac_txpwr_write32() argument
830 if (!rtw89_mac_get_txpwr_cr(rtwdev, phy_idx, reg_base, &cr)) in rtw89_mac_txpwr_write32()
838 enum rtw89_phy_idx phy_idx, in rtw89_mac_txpwr_write32_mask() argument
843 if (!rtw89_mac_get_txpwr_cr(rtwdev, phy_idx, reg_base, &cr)) in rtw89_mac_txpwr_write32_mask()
A Dcam.c528 bssid_cam->phy_idx = rtwvif->phy_idx; in rtw89_cam_init_bssid_cam()
583 FWCMD_SET_ADDR_BSSID_BB_SEL(cmd, bssid_cam->phy_idx); in rtw89_cam_fill_bssid_cam_info()
637 FWCMD_SET_ADDR_BB_SEL(cmd, rtwvif->phy_idx); in rtw89_cam_fill_addr_cam_info()
A Dcoex.c3234 btc->cx.wl.dbcc_info.op_band[phy_idx]; in _update_dbcc_band()
3785 __func__, phy_idx, band); in rtw89_btc_ntfy_scan_start()
3788 wl->scan_info.band[phy_idx] = band; in rtw89_btc_ntfy_scan_start()
3789 wl->scan_info.phy_map |= BIT(phy_idx); in rtw89_btc_ntfy_scan_start()
3794 _update_dbcc_band(rtwdev, phy_idx); in rtw89_btc_ntfy_scan_start()
3815 _update_dbcc_band(rtwdev, phy_idx); in rtw89_btc_ntfy_scan_finish()
3829 __func__, phy_idx, band); in rtw89_btc_ntfy_switch_band()
3832 wl->scan_info.band[phy_idx] = band; in rtw89_btc_ntfy_switch_band()
3833 wl->scan_info.phy_map |= BIT(phy_idx); in rtw89_btc_ntfy_switch_band()
3838 _update_dbcc_band(rtwdev, phy_idx); in rtw89_btc_ntfy_switch_band()
[all …]
A Dphy.c319 ra->band_num = rtwvif->phy_idx; in rtw89_phy_ra_sta_update()
620 enum rtw89_phy_idx phy_idx) in rtw89_phy_bb_reset() argument
624 chip->ops->bb_reset(rtwdev, phy_idx); in rtw89_phy_bb_reset()
964 u32 data, enum rtw89_phy_idx phy_idx) in rtw89_phy_write32_idx() argument
966 if (rtwdev->dbcc_en && phy_idx == RTW89_PHY_1) in rtw89_phy_write32_idx()
2854 enum rtw89_phy_idx phy_idx = RTW89_PHY_0; in rtw89_phy_set_bss_color() local
2863 phy_idx); in rtw89_phy_set_bss_color()
2865 phy_idx); in rtw89_phy_set_bss_color()
2867 vif->bss_conf.aid, phy_idx); in rtw89_phy_set_bss_color()
/linux/drivers/net/wireless/realtek/rtw88/
A Defuse.c46 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/drivers/phy/broadcom/
A Dphy-bcm-sr-pcie.c201 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 Dphy-bcm-sr-usb.c215 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/drivers/net/ethernet/dec/tulip/
A Dmedia.c447 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()
A Dwinbond-840.c436 int phy, phy_idx = 0; in w840_probe1() local
437 for (phy = 1; phy < 32 && phy_idx < MII_CNT; phy++) { in w840_probe1()
440 np->phys[phy_idx++] = phy; in w840_probe1()
450 np->mii_cnt = phy_idx; in w840_probe1()
452 if (phy_idx == 0) { in w840_probe1()
/linux/drivers/net/wireless/broadcom/b43/
A Dtables_nphy.c3770 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/drivers/gpu/drm/amd/display/dc/
A Ddm_cp_psp.h37 uint8_t phy_idx; member
/linux/drivers/scsi/isci/
A Dphy.c122 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/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_ethtool.c195 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 …]
A Dbnx2x_link.c6302 u8 phy_idx; in bnx2x_set_led() local
6310 for (phy_idx = EXT_PHY1; phy_idx < MAX_PHYS; phy_idx++) { in bnx2x_set_led()
6312 params->phy[phy_idx].set_link_led( in bnx2x_set_led()
6683 u8 phy_idx, port = params->port; in bnx2x_update_link_up() local
6759 for (phy_idx = INT_PHY; phy_idx < MAX_PHYS; phy_idx++) { in bnx2x_update_link_up()
8225 for (phy_idx = INT_PHY; phy_idx < MAX_PHYS; phy_idx++) { in bnx2x_get_edc_mode()
8226 if (&(params->phy[phy_idx]) == phy) { in bnx2x_get_edc_mode()
12813 u32 phy_idx; in bnx2x_avoid_link_flap() local
12826 for (phy_idx = INT_PHY; phy_idx < params->num_phys; phy_idx++) { in bnx2x_avoid_link_flap()
13910 u16 phy_idx; in bnx2x_period_func() local
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
A Dmac.c266 int phy_idx; in mt7615_mac_fill_rx() local
276 phy_idx = 0; in mt7615_mac_fill_rx()
278 phy_idx = -1; in mt7615_mac_fill_rx()
280 phy_idx = 0; in mt7615_mac_fill_rx()
282 phy_idx = 1; in mt7615_mac_fill_rx()
284 phy_idx = -1; in mt7615_mac_fill_rx()
403 if (phy_idx < 0) { in mt7615_mac_fill_rx()
406 phy_idx = ((rxdg5 >> (first_chain * 8)) & 0xff) == 0; in mt7615_mac_fill_rx()
410 if (phy_idx == 1 && phy2) { in mt7615_mac_fill_rx()
/linux/drivers/net/ethernet/smsc/
A Depic100.c441 int phy, phy_idx = 0; in epic_init_one() local
442 for (phy = 1; phy < 32 && phy_idx < sizeof(ep->phys); phy++) { in epic_init_one()
445 ep->phys[phy_idx++] = phy; in epic_init_one()
452 ep->mii_phy_cnt = phy_idx; in epic_init_one()
453 if (phy_idx != 0) { in epic_init_one()
/linux/drivers/gpu/drm/amd/display/modules/inc/
A Dmod_hdcp.h251 uint8_t phy_idx; member
/linux/drivers/net/ethernet/intel/ice/
A Dice_ptp.c1533 u8 phy_idx = idx + tx->quad_offset; in ice_ptp_tx_tstamp_work() local
1538 err = ice_read_phy_tstamp(hw, tx->quad, phy_idx, in ice_ptp_tx_tstamp_work()
1672 u8 phy_idx = idx + tx->quad_offset; in ice_ptp_flush_tx_tracker() local
1684 ice_clear_phy_tstamp(&pf->hw, tx->quad, phy_idx); in ice_ptp_flush_tx_tracker()
/linux/drivers/net/ethernet/packetengines/
A Dyellowfin.c495 int phy, phy_idx = 0; in yellowfin_init_one() local
496 for (phy = 0; phy < 32 && phy_idx < MII_CNT; phy++) { in yellowfin_init_one()
499 np->phys[phy_idx++] = phy; in yellowfin_init_one()
505 np->mii_cnt = phy_idx; in yellowfin_init_one()
/linux/drivers/net/ethernet/
A Dfealnx.c568 int phy, phy_idx = 0; in fealnx_init_one() local
570 for (phy = 1; phy < 32 && phy_idx < ARRAY_SIZE(np->phys); in fealnx_init_one()
575 np->phys[phy_idx++] = phy; in fealnx_init_one()
600 np->mii_cnt = phy_idx; in fealnx_init_one()
601 if (phy_idx == 0) in fealnx_init_one()

Completed in 118 milliseconds

12