Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Drtw8852c.c964 phy_idx); in rtw8852c_ctrl_ch()
984 phy_idx); in rtw8852c_ctrl_ch()
1084 phy_idx); in rtw8852c_ctrl_bw()
1088 phy_idx); in rtw8852c_ctrl_bw()
1100 phy_idx); in rtw8852c_ctrl_bw()
1102 phy_idx); in rtw8852c_ctrl_bw()
1105 phy_idx); in rtw8852c_ctrl_bw()
1117 phy_idx); in rtw8852c_ctrl_bw()
1447 phy_idx); in rtw8852c_bb_reset_all()
1449 phy_idx); in rtw8852c_bb_reset_all()
[all …]
H A Drtw8852a.c894 phy_idx); in rtw8852a_ctrl_ch()
897 phy_idx); in rtw8852a_ctrl_ch()
987 phy_idx); in rtw8852a_ctrl_bw()
989 phy_idx); in rtw8852a_ctrl_bw()
995 phy_idx); in rtw8852a_ctrl_bw()
997 phy_idx); in rtw8852a_ctrl_bw()
1003 phy_idx); in rtw8852a_ctrl_bw()
1097 phy_idx); in rtw8852a_bb_reset_all()
1099 phy_idx); in rtw8852a_bb_reset_all()
1101 phy_idx); in rtw8852a_bb_reset_all()
[all …]
H A Drtw8852b.c1244 pri_ch, phy_idx); in rtw8852b_ctrl_bw()
1262 pri_ch, phy_idx); in rtw8852b_ctrl_bw()
1279 phy_idx); in rtw8852b_ctrl_bw()
1405 enum rtw89_phy_idx phy_idx) in rtw8852b_bb_macid_ctrl_init() argument
1497 u8 phy_idx) in rtw8852b_tssi_cont_en_phyidx() argument
1503 if (phy_idx == RTW89_PHY_0) in rtw8852b_tssi_cont_en_phyidx()
1556 rtw8852b_iqk(rtwdev, phy_idx); in rtw8852b_rfk_channel()
1558 rtw8852b_dpk(rtwdev, phy_idx); in rtw8852b_rfk_channel()
1627 phy_idx); in rtw8852b_set_txpwr_ref()
1634 phy_idx); in rtw8852b_set_txpwr_ref()
[all …]
H A Drtw8852c_rfk.h13 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);
H A Drtw8851b.c1113 pri_ch, phy_idx); in rtw8851b_ctrl_bw()
1125 pri_ch, phy_idx); in rtw8851b_ctrl_bw()
1184 0, phy_idx); in rtw8851b_set_csi_tone_idx()
1193 csi_tone_idx, phy_idx); in rtw8851b_set_csi_tone_idx()
1431 enum rtw89_phy_idx phy_idx) in rtw8851b_bb_macid_ctrl_init() argument
1517 u8 phy_idx) in rtw8851b_tssi_cont_en_phyidx() argument
1570 rtw8851b_iqk(rtwdev, phy_idx); in rtw8851b_rfk_channel()
1572 rtw8851b_dpk(rtwdev, phy_idx); in rtw8851b_rfk_channel()
1642 phy_idx); in rtw8851b_set_txpwr_ref()
1649 phy_idx); in rtw8851b_set_txpwr_ref()
[all …]
H A Dcoex.h148 void rtw89_btc_ntfy_scan_start(struct rtw89_dev *rtwdev, u8 phy_idx, u8 band);
149 void rtw89_btc_ntfy_scan_finish(struct rtw89_dev *rtwdev, u8 phy_idx);
150 void rtw89_btc_ntfy_switch_band(struct rtw89_dev *rtwdev, u8 phy_idx, u8 band);
176 enum rtw89_phy_idx phy_idx, in rtw89_btc_phymap() argument
183 FIELD_PREP(BTC_RFK_PHY_MAP, BIT(phy_idx)) | in rtw89_btc_phymap()
190 enum rtw89_phy_idx phy_idx, in rtw89_btc_path_phymap() argument
193 return rtw89_btc_phymap(rtwdev, phy_idx, BIT(path)); in rtw89_btc_path_phymap()
198 enum rtw89_phy_idx phy_idx) in rtw89_coex_query_bt_req_len() argument
H A Drtw8852b_rfk.h12 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);
H A Drtw8851b_rfk.h15 void rtw8851b_iqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx);
16 void rtw8851b_rx_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx);
23 enum rtw89_phy_idx phy_idx);
26 enum rtw89_phy_idx phy_idx);
H A Drtw8852a_rfk.h12 void rtw8852a_iqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx);
13 void rtw8852a_rx_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx,
21 enum rtw89_phy_idx phy_idx);
H A Defuse.c197 u32 phy_idx = sec_ctrl_size; in rtw89_dump_logical_efuse_map() local
207 while (phy_idx < physical_size - sec_ctrl_size) { in rtw89_dump_logical_efuse_map()
208 hdr1 = phy_map[phy_idx]; in rtw89_dump_logical_efuse_map()
209 hdr2 = phy_map[phy_idx + 1]; in rtw89_dump_logical_efuse_map()
215 phy_idx += 2; in rtw89_dump_logical_efuse_map()
222 if (phy_idx + 1 > physical_size - sec_ctrl_size - 1 || in rtw89_dump_logical_efuse_map()
226 log_map[log_idx] = phy_map[phy_idx]; in rtw89_dump_logical_efuse_map()
227 log_map[log_idx + 1] = phy_map[phy_idx + 1]; in rtw89_dump_logical_efuse_map()
228 phy_idx += 2; in rtw89_dump_logical_efuse_map()
H A Drtw8851b_rfk.c1390 _iqk_2g_nbtxk(rtwdev, phy_idx, path); in _iqk_by_path()
1393 _iqk_5g_nbtxk(rtwdev, phy_idx, path); in _iqk_by_path()
1405 _adc_fifo_rst(rtwdev, phy_idx, path); in _iqk_by_path()
1410 _iqk_2g_nbrxk(rtwdev, phy_idx, path); in _iqk_by_path()
1511 _iqk_by_path(rtwdev, phy_idx, path); in _iqk_start_iqk()
1611 _iqk_start_iqk(rtwdev, phy_idx, path); in _doiqk()
3268 _iqk(rtwdev, phy_idx, false); in rtw8851b_iqk()
3283 _rx_dck(rtwdev, phy_idx, false); in rtw8851b_rx_dck()
3300 _dpk(rtwdev, phy_idx, false); in rtw8851b_dpk()
3394 enum rtw89_phy_idx phy_idx) in rtw8851b_wifi_scan_notify() argument
[all …]
H A Drtw8852a_rfk.c18 rtwdev->dbcc_en, phy_idx); in _kpath()
23 if (phy_idx == RTW89_PHY_0) in _kpath()
1454 switch (_kpath(rtwdev, phy_idx)) { in _iqk_afebb_restore()
1501 switch (_kpath(rtwdev, phy_idx)) { in _iqk_macbb_setting()
1519 u8 phy_idx = 0x0; in _iqk_dbcc() local
1524 phy_idx = RTW89_PHY_0; in _iqk_dbcc()
1526 phy_idx = RTW89_PHY_1; in _iqk_dbcc()
3623 _iqk_dbcc(rtwdev, phy_idx); in rtw8852a_iqk()
3625 _iqk(rtwdev, phy_idx, false); in rtw8852a_iqk()
3641 _rx_dck(rtwdev, phy_idx, is_afe); in rtw8852a_rx_dck()
[all …]
H A Drtw8852b_rfk.c280 rtwdev->dbcc_en, phy_idx); in _kpath()
285 if (phy_idx == RTW89_PHY_0) in _kpath()
1381 _iqk_info_iqk(rtwdev, phy_idx, path); in _iqk_by_path()
1448 _iqk_by_path(rtwdev, phy_idx, path); in _iqk_start_iqk()
1489 kpath = _kpath(rtwdev, phy_idx); in _iqk_afebb_restore()
1535 kpath = _kpath(rtwdev, phy_idx); in _iqk_macbb_setting()
1642 u8 kpath = _kpath(rtwdev, phy_idx); in _iqk()
3776 _iqk(rtwdev, phy_idx, false); in rtw8852b_iqk()
3791 _rx_dck(rtwdev, phy_idx); in rtw8852b_rx_dck()
3808 _dpk(rtwdev, phy_idx, false); in rtw8852b_dpk()
[all …]
H A Drtw8852c_rfk.c81 rtwdev->dbcc_en, phy_idx); in _kpath()
86 if (phy_idx == RTW89_PHY_0) in _kpath()
1319 _iqk_info_iqk(rtwdev, phy_idx, path); in _iqk_by_path()
1368 _iqk_by_path(rtwdev, phy_idx, path); in _iqk_start_iqk()
1518 enum rtw89_phy_idx phy_idx, u8 path) in _doiqk() argument
1538 _iqk_start_iqk(rtwdev, phy_idx, path); in _doiqk()
1548 switch (_kpath(rtwdev, phy_idx)) { in _iqk()
3788 if (phy_idx == RTW89_PHY_0) in rtw8852c_tssi_cont_en_phyidx()
4043 enum rtw89_phy_idx phy_idx) in rtw8852c_set_channel_rf() argument
4096 _iqk(rtwdev, phy_idx, false); in rtw8852c_iqk()
[all …]
H A Dphy.h613 u32 data, enum rtw89_phy_idx phy_idx);
615 enum rtw89_phy_idx phy_idx);
622 enum rtw89_phy_idx phy_idx);
625 enum rtw89_phy_idx phy_idx);
628 enum rtw89_phy_idx phy_idx);
631 enum rtw89_phy_idx phy_idx);
H A Dmac.h1028 enum rtw89_phy_idx phy_idx,
1056 enum rtw89_phy_idx phy_idx, in rtw89_mac_txpwr_read32() argument
1061 if (!rtw89_mac_get_txpwr_cr(rtwdev, phy_idx, reg_base, &cr)) in rtw89_mac_txpwr_read32()
1069 enum rtw89_phy_idx phy_idx, in rtw89_mac_txpwr_write32() argument
1074 if (!rtw89_mac_get_txpwr_cr(rtwdev, phy_idx, reg_base, &cr)) in rtw89_mac_txpwr_write32()
1082 enum rtw89_phy_idx phy_idx, in rtw89_mac_txpwr_write32_mask() argument
1087 if (!rtw89_mac_get_txpwr_cr(rtwdev, phy_idx, reg_base, &cr)) in rtw89_mac_txpwr_write32_mask()
/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H 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()
/openbmc/linux/drivers/phy/broadcom/
H 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()
H 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()
/openbmc/u-boot/board/gdsys/a38x/
H A Dihs_phys.c143 uint bus_idx, uint m, uint phy_idx) in init_single_phy() argument
146 bus, 1 << (m * 8 + phy_idx), in init_single_phy()
149 printf(" %u", bus_idx * 32 + m * 8 + phy_idx); in init_single_phy()
178 uint phy_idx; in init_octo_phys() local
193 for (phy_idx = 0; phy_idx < 8; ++phy_idx) in init_octo_phys()
195 phy_idx); in init_octo_phys()
/openbmc/u-boot/drivers/usb/common/
H A Dfsl-dt-fixup.c152 int mode_idx = -1, phy_idx = -1; in fsl_fdt_fixup_dr_usb() local
167 phy_idx = j; in fsl_fdt_fixup_dr_usb()
172 if (mode_idx < 0 && phy_idx < 0) { in fsl_fdt_fixup_dr_usb()
180 if (phy_idx > -1) in fsl_fdt_fixup_dr_usb()
181 dr_phy_type = phys[phy_idx]; in fsl_fdt_fixup_dr_usb()
/openbmc/linux/drivers/net/ethernet/dec/tulip/
H 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()
/openbmc/linux/drivers/net/wireless/broadcom/b43/
H 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/
H A Ddm_cp_psp.h38 uint8_t phy_idx; member
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmac.c349 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()
497 if (phy_idx < 0) { in mt7615_mac_fill_rx()
504 if (phy_idx == 1 && phy2) { in mt7615_mac_fill_rx()
507 status->phy_idx = phy_idx; in mt7615_mac_fill_rx()
749 if (phy_idx && dev->mt76.phys[MT_BAND1]) in mt7615_mac_write_txwi()
[all …]

123