/linux-6.6.21/drivers/net/wireless/realtek/rtw89/ |
D | rtw8852a_rfk.c | 40 rtw89_phy_read32_mask(rtwdev, rtw8852a_backup_bb_regs[i], in _rfk_backup_bb_reg() 169 dack->addck_d[0][0] = (u16)rtw89_phy_read32_mask(rtwdev, R_S0_ADDCK, in _addck_backup() 171 dack->addck_d[0][1] = (u16)rtw89_phy_read32_mask(rtwdev, R_S0_ADDCK, in _addck_backup() 175 dack->addck_d[1][0] = (u16)rtw89_phy_read32_mask(rtwdev, R_S1_ADDCK, in _addck_backup() 177 dack->addck_d[1][1] = (u16)rtw89_phy_read32_mask(rtwdev, R_S1_ADDCK, in _addck_backup() 211 (u8)rtw89_phy_read32_mask(rtwdev, R_S0_DACKI7, B_S0_DACKI7_K); in _dack_backup_s0() 214 (u8)rtw89_phy_read32_mask(rtwdev, R_S0_DACKQ7, B_S0_DACKQ7_K); in _dack_backup_s0() 216 dack->biask_d[0][0] = (u16)rtw89_phy_read32_mask(rtwdev, R_S0_DACKI2, in _dack_backup_s0() 218 dack->biask_d[0][1] = (u16)rtw89_phy_read32_mask(rtwdev, R_S0_DACKQ2, in _dack_backup_s0() 220 dack->dadck_d[0][0] = (u8)rtw89_phy_read32_mask(rtwdev, R_S0_DACKI8, in _dack_backup_s0() [all …]
|
D | rtw8852b_rfk.c | 181 rtw89_phy_read32_mask(rtwdev, rtw8852b_backup_bb_regs[i], in _rfk_backup_bb_reg() 257 ret = read_poll_timeout_atomic(rtw89_phy_read32_mask, val, val == 0x55, in _iqk_check_cal() 265 fail = rtw89_phy_read32_mask(rtwdev, R_NCTL_RPT, B_NCTL_RPT_FLG); in _iqk_check_cal() 269 val = rtw89_phy_read32_mask(rtwdev, R_NCTL_RPT, MASKDWORD); in _iqk_check_cal() 385 ret = read_poll_timeout_atomic(rtw89_phy_read32_mask, val, val, 1, 10000, in _drck() 394 rck_d = rtw89_phy_read32_mask(rtwdev, R_DRCK_RS, B_DRCK_RS_LPS); in _drck() 399 rtw89_phy_read32_mask(rtwdev, R_DRCK_V1, MASKDWORD)); in _drck() 407 dack->addck_d[0][0] = rtw89_phy_read32_mask(rtwdev, R_ADDCKR0, B_ADDCKR0_A0); in _addck_backup() 408 dack->addck_d[0][1] = rtw89_phy_read32_mask(rtwdev, R_ADDCKR0, B_ADDCKR0_A1); in _addck_backup() 411 dack->addck_d[1][0] = rtw89_phy_read32_mask(rtwdev, R_ADDCKR1, B_ADDCKR1_A0); in _addck_backup() [all …]
|
D | rtw8851b_rfk.c | 202 ret = read_poll_timeout_atomic(rtw89_phy_read32_mask, val, val, in _drck() 213 rck_d = rtw89_phy_read32_mask(rtwdev, R_DRCK_RES, 0x7c00); in _drck() 218 rtw89_phy_read32_mask(rtwdev, R_DRCK, MASKDWORD)); in _drck() 227 dack->addck_d[0][0] = rtw89_phy_read32_mask(rtwdev, R_ADDCKR0, B_ADDCKR0_A0); in _addck_backup() 228 dack->addck_d[0][1] = rtw89_phy_read32_mask(rtwdev, R_ADDCKR0, B_ADDCKR0_A1); in _addck_backup() 250 rtw89_phy_read32_mask(rtwdev, R_DACK_S0P2, B_DACK_S0M0); in _dack_backup_s0() 254 rtw89_phy_read32_mask(rtwdev, R_DACK_S0P3, B_DACK_S0M1); in _dack_backup_s0() 258 rtw89_phy_read32_mask(rtwdev, R_DACK_BIAS00, B_DACK_BIAS00); in _dack_backup_s0() 260 rtw89_phy_read32_mask(rtwdev, R_DACK_BIAS01, B_DACK_BIAS01); in _dack_backup_s0() 262 rtw89_phy_read32_mask(rtwdev, R_DACK_DADCK00, B_DACK_DADCK00) + 24; in _dack_backup_s0() [all …]
|
D | rtw8852c_rfk.c | 98 rtw89_phy_read32_mask(rtwdev, rtw8852c_backup_bb_regs[i], in _rfk_backup_bb_reg() 221 dack->addck_d[0][0] = rtw89_phy_read32_mask(rtwdev, R_ADDCKR0, in _addck_backup() 223 dack->addck_d[0][1] = rtw89_phy_read32_mask(rtwdev, R_ADDCKR0, in _addck_backup() 227 dack->addck_d[1][0] = rtw89_phy_read32_mask(rtwdev, R_ADDCKR1, in _addck_backup() 229 dack->addck_d[1][1] = rtw89_phy_read32_mask(rtwdev, R_ADDCKR1, in _addck_backup() 257 dack->msbk_d[0][0][i] = rtw89_phy_read32_mask(rtwdev, in _dack_backup_s0() 261 dack->msbk_d[0][1][i] = rtw89_phy_read32_mask(rtwdev, in _dack_backup_s0() 265 dack->biask_d[0][0] = rtw89_phy_read32_mask(rtwdev, R_DACK_BIAS00, in _dack_backup_s0() 267 dack->biask_d[0][1] = rtw89_phy_read32_mask(rtwdev, R_DACK_BIAS01, in _dack_backup_s0() 269 dack->dadck_d[0][0] = rtw89_phy_read32_mask(rtwdev, R_DACK_DADCK00, in _dack_backup_s0() [all …]
|
D | phy.c | 667 return !!rtw89_phy_read32_mask(rtwdev, R_SWSI_V1, B_SWSI_W_BUSY_V1) || in rtw89_phy_check_swsi_busy() 668 !!rtw89_phy_read32_mask(rtwdev, R_SWSI_V1, B_SWSI_R_BUSY_V1); in rtw89_phy_check_swsi_busy() 687 val = rtw89_phy_read32_mask(rtwdev, direct_addr, mask); in rtw89_phy_read_rf() 715 ret = read_poll_timeout_atomic(rtw89_phy_read32_mask, done, done, 1, in rtw89_phy_read_rf_a() 723 return rtw89_phy_read32_mask(rtwdev, R_SWSI_V1, mask); in rtw89_phy_read_rf_a() 1494 return rtw89_phy_read32_mask(rtwdev, addr, mask); in rtw89_phy_read32_idx() 2498 dcfo_comp_val = rtw89_phy_read32_mask(rtwdev, R_DCFO, B_DCFO); in rtw89_dcfo_comp() 2905 rtw89_phy_read32_mask(rtwdev, R_DCFO_OPT, B_TXSHAPE_TRIANGULAR_CFG); in rtw89_phy_ul_tb_assoc() 3015 rtw89_phy_read32_mask(rtwdev, R_BANDEDGE, B_BANDEDGE_EN); in rtw89_phy_ul_tb_info_init() 3536 if (rtw89_phy_read32_mask(rtwdev, ccx->ifs_total_addr, in rtw89_phy_ifs_clm_get_result() [all …]
|
D | sar.c | 472 val = rtw89_phy_read32_mask(rtwdev, txpwr_regs[i].addr, in rtw89_tas_track()
|
D | phy.h | 481 static inline u32 rtw89_phy_read32_mask(struct rtw89_dev *rtwdev, in rtw89_phy_read32_mask() function
|
D | rtw8851b.c | 1454 rtw89_phy_read32_mask(rtwdev, R_P0_RPL1, B_P0_RPL1_BIAS_MASK); in rtw8851b_bb_sethw() 1456 rtw89_phy_read32_mask(rtwdev, R_P1_RPL1, B_P0_RPL1_BIAS_MASK); in rtw8851b_bb_sethw() 1892 return rtw89_phy_read32_mask(rtwdev, addr, B_TSSI_THER); in rtw8851b_get_thermal()
|
D | rtw8852b.c | 1425 rtw89_phy_read32_mask(rtwdev, R_P0_RPL1, B_P0_RPL1_BIAS_MASK); in rtw8852b_bb_sethw() 1427 rtw89_phy_read32_mask(rtwdev, R_P1_RPL1, B_P0_RPL1_BIAS_MASK); in rtw8852b_bb_sethw() 2096 return rtw89_phy_read32_mask(rtwdev, addr, 0x3F000000); in rtw8852b_get_thermal()
|
D | rtw8852c.c | 1616 rtw89_phy_read32_mask(rtwdev, R_RPL_BIAS_COMP, B_RPL_BIAS_COMP_MASK); in rtw8852c_bb_sethw() 1618 rtw89_phy_read32_mask(rtwdev, R_RPL_BIAS_COMP1, B_RPL_BIAS_COMP1_MASK); in rtw8852c_bb_sethw()
|
D | rtw8852a.c | 1638 return (u8)rtw89_phy_read32_mask(rtwdev, addr, 0x3F000000); in rtw8852a_get_thermal()
|