/Linux-v6.1/drivers/net/wireless/realtek/rtw89/ |
D | rtw8852c_rfk.c | 125 rtw89_write_rf(rtwdev, rf_path, rtw8852c_backup_rf_regs[i], in _rfk_restore_rf_reg() 562 rtw89_write_rf(rtwdev, RF_PATH_A, RR_RSV1, RR_RSV1_RST, 0x0); in _dac_cal() 563 rtw89_write_rf(rtwdev, RF_PATH_B, RR_RSV1, RR_RSV1_RST, 0x0); in _dac_cal() 564 rtw89_write_rf(rtwdev, RF_PATH_A, RR_MOD, RFREG_MASK, 0x337e1); in _dac_cal() 565 rtw89_write_rf(rtwdev, RF_PATH_B, RR_MOD, RFREG_MASK, 0x337e1); in _dac_cal() 572 rtw89_write_rf(rtwdev, RF_PATH_A, RR_MODOPT, RFREG_MASK, 0x0); in _dac_cal() 573 rtw89_write_rf(rtwdev, RF_PATH_B, RR_MODOPT, RFREG_MASK, 0x0); in _dac_cal() 580 rtw89_write_rf(rtwdev, RF_PATH_A, RR_MOD, RFREG_MASK, rf0_0); in _dac_cal() 581 rtw89_write_rf(rtwdev, RF_PATH_B, RR_MOD, RFREG_MASK, rf1_0); in _dac_cal() 582 rtw89_write_rf(rtwdev, RF_PATH_A, RR_RSV1, RR_RSV1_RST, 0x1); in _dac_cal() [all …]
|
D | rtw8852a_rfk.c | 83 rtw89_write_rf(rtwdev, rf_path, rtw8852a_backup_rf_regs[i], in _rfk_restore_rf_reg() 508 rtw89_write_rf(rtwdev, RF_PATH_A, RR_RSV1, RR_RSV1_RST, 0x0); in _dac_cal() 509 rtw89_write_rf(rtwdev, RF_PATH_B, RR_RSV1, RR_RSV1_RST, 0x0); in _dac_cal() 510 rtw89_write_rf(rtwdev, RF_PATH_A, RR_MOD, RFREG_MASK, 0x30001); in _dac_cal() 511 rtw89_write_rf(rtwdev, RF_PATH_B, RR_MOD, RFREG_MASK, 0x30001); in _dac_cal() 517 rtw89_write_rf(rtwdev, RF_PATH_A, RR_MOD, RFREG_MASK, 0x40001); in _dac_cal() 518 rtw89_write_rf(rtwdev, RF_PATH_B, RR_MOD, RFREG_MASK, 0x40001); in _dac_cal() 519 rtw89_write_rf(rtwdev, RF_PATH_A, RR_MODOPT, RFREG_MASK, 0x0); in _dac_cal() 520 rtw89_write_rf(rtwdev, RF_PATH_B, RR_MODOPT, RFREG_MASK, 0x0); in _dac_cal() 526 rtw89_write_rf(rtwdev, RF_PATH_A, RR_MOD, RFREG_MASK, rf0_0); in _dac_cal() [all …]
|
D | rtw8852a.c | 618 rtw89_write_rf(rtwdev, i, RR_TM2, RR_TM2_OFF, val); in rtw8852a_thermal_trim() 668 rtw89_write_rf(rtwdev, i, RR_BIASA, RR_BIASA_TXG, pabias_2g); in rtw8852a_pa_bias_trim() 669 rtw89_write_rf(rtwdev, i, RR_BIASA, RR_BIASA_TXA, pabias_5g); in rtw8852a_pa_bias_trim() 784 rtw89_write_rf(rtwdev, path, RR_CFGCH, RFREG_MASK, val); in rtw8852a_ch_setting() 958 rtw89_write_rf(rtwdev, path, RR_CFGCH, RFREG_MASK, val); in rtw8852a_bw_setting() 1761 rtw89_write_rf(rtwdev, rf_path, RR_TM, RR_TM_TRI, 0x1); in rtw8852a_get_thermal() 1762 rtw89_write_rf(rtwdev, rf_path, RR_TM, RR_TM_TRI, 0x0); in rtw8852a_get_thermal() 1763 rtw89_write_rf(rtwdev, rf_path, RR_TM, RR_TM_TRI, 0x1); in rtw8852a_get_thermal() 1800 rtw89_write_rf(rtwdev, path, RR_LUTWE, 0xfffff, 0x20000); in rtw8852a_set_trx_mask() 1801 rtw89_write_rf(rtwdev, path, RR_LUTWA, 0xfffff, group); in rtw8852a_set_trx_mask() [all …]
|
D | rtw8852c.c | 527 rtw89_write_rf(rtwdev, i, RR_TM2, RR_TM2_OFF, val); in rtw8852c_thermal_trim() 577 rtw89_write_rf(rtwdev, i, RR_BIASA, RR_BIASA_TXG, pabias_2g); in rtw8852c_pa_bias_trim() 578 rtw89_write_rf(rtwdev, i, RR_BIASA, RR_BIASA_TXA, pabias_5g); in rtw8852c_pa_bias_trim() 2543 rtw89_write_rf(rtwdev, rf_path, RR_TM, RR_TM_TRI, 0x1); in rtw8852c_get_thermal() 2544 rtw89_write_rf(rtwdev, rf_path, RR_TM, RR_TM_TRI, 0x0); in rtw8852c_get_thermal() 2545 rtw89_write_rf(rtwdev, rf_path, RR_TM, RR_TM_TRI, 0x1); in rtw8852c_get_thermal() 2628 rtw89_write_rf(rtwdev, path, RR_LUTWE, RFREG_MASK, 0x20000); in rtw8852c_set_trx_mask() 2629 rtw89_write_rf(rtwdev, path, RR_LUTWA, RFREG_MASK, group); in rtw8852c_set_trx_mask() 2630 rtw89_write_rf(rtwdev, path, RR_LUTWD0, RFREG_MASK, val); in rtw8852c_set_trx_mask() 2631 rtw89_write_rf(rtwdev, path, RR_LUTWE, RFREG_MASK, 0x0); in rtw8852c_set_trx_mask() [all …]
|
D | phy.c | 1138 rtw89_write_rf(rtwdev, rf_path, reg->addr, 0xfffff, reg->data); in rtw89_phy_config_rf_reg() 1149 rtw89_write_rf(rtwdev, rf_path, reg->addr, RFREG_MASK, reg->data); in rtw89_phy_config_rf_reg_v1() 3812 rtw89_write_rf(rtwdev, def->path, def->addr, def->mask, def->data); in _rfk_write_rf()
|
D | debug.c | 305 rtw89_write_rf(rtwdev, path, addr, mask, val); in rtw89_debug_priv_write_rf_set()
|
D | core.h | 3777 rtw89_write_rf(struct rtw89_dev *rtwdev, enum rtw89_rf_path rf_path, in rtw89_write_rf() function
|