Home
last modified time | relevance | path

Searched refs:rtw89_phy_read32_mask (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/drivers/net/wireless/realtek/rtw89/
Drtw8852a_rfk.c40 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 …]
Drtw8852b_rfk.c182 rtw89_phy_read32_mask(rtwdev, rtw8852b_backup_bb_regs[i], in _rfk_backup_bb_reg()
258 ret = read_poll_timeout_atomic(rtw89_phy_read32_mask, val, val == 0x55, in _iqk_check_cal()
266 fail = rtw89_phy_read32_mask(rtwdev, R_NCTL_RPT, B_NCTL_RPT_FLG); in _iqk_check_cal()
270 val = rtw89_phy_read32_mask(rtwdev, R_NCTL_RPT, MASKDWORD); in _iqk_check_cal()
386 ret = read_poll_timeout_atomic(rtw89_phy_read32_mask, val, val, 1, 10000, in _drck()
395 rck_d = rtw89_phy_read32_mask(rtwdev, R_DRCK_RS, B_DRCK_RS_LPS); in _drck()
400 rtw89_phy_read32_mask(rtwdev, R_DRCK_V1, MASKDWORD)); in _drck()
408 dack->addck_d[0][0] = rtw89_phy_read32_mask(rtwdev, R_ADDCKR0, B_ADDCKR0_A0); in _addck_backup()
409 dack->addck_d[0][1] = rtw89_phy_read32_mask(rtwdev, R_ADDCKR0, B_ADDCKR0_A1); in _addck_backup()
412 dack->addck_d[1][0] = rtw89_phy_read32_mask(rtwdev, R_ADDCKR1, B_ADDCKR1_A0); in _addck_backup()
[all …]
Drtw8851b_rfk.c202 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 …]
Drtw8852bt_rfk.c156 rtw89_phy_read32_mask(rtwdev, rtw8852bt_backup_bb_regs[i], MASKDWORD); in _rfk_backup_bb_reg()
169 rtw89_phy_read32_mask(rtwdev, rtw8852bt_backup_kip_regs[i], in _rfk_backup_kip_reg()
454 ret = read_poll_timeout_atomic(rtw89_phy_read32_mask, val, val, in _drck()
465 rck_d = rtw89_phy_read32_mask(rtwdev, R_DRCK_RES, 0x7c00); in _drck()
470 rtw89_phy_read32_mask(rtwdev, R_DRCK, MASKDWORD)); in _drck()
483 rtw89_phy_read32_mask(rtwdev, R_DACK_S0P2, B_DACK_S0M0); in _dack_backup_s0()
487 rtw89_phy_read32_mask(rtwdev, R_DACK_S0P3, B_DACK_S0M1); in _dack_backup_s0()
491 rtw89_phy_read32_mask(rtwdev, R_DACK_BIAS00, B_DACK_BIAS00); in _dack_backup_s0()
493 rtw89_phy_read32_mask(rtwdev, R_DACK_BIAS01, B_DACK_BIAS01); in _dack_backup_s0()
496 rtw89_phy_read32_mask(rtwdev, R_DACK_DADCK00, B_DACK_DADCK00); in _dack_backup_s0()
[all …]
Drtw8852c_rfk.c100 rtw89_phy_read32_mask(rtwdev, rtw8852c_backup_bb_regs[i], in _rfk_backup_bb_reg()
223 dack->addck_d[0][0] = rtw89_phy_read32_mask(rtwdev, R_ADDCKR0, in _addck_backup()
225 dack->addck_d[0][1] = rtw89_phy_read32_mask(rtwdev, R_ADDCKR0, in _addck_backup()
229 dack->addck_d[1][0] = rtw89_phy_read32_mask(rtwdev, R_ADDCKR1, in _addck_backup()
231 dack->addck_d[1][1] = rtw89_phy_read32_mask(rtwdev, R_ADDCKR1, in _addck_backup()
259 dack->msbk_d[0][0][i] = rtw89_phy_read32_mask(rtwdev, in _dack_backup_s0()
263 dack->msbk_d[0][1][i] = rtw89_phy_read32_mask(rtwdev, in _dack_backup_s0()
267 dack->biask_d[0][0] = rtw89_phy_read32_mask(rtwdev, R_DACK_BIAS00, in _dack_backup_s0()
269 dack->biask_d[0][1] = rtw89_phy_read32_mask(rtwdev, R_DACK_BIAS01, in _dack_backup_s0()
271 dack->dadck_d[0][0] = rtw89_phy_read32_mask(rtwdev, R_DACK_DADCK00, in _dack_backup_s0()
[all …]
Drtw8922a_rfk.c236 tmp = rtw89_phy_read32_mask(rtwdev, R_COEF_SEL, BIT(0)); in rtw8922a_chlk_ktbl_sel()
238 tmp = rtw89_phy_read32_mask(rtwdev, R_COEF_SEL, BIT(1)); in rtw8922a_chlk_ktbl_sel()
248 tmp = rtw89_phy_read32_mask(rtwdev, R_COEF_SEL_C1, BIT(0)); in rtw8922a_chlk_ktbl_sel()
250 tmp = rtw89_phy_read32_mask(rtwdev, R_COEF_SEL_C1, BIT(1)); in rtw8922a_chlk_ktbl_sel()
Dphy.c786 return !!rtw89_phy_read32_mask(rtwdev, R_SWSI_V1, B_SWSI_W_BUSY_V1) || in rtw89_phy_check_swsi_busy()
787 !!rtw89_phy_read32_mask(rtwdev, R_SWSI_V1, B_SWSI_R_BUSY_V1); in rtw89_phy_check_swsi_busy()
806 val = rtw89_phy_read32_mask(rtwdev, direct_addr, mask); in rtw89_phy_read_rf()
834 ret = read_poll_timeout_atomic(rtw89_phy_read32_mask, done, done, 1, in rtw89_phy_read_rf_a()
842 return rtw89_phy_read32_mask(rtwdev, R_SWSI_V1, mask); in rtw89_phy_read_rf_a()
872 ret = read_poll_timeout_atomic(rtw89_phy_read32_mask, busy, !busy, in rtw89_phy_read_full_rf_v2_a()
884 ret = read_poll_timeout_atomic(rtw89_phy_read32_mask, done, done, in rtw89_phy_read_full_rf_v2_a()
893 val = rtw89_phy_read32_mask(rtwdev, r_addr_ofst[rf_path], RFREG_MASK); in rtw89_phy_read_full_rf_v2_a()
1016 ret = read_poll_timeout_atomic(rtw89_phy_read32_mask, busy, !busy, in rtw89_phy_write_full_rf_v2_a()
1755 return rtw89_phy_read32_mask(rtwdev, addr, mask); in rtw89_phy_read32_idx()
[all …]
Dsar.c474 val = rtw89_phy_read32_mask(rtwdev, txpwr_regs[i].addr, in rtw89_tas_track()
Drtw8852b_common.c1115 rtw89_phy_read32_mask(rtwdev, R_P0_RPL1, B_P0_RPL1_BIAS_MASK); in __rtw8852bx_bb_sethw()
1117 rtw89_phy_read32_mask(rtwdev, R_P1_RPL1, B_P0_RPL1_BIAS_MASK); in __rtw8852bx_bb_sethw()
1740 return rtw89_phy_read32_mask(rtwdev, addr, 0x3F000000); in __rtw8852bx_get_thermal()
Drtw8851b.c1482 rtw89_phy_read32_mask(rtwdev, R_P0_RPL1, B_P0_RPL1_BIAS_MASK); in rtw8851b_bb_sethw()
1484 rtw89_phy_read32_mask(rtwdev, R_P1_RPL1, B_P0_RPL1_BIAS_MASK); in rtw8851b_bb_sethw()
1926 return rtw89_phy_read32_mask(rtwdev, addr, B_TSSI_THER); in rtw8851b_get_thermal()
Dphy.h609 static inline u32 rtw89_phy_read32_mask(struct rtw89_dev *rtwdev, in rtw89_phy_read32_mask() function
Drtw8852c.c1678 rtw89_phy_read32_mask(rtwdev, R_RPL_BIAS_COMP, B_RPL_BIAS_COMP_MASK); in rtw8852c_bb_sethw()
1680 rtw89_phy_read32_mask(rtwdev, R_RPL_BIAS_COMP1, B_RPL_BIAS_COMP1_MASK); in rtw8852c_bb_sethw()
Drtw8852a.c1673 return (u8)rtw89_phy_read32_mask(rtwdev, addr, 0x3F000000); in rtw8852a_get_thermal()
Dfw.c2536 ret = read_poll_timeout(rtw89_phy_read32_mask, done, done, 50, 5000, in rtw89_fw_h2c_lps_ch_info()
5278 val32 = rtw89_phy_read32_mask(rtwdev, R_COEF_SEL, B_COEF_SEL_IQC_V1); in rtw89_fw_h2c_rf_pre_ntfy()
5280 val32 = rtw89_phy_read32_mask(rtwdev, R_COEF_SEL_C1, B_COEF_SEL_IQC_V1); in rtw89_fw_h2c_rf_pre_ntfy()
Drtw8922a.c1913 val = rtw89_phy_read32_mask(rtwdev, R_ADC_FIFO_V1, B_ADC_FIFO_EN_V1); in rtw8922a_adc_en_path()