/linux-6.12.1/drivers/net/wireless/realtek/rtw89/ |
D | rtw8922a.c | 232 rtw89_phy_write32_idx(rtwdev, R_BT_SHARE_A, B_BT_SHARE_A, 0x1, phy_idx); in rtw8922a_ctrl_btg_bt_rx() 233 rtw89_phy_write32_idx(rtwdev, R_BT_SHARE_A, B_BTG_PATH_A, 0x0, phy_idx); in rtw8922a_ctrl_btg_bt_rx() 234 rtw89_phy_write32_idx(rtwdev, R_BT_SHARE_B, B_BT_SHARE_B, 0x1, phy_idx); in rtw8922a_ctrl_btg_bt_rx() 235 rtw89_phy_write32_idx(rtwdev, R_BT_SHARE_B, B_BTG_PATH_B, 0x1, phy_idx); in rtw8922a_ctrl_btg_bt_rx() 236 rtw89_phy_write32_idx(rtwdev, R_LNA_OP, B_LNA6, 0x20, phy_idx); in rtw8922a_ctrl_btg_bt_rx() 237 rtw89_phy_write32_idx(rtwdev, R_LNA_TIA, B_TIA0_B, 0x30, phy_idx); in rtw8922a_ctrl_btg_bt_rx() 238 rtw89_phy_write32_idx(rtwdev, R_PMAC_GNT, B_PMAC_GNT_P1, 0x0, phy_idx); in rtw8922a_ctrl_btg_bt_rx() 239 rtw89_phy_write32_idx(rtwdev, R_ANT_CHBW, B_ANT_BT_SHARE, 0x1, phy_idx); in rtw8922a_ctrl_btg_bt_rx() 240 rtw89_phy_write32_idx(rtwdev, R_FC0INV_SBW, B_RX_BT_SG0, 0x2, phy_idx); in rtw8922a_ctrl_btg_bt_rx() 241 rtw89_phy_write32_idx(rtwdev, R_GNT_BT_WGT_EN, B_GNT_BT_WGT_EN, in rtw8922a_ctrl_btg_bt_rx() [all …]
|
D | rtw8852b_common.c | 687 rtw89_phy_write32_idx(rtwdev, R_P0_RPL1, B_P0_RPL1_BIAS_MASK, tmp, phy_idx); in rtw8852bx_set_gain_offset() 691 rtw89_phy_write32_idx(rtwdev, R_P1_RPL1, B_P0_RPL1_BIAS_MASK, tmp, phy_idx); in rtw8852bx_set_gain_offset() 759 rtw89_phy_write32_idx(rtwdev, R_PATH0_BAND_SEL_V1, in rtw8852bx_ctrl_ch() 762 rtw89_phy_write32_idx(rtwdev, R_PATH0_BAND_SEL_V1, in rtw8852bx_ctrl_ch() 767 rtw89_phy_write32_idx(rtwdev, R_PATH1_BAND_SEL_V1, in rtw8852bx_ctrl_ch() 770 rtw89_phy_write32_idx(rtwdev, R_PATH1_BAND_SEL_V1, in rtw8852bx_ctrl_ch() 775 rtw89_phy_write32_idx(rtwdev, R_FC0_BW_V1, B_FC0_BW_INV, sco_comp, phy_idx); in rtw8852bx_ctrl_ch() 914 rtw89_phy_write32_idx(rtwdev, R_FC0_BW_V1, B_FC0_BW_SET, 0x0, phy_idx); in rtw8852bx_ctrl_bw() 915 rtw89_phy_write32_idx(rtwdev, R_CHBW_MOD_V1, B_CHBW_MOD_SBW, 0x1, phy_idx); in rtw8852bx_ctrl_bw() 916 rtw89_phy_write32_idx(rtwdev, R_CHBW_MOD_V1, B_CHBW_MOD_PRICH, 0x0, phy_idx); in rtw8852bx_ctrl_bw() [all …]
|
D | rtw8852a.c | 876 rtw89_phy_write32_idx(rtwdev, R_PATH0_TIA_ERR_G1, in rtw8852a_ctrl_ch() 880 rtw89_phy_write32_idx(rtwdev, R_PATH0_TIA_ERR_G1, in rtw8852a_ctrl_ch() 888 rtw89_phy_write32_idx(rtwdev, R_P1_MODE, in rtw8852a_ctrl_ch() 892 rtw89_phy_write32_idx(rtwdev, R_P1_MODE, in rtw8852a_ctrl_ch() 905 rtw89_phy_write32_idx(rtwdev, R_FC0_BW, B_FC0_BW_INV, in rtw8852a_ctrl_ch() 911 rtw89_phy_write32_idx(rtwdev, R_P1_MODE, in rtw8852a_ctrl_ch() 915 rtw89_phy_write32_idx(rtwdev, R_P1_MODE, in rtw8852a_ctrl_ch() 920 rtw89_phy_write32_idx(rtwdev, R_FC0_BW, B_FC0_BW_INV, in rtw8852a_ctrl_ch() 926 rtw89_phy_write32_idx(rtwdev, R_BANDEDGE, B_BANDEDGE_EN, 1, in rtw8852a_ctrl_ch() 929 rtw89_phy_write32_idx(rtwdev, R_BANDEDGE, B_BANDEDGE_EN, 0, in rtw8852a_ctrl_ch() [all …]
|
D | rtw8852c.c | 964 rtw89_phy_write32_idx(rtwdev, R_RPL_PATHAB, rpl_mask[path], tmp & 0xff, phy_idx); in rtw8852c_set_gain_offset() 965 rtw89_phy_write32_idx(rtwdev, R_RSSI_M_PATHAB, rpl_tb_mask[path], tmp & 0xff, phy_idx); in rtw8852c_set_gain_offset() 991 rtw89_phy_write32_idx(rtwdev, R_PATH0_BAND_SEL_V1, in rtw8852c_ctrl_ch() 995 rtw89_phy_write32_idx(rtwdev, R_PATH0_BAND_SEL_V1, in rtw8852c_ctrl_ch() 1004 rtw89_phy_write32_idx(rtwdev, in rtw8852c_ctrl_ch() 1009 rtw89_phy_write32_idx(rtwdev, in rtw8852c_ctrl_ch() 1021 rtw89_phy_write32_idx(rtwdev, R_FC0_V1, B_FC0_MSK_V1, in rtw8852c_ctrl_ch() 1025 rtw89_phy_write32_idx(rtwdev, R_FC0_BW, B_FC0_BW_INV, sco, in rtw8852c_ctrl_ch() 1033 rtw89_phy_write32_idx(rtwdev, R_PATH1_BAND_SEL_V1, in rtw8852c_ctrl_ch() 1037 rtw89_phy_write32_idx(rtwdev, R_PATH1_BAND_SEL_V1, in rtw8852c_ctrl_ch() [all …]
|
D | rtw8851b.c | 986 rtw89_phy_write32_idx(rtwdev, R_P0_RPL1, B_P0_RPL1_BIAS_MASK, tmp, phy_idx); in rtw8851b_set_gain_offset() 990 rtw89_phy_write32_idx(rtwdev, R_P1_RPL1, B_P0_RPL1_BIAS_MASK, tmp, phy_idx); in rtw8851b_set_gain_offset() 1039 rtw89_phy_write32_idx(rtwdev, R_PATH0_BAND_SEL_V1, in rtw8851b_ctrl_ch() 1042 rtw89_phy_write32_idx(rtwdev, R_PATH0_BAND_SEL_V1, in rtw8851b_ctrl_ch() 1046 rtw89_phy_write32_idx(rtwdev, R_FC0_BW_V1, B_FC0_BW_INV, sco_comp, phy_idx); in rtw8851b_ctrl_ch() 1123 rtw89_phy_write32_idx(rtwdev, R_FC0_BW_V1, B_FC0_BW_SET, 0x0, phy_idx); in rtw8851b_ctrl_bw() 1124 rtw89_phy_write32_idx(rtwdev, R_CHBW_MOD_V1, B_CHBW_MOD_SBW, 0x1, phy_idx); in rtw8851b_ctrl_bw() 1125 rtw89_phy_write32_idx(rtwdev, R_CHBW_MOD_V1, B_CHBW_MOD_PRICH, 0x0, phy_idx); in rtw8851b_ctrl_bw() 1128 rtw89_phy_write32_idx(rtwdev, R_FC0_BW_V1, B_FC0_BW_SET, 0x0, phy_idx); in rtw8851b_ctrl_bw() 1129 rtw89_phy_write32_idx(rtwdev, R_CHBW_MOD_V1, B_CHBW_MOD_SBW, 0x2, phy_idx); in rtw8851b_ctrl_bw() [all …]
|
D | rtw8852bt.c | 423 rtw89_phy_write32_idx(rtwdev, R_S0_HW_SI_DIS, in rtw8852bt_bb_reset_en() 425 rtw89_phy_write32_idx(rtwdev, R_S1_HW_SI_DIS, in rtw8852bt_bb_reset_en() 427 rtw89_phy_write32_idx(rtwdev, R_RSTB_ASYNC, B_RSTB_ASYNC_ALL, 1, phy_idx); in rtw8852bt_bb_reset_en() 434 rtw89_phy_write32_idx(rtwdev, R_S0_HW_SI_DIS, in rtw8852bt_bb_reset_en() 436 rtw89_phy_write32_idx(rtwdev, R_S1_HW_SI_DIS, in rtw8852bt_bb_reset_en() 439 rtw89_phy_write32_idx(rtwdev, R_RSTB_ASYNC, B_RSTB_ASYNC_ALL, 0, phy_idx); in rtw8852bt_bb_reset_en()
|
D | rtw8852b.c | 451 rtw89_phy_write32_idx(rtwdev, R_S0_HW_SI_DIS, in rtw8852b_bb_reset_en() 453 rtw89_phy_write32_idx(rtwdev, R_S1_HW_SI_DIS, in rtw8852b_bb_reset_en() 455 rtw89_phy_write32_idx(rtwdev, R_RSTB_ASYNC, B_RSTB_ASYNC_ALL, 1, phy_idx); in rtw8852b_bb_reset_en() 462 rtw89_phy_write32_idx(rtwdev, R_S0_HW_SI_DIS, in rtw8852b_bb_reset_en() 464 rtw89_phy_write32_idx(rtwdev, R_S1_HW_SI_DIS, in rtw8852b_bb_reset_en() 467 rtw89_phy_write32_idx(rtwdev, R_RSTB_ASYNC, B_RSTB_ASYNC_ALL, 0, phy_idx); in rtw8852b_bb_reset_en()
|
D | phy.c | 1741 void rtw89_phy_write32_idx(struct rtw89_dev *rtwdev, u32 addr, u32 mask, in rtw89_phy_write32_idx() function 1748 EXPORT_SYMBOL(rtw89_phy_write32_idx); 1762 rtw89_phy_write32_idx(rtwdev, addr, mask, val, RTW89_PHY_0); in rtw89_phy_set_phy_regs() 1767 rtw89_phy_write32_idx(rtwdev, addr, mask, val, RTW89_PHY_1); in rtw89_phy_set_phy_regs() 4557 rtw89_phy_write32_idx(rtwdev, R_P0_TRSW, B_P0_ANT_TRAIN_EN, in rtw89_phy_antdiv_reg_init() 4559 rtw89_phy_write32_idx(rtwdev, R_P0_TRSW, B_P0_TX_ANT_SEL, in rtw89_phy_antdiv_reg_init() 4562 rtw89_phy_write32_idx(rtwdev, R_P0_ANT_SW, B_P0_TRSW_TX_EXTEND, in rtw89_phy_antdiv_reg_init() 4564 rtw89_phy_write32_idx(rtwdev, R_P0_ANT_SW, B_P0_HW_ANTSW_DIS_BY_GNT_BT, in rtw89_phy_antdiv_reg_init() 4567 rtw89_phy_write32_idx(rtwdev, R_P0_TRSW, B_P0_BT_FORCE_ANTIDX_EN, in rtw89_phy_antdiv_reg_init() 4570 rtw89_phy_write32_idx(rtwdev, R_RFSW_CTRL_ANT0_BASE, B_RFSW_CTRL_ANT_MAPPING, in rtw89_phy_antdiv_reg_init() [all …]
|
D | phy.h | 816 void rtw89_phy_write32_idx(struct rtw89_dev *rtwdev, u32 addr, u32 mask,
|