Lines Matching refs:rtw89_dev
122 static void _set_ch(struct rtw89_dev *rtwdev, u32 val);
135 static u8 _kpath(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx) in _kpath()
140 static void _adc_fifo_rst(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, in _adc_fifo_rst()
148 static void _rfk_rf_direct_cntrl(struct rtw89_dev *rtwdev, in _rfk_rf_direct_cntrl()
157 static void _rfk_drf_direct_cntrl(struct rtw89_dev *rtwdev, in _rfk_drf_direct_cntrl()
166 static void _wait_rx_mode(struct rtw89_dev *rtwdev, u8 kpath) in _wait_rx_mode()
185 static void _dack_reset(struct rtw89_dev *rtwdev, enum rtw89_rf_path path) in _dack_reset()
191 static void _drck(struct rtw89_dev *rtwdev) in _drck()
221 static void _addck_backup(struct rtw89_dev *rtwdev) in _addck_backup()
231 static void _addck_reload(struct rtw89_dev *rtwdev) in _addck_reload()
240 static void _dack_backup_s0(struct rtw89_dev *rtwdev) in _dack_backup_s0()
267 static void _dack_reload_by_path(struct rtw89_dev *rtwdev, in _dack_reload_by_path()
339 static void _dack_reload(struct rtw89_dev *rtwdev, enum rtw89_rf_path path) in _dack_reload()
347 static void _addck(struct rtw89_dev *rtwdev) in _addck()
372 static void _new_dadck(struct rtw89_dev *rtwdev) in _new_dadck()
415 static bool _dack_s0_poll(struct rtw89_dev *rtwdev) in _dack_s0_poll()
426 static void _dack_s0(struct rtw89_dev *rtwdev) in _dack_s0()
455 static void _dack(struct rtw89_dev *rtwdev) in _dack()
460 static void _dack_dump(struct rtw89_dev *rtwdev) in _dack_dump()
486 static void _dack_manual_off(struct rtw89_dev *rtwdev) in _dack_manual_off()
491 static void _dac_cal(struct rtw89_dev *rtwdev, bool force) in _dac_cal()
523 static void _rx_dck_info(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _rx_dck_info()
539 static void _rxbb_ofst_swap(struct rtw89_dev *rtwdev, enum rtw89_rf_path path, u8 rf_mode) in _rxbb_ofst_swap()
558 static void _set_rx_dck(struct rtw89_dev *rtwdev, enum rtw89_rf_path path, u8 rf_mode) in _set_rx_dck()
578 static void _rx_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, bool is_afe, in _rx_dck()
610 static void _iqk_sram(struct rtw89_dev *rtwdev, u8 path) in _iqk_sram()
640 static void _iqk_rxk_setting(struct rtw89_dev *rtwdev, u8 path) in _iqk_rxk_setting()
647 static bool _iqk_check_cal(struct rtw89_dev *rtwdev, u8 path) in _iqk_check_cal()
683 static bool _iqk_one_shot(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, in _iqk_one_shot()
769 static bool _rxk_2g_group_sel(struct rtw89_dev *rtwdev, in _rxk_2g_group_sel()
838 static bool _rxk_5g_group_sel(struct rtw89_dev *rtwdev, in _rxk_5g_group_sel()
914 static bool _iqk_5g_nbrxk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, in _iqk_5g_nbrxk()
980 static bool _iqk_2g_nbrxk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, in _iqk_2g_nbrxk()
1041 static void _iqk_rxclk_setting(struct rtw89_dev *rtwdev, u8 path) in _iqk_rxclk_setting()
1053 static bool _txk_5g_group_sel(struct rtw89_dev *rtwdev, in _txk_5g_group_sel()
1103 static bool _txk_2g_group_sel(struct rtw89_dev *rtwdev, in _txk_2g_group_sel()
1153 static bool _iqk_5g_nbtxk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, in _iqk_5g_nbtxk()
1197 static bool _iqk_2g_nbtxk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, in _iqk_2g_nbtxk()
1242 static bool _iqk_2g_lok(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, in _iqk_2g_lok()
1295 static bool _iqk_5g_lok(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, in _iqk_5g_lok()
1349 static void _iqk_txk_setting(struct rtw89_dev *rtwdev, u8 path) in _iqk_txk_setting()
1369 static void _iqk_by_path(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, in _iqk_by_path()
1426 static void _rfk_backup_bb_reg(struct rtw89_dev *rtwdev, in _rfk_backup_bb_reg()
1441 static void _rfk_backup_rf_reg(struct rtw89_dev *rtwdev, in _rfk_backup_rf_reg()
1456 static void _rfk_restore_bb_reg(struct rtw89_dev *rtwdev, in _rfk_restore_bb_reg()
1470 static void _rfk_restore_rf_reg(struct rtw89_dev *rtwdev, in _rfk_restore_rf_reg()
1485 static void _iqk_get_ch_info(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _iqk_get_ch_info()
1510 static void _iqk_start_iqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, in _iqk_start_iqk()
1516 static void _iqk_restore(struct rtw89_dev *rtwdev, u8 path) in _iqk_restore()
1535 static void _iqk_afebb_restore(struct rtw89_dev *rtwdev, in _iqk_afebb_restore()
1541 static void _iqk_preset(struct rtw89_dev *rtwdev, u8 path) in _iqk_preset()
1550 static void _iqk_macbb_setting(struct rtw89_dev *rtwdev, in _iqk_macbb_setting()
1558 static void _iqk_init(struct rtw89_dev *rtwdev) in _iqk_init()
1590 static void _doiqk(struct rtw89_dev *rtwdev, bool force, in _doiqk()
1624 static void _iqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, in _iqk()
1630 static void _dpk_bkup_kip(struct rtw89_dev *rtwdev, const u32 *reg, in _dpk_bkup_kip()
1644 static void _dpk_bkup_rf(struct rtw89_dev *rtwdev, const u32 *rf_reg, in _dpk_bkup_rf()
1657 static void _dpk_reload_kip(struct rtw89_dev *rtwdev, const u32 *reg, in _dpk_reload_kip()
1672 static void _dpk_reload_rf(struct rtw89_dev *rtwdev, const u32 *rf_reg, in _dpk_reload_rf()
1686 static void _dpk_one_shot(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _dpk_one_shot()
1726 static void _dpk_onoff(struct rtw89_dev *rtwdev, enum rtw89_rf_path path, in _dpk_onoff()
1743 static void _dpk_init(struct rtw89_dev *rtwdev, enum rtw89_rf_path path) in _dpk_init()
1752 static void _dpk_information(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _dpk_information()
1777 static void _dpk_rxagc_onoff(struct rtw89_dev *rtwdev, enum rtw89_rf_path path, in _dpk_rxagc_onoff()
1789 static void _dpk_bb_afe_setting(struct rtw89_dev *rtwdev, enum rtw89_rf_path path) in _dpk_bb_afe_setting()
1805 static void _dpk_bb_afe_restore(struct rtw89_dev *rtwdev, enum rtw89_rf_path path) in _dpk_bb_afe_restore()
1820 static void _dpk_tssi_pause(struct rtw89_dev *rtwdev, enum rtw89_rf_path path, in _dpk_tssi_pause()
1830 static void _dpk_tpg_sel(struct rtw89_dev *rtwdev, enum rtw89_rf_path path, u8 kidx) in _dpk_tpg_sel()
1850 static void _dpk_txpwr_bb_force(struct rtw89_dev *rtwdev, in _dpk_txpwr_bb_force()
1860 static void _dpk_kip_pwr_clk_onoff(struct rtw89_dev *rtwdev, bool turn_on) in _dpk_kip_pwr_clk_onoff()
1872 static void _dpk_kip_control_rfc(struct rtw89_dev *rtwdev, in _dpk_kip_control_rfc()
1882 static void _dpk_kip_preset(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _dpk_kip_preset()
1894 static void _dpk_kip_restore(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _dpk_kip_restore()
1904 static void _dpk_kset_query(struct rtw89_dev *rtwdev, enum rtw89_rf_path path) in _dpk_kset_query()
1914 static void _dpk_para_query(struct rtw89_dev *rtwdev, enum rtw89_rf_path path, u8 kidx) in _dpk_para_query()
1941 static bool _dpk_sync_check(struct rtw89_dev *rtwdev, enum rtw89_rf_path path, u8 kidx) in _dpk_sync_check()
1988 static void _dpk_kip_set_txagc(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _dpk_kip_set_txagc()
2005 static bool _dpk_kip_set_rxagc(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _dpk_kip_set_rxagc()
2017 static void _dpk_lbk_rxiqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _dpk_lbk_rxiqk()
2063 static void _dpk_rf_setting(struct rtw89_dev *rtwdev, enum rtw89_rf_path path, u8 kidx) in _dpk_rf_setting()
2085 static void _dpk_bypass_rxiqc(struct rtw89_dev *rtwdev, enum rtw89_rf_path path) in _dpk_bypass_rxiqc()
2093 static u16 _dpk_dgain_read(struct rtw89_dev *rtwdev) in _dpk_dgain_read()
2105 static u8 _dpk_gainloss_read(struct rtw89_dev *rtwdev) in _dpk_gainloss_read()
2118 static u8 _dpk_gainloss(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _dpk_gainloss()
2130 static u8 _dpk_pas_read(struct rtw89_dev *rtwdev, u8 is_check) in _dpk_pas_read()
2176 static u8 _dpk_agc(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _dpk_agc()
2276 static void _dpk_set_mdpd_para(struct rtw89_dev *rtwdev, u8 order) in _dpk_set_mdpd_para()
2315 static void _dpk_idl_mpa(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _dpk_idl_mpa()
2333 static u8 _dpk_order_convert(struct rtw89_dev *rtwdev) in _dpk_order_convert()
2360 static void _dpk_gain_normalize(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _dpk_gain_normalize()
2392 static void _dpk_on(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _dpk_on()
2414 static bool _dpk_main(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _dpk_main()
2455 static void _dpk_cal_select(struct rtw89_dev *rtwdev, bool force, in _dpk_cal_select()
2513 static void _dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, bool force, in _dpk()
2523 static void _dpk_track(struct rtw89_dev *rtwdev) in _dpk_track()
2590 static void _rck(struct rtw89_dev *rtwdev, enum rtw89_rf_path path) in _rck()
2625 static void _tssi_set_sys(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _tssi_set_sys()
2637 static void _tssi_ini_txpwr_ctrl_bb(struct rtw89_dev *rtwdev, in _tssi_ini_txpwr_ctrl_bb()
2644 static void _tssi_ini_txpwr_ctrl_bb_he_tb(struct rtw89_dev *rtwdev, in _tssi_ini_txpwr_ctrl_bb_he_tb()
2651 static void _tssi_set_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _tssi_set_dck()
2657 static void _tssi_set_tmeter_tbl(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _tssi_set_tmeter_tbl()
2755 static void _tssi_set_dac_gain_tbl(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _tssi_set_dac_gain_tbl()
2761 static void _tssi_slope_cal_org(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _tssi_slope_cal_org()
2771 static void _tssi_alignment_default(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _tssi_alignment_default()
2782 static void _tssi_set_tssi_slope(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _tssi_set_tssi_slope()
2788 static void _tssi_set_tssi_track(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _tssi_set_tssi_track()
2794 static void _tssi_set_txagc_offset_mv_avg(struct rtw89_dev *rtwdev, in _tssi_set_txagc_offset_mv_avg()
2801 static void _tssi_enable(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy) in _tssi_enable()
2820 static void _tssi_disable(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy) in _tssi_disable()
2831 static u32 _tssi_get_cck_group(struct rtw89_dev *rtwdev, u8 ch) in _tssi_get_cck_group()
2857 static u32 _tssi_get_ofdm_group(struct rtw89_dev *rtwdev, u8 ch) in _tssi_get_ofdm_group()
2925 static u32 _tssi_get_trim_group(struct rtw89_dev *rtwdev, u8 ch) in _tssi_get_trim_group()
2949 static s8 _tssi_get_ofdm_de(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _tssi_get_ofdm_de()
2984 static s8 _tssi_get_ofdm_trim_de(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _tssi_get_ofdm_trim_de()
3021 static void _tssi_set_efuse_to_de(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _tssi_set_efuse_to_de()
3076 static void _tssi_alimentk_dump_result(struct rtw89_dev *rtwdev, enum rtw89_rf_path path) in _tssi_alimentk_dump_result()
3099 static void _tssi_alimentk_done(struct rtw89_dev *rtwdev, in _tssi_alimentk_done()
3135 static void rtw8851b_by_rate_dpd(struct rtw89_dev *rtwdev) in rtw8851b_by_rate_dpd()
3141 void rtw8851b_dpk_init(struct rtw89_dev *rtwdev) in rtw8851b_dpk_init()
3146 void rtw8851b_aack(struct rtw89_dev *rtwdev) in rtw8851b_aack()
3191 static void _lck_keep_thermal(struct rtw89_dev *rtwdev) in _lck_keep_thermal()
3201 static void rtw8851b_lck(struct rtw89_dev *rtwdev) in rtw8851b_lck()
3224 void rtw8851b_lck_track(struct rtw89_dev *rtwdev) in rtw8851b_lck_track()
3244 void rtw8851b_lck_init(struct rtw89_dev *rtwdev) in rtw8851b_lck_init()
3249 void rtw8851b_rck(struct rtw89_dev *rtwdev) in rtw8851b_rck()
3254 void rtw8851b_dack(struct rtw89_dev *rtwdev) in rtw8851b_dack()
3259 void rtw8851b_iqk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, in rtw8851b_iqk()
3276 void rtw8851b_rx_dck(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, in rtw8851b_rx_dck()
3292 void rtw8851b_dpk(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx, in rtw8851b_dpk()
3310 void rtw8851b_dpk_track(struct rtw89_dev *rtwdev) in rtw8851b_dpk_track()
3315 void rtw8851b_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in rtw8851b_tssi()
3345 void rtw8851b_tssi_scan(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in rtw8851b_tssi_scan()
3367 static void rtw8851b_tssi_default_txagc(struct rtw89_dev *rtwdev, in rtw8851b_tssi_default_txagc()
3400 void rtw8851b_wifi_scan_notify(struct rtw89_dev *rtwdev, bool scan_start, in rtw8851b_wifi_scan_notify()
3410 static void _bw_setting(struct rtw89_dev *rtwdev, enum rtw89_rf_path path, in _bw_setting()
3452 static void _ctrl_bw(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _ctrl_bw()
3459 static bool _set_s0_arfc18(struct rtw89_dev *rtwdev, u32 val) in _set_s0_arfc18()
3479 static void _lck_check(struct rtw89_dev *rtwdev) in _lck_check()
3527 static void _set_ch(struct rtw89_dev *rtwdev, u32 val) in _set_ch()
3536 static void _ch_setting(struct rtw89_dev *rtwdev, enum rtw89_rf_path path, in _ch_setting()
3572 static void _ctrl_ch(struct rtw89_dev *rtwdev, u8 central_ch) in _ctrl_ch()
3578 static void _set_rxbb_bw(struct rtw89_dev *rtwdev, enum rtw89_bandwidth bw, in _set_rxbb_bw()
3599 static void _rxbb_bw(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy, in _rxbb_bw()
3614 static void rtw8851b_ctrl_bw_ch(struct rtw89_dev *rtwdev, in rtw8851b_ctrl_bw_ch()
3623 void rtw8851b_set_channel_rf(struct rtw89_dev *rtwdev, in rtw8851b_set_channel_rf()