| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/halbb_8852b/ |
| H A D | halbb_8852b_api.h | 46 struct bb_info; 47 bool halbb_set_pwr_ul_tb_ofst_8852b(struct bb_info *bb, 49 void halbb_tx_triangular_shap_cfg_8852b(struct bb_info *bb, u8 shape_idx, 51 void halbb_tx_dfir_shap_cck_8852b(struct bb_info *bb, u8 ch, u8 shape_idx, 53 bool halbb_ctrl_bw_ch_8852b(struct bb_info *bb, u8 pri_ch, u8 central_ch, 57 bool halbb_ctrl_rx_path_8852b(struct bb_info *bb, enum rf_path rx_path); 59 bool halbb_ctrl_tx_path_8852b(struct bb_info *bb, enum rf_path tx_path); 63 void halbb_gpio_ctrl_dump_8852b(struct bb_info *bb); 65 void halbb_gpio_rfm_8852b(struct bb_info *bb, enum bb_path path, 69 void halbb_gpio_trsw_table_8852b(struct bb_info *bb, enum bb_path path, [all …]
|
| H A D | halbb_8852b.h | 31 struct bb_info; 33 bool halbb_chk_pkg_valid_8852b(struct bb_info *bb, u8 bb_ver, u8 rf_ver); 34 void halbb_set_pmac_tx_8852b(struct bb_info *bb, struct halbb_pmac_info *tx_info, 37 void halbb_set_tmac_tx_8852b(struct bb_info *bb, enum phl_phy_idx phy_idx); 38 void halbb_ic_hw_setting_init_8852b(struct bb_info *bb); 39 void halbb_ic_hw_setting_8852b(struct bb_info *bb); 41 bool halbb_set_pd_lower_bound_8852b(struct bb_info *bb, u8 bound, 44 bool halbb_set_pd_lower_bound_cck_8852b(struct bb_info *bb, u8 bound, 47 u8 halbb_querry_pd_lower_bound_8852b(struct bb_info *bb, bool get_en_info, 49 void halbb_pop_en_8852b(struct bb_info *bb, bool en, enum phl_phy_idx phy_idx); [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/halbb_8852b/ |
| H A D | halbb_8852b_api.h | 46 struct bb_info; 47 bool halbb_set_pwr_ul_tb_ofst_8852b(struct bb_info *bb, 49 void halbb_tx_triangular_shap_cfg_8852b(struct bb_info *bb, u8 shape_idx, 51 void halbb_tx_dfir_shap_cck_8852b(struct bb_info *bb, u8 ch, u8 shape_idx, 53 bool halbb_ctrl_bw_ch_8852b(struct bb_info *bb, u8 pri_ch, u8 central_ch, 57 bool halbb_ctrl_rx_path_8852b(struct bb_info *bb, enum rf_path rx_path); 59 bool halbb_ctrl_tx_path_8852b(struct bb_info *bb, enum rf_path tx_path); 63 void halbb_gpio_ctrl_dump_8852b(struct bb_info *bb); 65 void halbb_gpio_rfm_8852b(struct bb_info *bb, enum bb_path path, 69 void halbb_gpio_trsw_table_8852b(struct bb_info *bb, enum bb_path path, [all …]
|
| H A D | halbb_8852b.h | 31 struct bb_info; 33 bool halbb_chk_pkg_valid_8852b(struct bb_info *bb, u8 bb_ver, u8 rf_ver); 34 void halbb_set_pmac_tx_8852b(struct bb_info *bb, struct halbb_pmac_info *tx_info, 37 void halbb_set_tmac_tx_8852b(struct bb_info *bb, enum phl_phy_idx phy_idx); 38 void halbb_ic_hw_setting_init_8852b(struct bb_info *bb); 39 void halbb_ic_hw_setting_8852b(struct bb_info *bb); 41 bool halbb_set_pd_lower_bound_8852b(struct bb_info *bb, u8 bound, 44 bool halbb_set_pd_lower_bound_cck_8852b(struct bb_info *bb, u8 bound, 47 u8 halbb_querry_pd_lower_bound_8852b(struct bb_info *bb, bool get_en_info, 49 void halbb_pop_en_8852b(struct bb_info *bb, bool en, enum phl_phy_idx phy_idx); [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/ |
| H A D | halbb_api_ex.h | 20 struct bb_info; 28 void halbb_dyn_1r_cca_en(struct bb_info *bb, bool en); 29 u8 halbb_wifi_event_notify(struct bb_info *bb, enum phl_msg_evt_id event, enum phl_phy_idx phy_idx); 30 u16 halbb_get_csi_buf_idx(struct bb_info *bb, u8 buf_idx, u8 txsc_idx); 31 u16 halbb_cfg_cmac_tx_ant(struct bb_info *bb, enum rf_path tx_path); 32 void halbb_gpio_setting_all(struct bb_info *bb, u8 rfe_idx); 33 void halbb_gpio_setting(struct bb_info *bb, u8 gpio_idx, enum bb_path path, 35 u8 halbb_get_txsc(struct bb_info *bb, u8 pri_ch, u8 central_ch, 38 void halbb_reset_bb(struct bb_info *bb); 40 u32 halbb_read_rf_reg(struct bb_info *bb, enum rf_path path, u32 addr, u32 mask); [all …]
|
| H A D | halbb_pmac_setting_ex.h | 65 struct bb_info; 67 void halbb_set_pmac_tx(struct bb_info *bb, struct halbb_pmac_info *tx_info, 70 void halbb_set_tmac_tx(struct bb_info *bb, enum phl_phy_idx phy_idx); 72 bool halbb_cfg_lbk(struct bb_info *bb, bool lbk_en, bool is_dgt_lbk, 76 bool halbb_set_txpwr_dbm(struct bb_info *bb, s16 pwr_dbm, 79 s16 halbb_get_txpwr_dbm(struct bb_info *bb, enum phl_phy_idx phy_idx); 81 s16 halbb_get_txinfo_txpwr_dbm(struct bb_info *bb); 83 bool halbb_set_cck_txpwr_idx(struct bb_info *bb, u16 pwr_idx, 86 u16 halbb_get_cck_txpwr_idx(struct bb_info *bb, enum rf_path tx_path); 88 s16 halbb_get_cck_ref_dbm(struct bb_info *bb, enum rf_path tx_path); [all …]
|
| H A D | halbb_interface_ex.h | 35 struct bb_info; 36 void halbb_set_reg(struct bb_info *bb, u32 addr, u32 mask, u32 val); 37 u32 halbb_get_reg(struct bb_info *bb, u32 addr, u32 bit_mask); 38 u32 rtw_halbb_c2h_parsing(struct bb_info *bb, u8 classid, u8 cmdid, u16 len, u8 *c2h); 39 u8 halbb_set_cmac_txpwr_mode(struct bb_info *bb, struct rtw_phl_stainfo_t *phl_sta_i); 40 u8 halbb_set_cmac_ntx_en(struct bb_info *bb, struct rtw_phl_stainfo_t *phl_sta_i); 41 u8 halbb_set_cmac_path_map_a(struct bb_info *bb, struct rtw_phl_stainfo_t *phl_sta_i); 42 u8 halbb_set_cmac_path_map_b(struct bb_info *bb, struct rtw_phl_stainfo_t *phl_sta_i); 43 u8 halbb_set_cmac_path_map_c(struct bb_info *bb, struct rtw_phl_stainfo_t *phl_sta_i); 44 u8 halbb_set_cmac_path_map_d(struct bb_info *bb, struct rtw_phl_stainfo_t *phl_sta_i); [all …]
|
| H A D | halbb_dbg.h | 214 struct bb_info; 215 void halbb_print_devider(struct bb_info *bb, u8 len, bool with_space); 217 void halbb_tdma_cr_sel_io_en(struct bb_info *bb); 218 void halbb_tdma_cr_timer_init(struct bb_info *bb); 219 void halbb_tdma_cr_sel_main(struct bb_info *bb); 220 void halbb_tdma_cr_sel_deinit(struct bb_info *bb); 221 void halbb_tdma_cr_sel_init(struct bb_info *bb); 223 void halbb_dbg_comp_init(struct bb_info *bb); 224 void halbb_bb_dbg_port_clock_en(struct bb_info *bb, u8 enable); 225 u32 halbb_get_bb_dbg_port_idx(struct bb_info *bb); [all …]
|
| H A D | halbb_cfo_trk.h | 148 struct bb_info; 151 void halbb_dyn_cfo_trk_loop_en(struct bb_info *bb, bool en); 152 void halbb_cfo_trk_loop_cr_cfg(struct bb_info *bb, enum bb_dctl_state_t state); 153 void halbb_dyn_cfo_trk_loop(struct bb_info *bb); 154 void halbb_dyn_cfo_trk_loop_init(struct bb_info *bb); 156 void halbb_cfo_deinit(struct bb_info *bb); 157 void halbb_cfo_trk_init(struct bb_info *bb); 158 void halbb_set_crystal_cap(struct bb_info *bb, u8 crystal_cap); 159 void halbb_set_cfo_pause_val(struct bb_info *bb, u32 *val_buf, u8 val_len); 160 void halbb_cfo_acc_io_en(struct bb_info *bb); [all …]
|
| H A D | halbb_api.h | 58 struct bb_info; 59 void halbb_reset_bb_phy(struct bb_info *bb, enum phl_phy_idx phy_idx); 60 u8 halbb_wifi_event_notify(struct bb_info *bb, enum phl_msg_evt_id event, enum phl_phy_idx phy_idx); 61 void halbb_gpio_setting_init(struct bb_info *bb); 62 void halbb_pre_agc_en(struct bb_info *bb, bool enable); 63 void halbb_set_gain_error(struct bb_info *bb, u8 central_ch); 64 u8 halbb_stop_ic_trx(struct bb_info *bb, u8 set_type); 65 void halbb_ic_api_dbg(struct bb_info *bb, char input[][16], u32 *_used, 67 void halbb_reset_adc(struct bb_info *bb); 68 void halbb_ic_hw_setting_non_io(struct bb_info *bb); [all …]
|
| H A D | halbb_ra.h | 259 struct bb_info; 260 bool halbb_is_cck_rate(struct bb_info *bb, u16 rate); 261 bool halbb_is_ofdm_rate(struct bb_info *bb, u16 rate); 262 bool halbb_is_ht_rate(struct bb_info *bb, u16 rate); 263 bool halbb_is_vht_rate(struct bb_info *bb, u16 rate); 264 bool halbb_is_he_rate(struct bb_info *bb, u16 rate); 265 u8 halbb_legacy_rate_2_spec_rate(struct bb_info *bb, u16 rate); 266 u8 halbb_rate_2_rate_digit(struct bb_info *bb, u16 rate); 267 u8 halbb_get_rx_stream_num(struct bb_info *bb, enum rf_type type); 268 u8 halbb_rate_type_2_num_ss(struct bb_info *bb, enum halbb_rate_type type); [all …]
|
| H A D | halbb_interface.c | 27 void halbb_cfg_timers(struct bb_info *bb, enum bb_timer_cfg_t cfg, in halbb_cfg_timers() 55 u32 halbb_get_sys_time(struct bb_info *bb) in halbb_get_sys_time() 60 u32 halbb_phy0_to_phy1_ofst(struct bb_info *bb, u32 addr) in halbb_phy0_to_phy1_ofst() 90 bool halbb_check_fw_ofld(struct bb_info *bb) in halbb_check_fw_ofld() 97 bool halbb_fw_set_reg(struct bb_info *bb, u32 addr, u32 mask, u32 val, u8 lc) in halbb_fw_set_reg() 121 bool halbb_fw_set_reg_cmn(struct bb_info *bb, u32 addr, in halbb_fw_set_reg_cmn() 138 void halbb_set_cr(struct bb_info *bb, u32 addr, u32 val) in halbb_set_cr() 146 u32 halbb_get_cr(struct bb_info *bb, u32 addr) in halbb_get_cr() 156 void halbb_set_reg(struct bb_info *bb, u32 addr, u32 mask, u32 val) in halbb_set_reg() 170 void halbb_set_reg_cmn(struct bb_info *bb, u32 addr, u32 mask, u32 val, enum phl_phy_idx phy_idx) in halbb_set_reg_cmn() [all …]
|
| H A D | halbb_psd.h | 78 struct bb_info; 80 void halbb_psd_igi_lv(struct bb_info *bb, enum igi_lv_sel igi_lv); 81 u32 halbb_get_psd_data(struct bb_info *bb, u32 psd_tone_idx, u32 igi_pin); 82 void halbb_psd_para_setting(struct bb_info *bb, u8 sw_avg_time, u8 hw_avg_time, 85 bool halbb_psd_alloc_buff(struct bb_info *bb); 86 void halbb_get_gain_index(struct bb_info *bb); 87 u8 halbb_psd(struct bb_info *bb, enum igi_lv_sel igi, u16 start_point, 89 void halbb_psd_dbg(struct bb_info *bb, char input[][16], u32 *_used, 91 void halbb_psd_init(struct bb_info *bb); 92 void halbb_psd_deinit(struct bb_info *bb); [all …]
|
| H A D | halbb_ant_div.h | 265 struct bb_info; 267 void halbb_antdiv_timers(struct bb_info *bb, enum bb_timer_cfg_t bb_antdiv_timer_state); 268 void halbb_cr_cfg_antdiv_init(struct bb_info *bb); 269 void halbb_antdiv_reg_init(struct bb_info *bb); 270 void halbb_antdiv_deinit(struct bb_info *bb); 271 void halbb_antdiv_init(struct bb_info *bb); 272 void halbb_antdiv_reset(struct bb_info *bb); 273 void halbb_antdiv_reset_training_stat(struct bb_info *bb); 274 void halbb_antdiv_set_ant(struct bb_info *bb, u8 ant); 275 void halbb_antdiv_get_highest_mcs(struct bb_info *bb); [all …]
|
| H A D | halbb_dig.h | 313 struct bb_info; 316 void halbb_dig_timercheck_watchdog(struct bb_info*); 317 void halbb_tdmadig_io_en(struct bb_info *bb); 318 void halbb_dig_timer_init(struct bb_info *bb); 321 void halbb_dig_lps(struct bb_info *bb); 322 void halbb_dig_cfg_bbcr(struct bb_info *bb, u8 igi_new); 323 void halbb_dig_new_entry_connect(struct bb_info *bb); 324 void halbb_dig(struct bb_info *bb); 325 void halbb_dig_init(struct bb_info *bb); 326 void halbb_dig_deinit(struct bb_info *bb); [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/ |
| H A D | halbb_api_ex.h | 20 struct bb_info; 28 void halbb_dyn_1r_cca_en(struct bb_info *bb, bool en); 29 u8 halbb_wifi_event_notify(struct bb_info *bb, enum phl_msg_evt_id event, enum phl_phy_idx phy_idx); 30 u16 halbb_get_csi_buf_idx(struct bb_info *bb, u8 buf_idx, u8 txsc_idx); 31 u16 halbb_cfg_cmac_tx_ant(struct bb_info *bb, enum rf_path tx_path); 32 void halbb_gpio_setting_all(struct bb_info *bb, u8 rfe_idx); 33 void halbb_gpio_setting(struct bb_info *bb, u8 gpio_idx, enum bb_path path, 35 u8 halbb_get_txsc(struct bb_info *bb, u8 pri_ch, u8 central_ch, 38 void halbb_reset_bb(struct bb_info *bb); 40 u32 halbb_read_rf_reg(struct bb_info *bb, enum rf_path path, u32 addr, u32 mask); [all …]
|
| H A D | halbb_pmac_setting_ex.h | 65 struct bb_info; 67 void halbb_set_pmac_tx(struct bb_info *bb, struct halbb_pmac_info *tx_info, 70 void halbb_set_tmac_tx(struct bb_info *bb, enum phl_phy_idx phy_idx); 72 bool halbb_cfg_lbk(struct bb_info *bb, bool lbk_en, bool is_dgt_lbk, 76 bool halbb_set_txpwr_dbm(struct bb_info *bb, s16 pwr_dbm, 79 s16 halbb_get_txpwr_dbm(struct bb_info *bb, enum phl_phy_idx phy_idx); 81 s16 halbb_get_txinfo_txpwr_dbm(struct bb_info *bb); 83 bool halbb_set_cck_txpwr_idx(struct bb_info *bb, u16 pwr_idx, 86 u16 halbb_get_cck_txpwr_idx(struct bb_info *bb, enum rf_path tx_path); 88 s16 halbb_get_cck_ref_dbm(struct bb_info *bb, enum rf_path tx_path); [all …]
|
| H A D | halbb_interface_ex.h | 35 struct bb_info; 36 void halbb_set_reg(struct bb_info *bb, u32 addr, u32 mask, u32 val); 37 u32 halbb_get_reg(struct bb_info *bb, u32 addr, u32 bit_mask); 38 u32 rtw_halbb_c2h_parsing(struct bb_info *bb, u8 classid, u8 cmdid, u16 len, u8 *c2h); 39 u8 halbb_set_cmac_txpwr_mode(struct bb_info *bb, struct rtw_phl_stainfo_t *phl_sta_i); 40 u8 halbb_set_cmac_ntx_en(struct bb_info *bb, struct rtw_phl_stainfo_t *phl_sta_i); 41 u8 halbb_set_cmac_path_map_a(struct bb_info *bb, struct rtw_phl_stainfo_t *phl_sta_i); 42 u8 halbb_set_cmac_path_map_b(struct bb_info *bb, struct rtw_phl_stainfo_t *phl_sta_i); 43 u8 halbb_set_cmac_path_map_c(struct bb_info *bb, struct rtw_phl_stainfo_t *phl_sta_i); 44 u8 halbb_set_cmac_path_map_d(struct bb_info *bb, struct rtw_phl_stainfo_t *phl_sta_i); [all …]
|
| H A D | halbb_dbg.h | 214 struct bb_info; 215 void halbb_print_devider(struct bb_info *bb, u8 len, bool with_space); 217 void halbb_tdma_cr_sel_io_en(struct bb_info *bb); 218 void halbb_tdma_cr_timer_init(struct bb_info *bb); 219 void halbb_tdma_cr_sel_main(struct bb_info *bb); 220 void halbb_tdma_cr_sel_deinit(struct bb_info *bb); 221 void halbb_tdma_cr_sel_init(struct bb_info *bb); 223 void halbb_dbg_comp_init(struct bb_info *bb); 224 void halbb_bb_dbg_port_clock_en(struct bb_info *bb, u8 enable); 225 u32 halbb_get_bb_dbg_port_idx(struct bb_info *bb); [all …]
|
| H A D | halbb_cfo_trk.h | 148 struct bb_info; 151 void halbb_dyn_cfo_trk_loop_en(struct bb_info *bb, bool en); 152 void halbb_cfo_trk_loop_cr_cfg(struct bb_info *bb, enum bb_dctl_state_t state); 153 void halbb_dyn_cfo_trk_loop(struct bb_info *bb); 154 void halbb_dyn_cfo_trk_loop_init(struct bb_info *bb); 156 void halbb_cfo_deinit(struct bb_info *bb); 157 void halbb_cfo_trk_init(struct bb_info *bb); 158 void halbb_set_crystal_cap(struct bb_info *bb, u8 crystal_cap); 159 void halbb_set_cfo_pause_val(struct bb_info *bb, u32 *val_buf, u8 val_len); 160 void halbb_cfo_acc_io_en(struct bb_info *bb); [all …]
|
| H A D | halbb_api.h | 58 struct bb_info; 59 void halbb_reset_bb_phy(struct bb_info *bb, enum phl_phy_idx phy_idx); 60 u8 halbb_wifi_event_notify(struct bb_info *bb, enum phl_msg_evt_id event, enum phl_phy_idx phy_idx); 61 void halbb_gpio_setting_init(struct bb_info *bb); 62 void halbb_pre_agc_en(struct bb_info *bb, bool enable); 63 void halbb_set_gain_error(struct bb_info *bb, u8 central_ch); 64 u8 halbb_stop_ic_trx(struct bb_info *bb, u8 set_type); 65 void halbb_ic_api_dbg(struct bb_info *bb, char input[][16], u32 *_used, 67 void halbb_reset_adc(struct bb_info *bb); 68 void halbb_ic_hw_setting_non_io(struct bb_info *bb); [all …]
|
| H A D | halbb_ra.h | 259 struct bb_info; 260 bool halbb_is_cck_rate(struct bb_info *bb, u16 rate); 261 bool halbb_is_ofdm_rate(struct bb_info *bb, u16 rate); 262 bool halbb_is_ht_rate(struct bb_info *bb, u16 rate); 263 bool halbb_is_vht_rate(struct bb_info *bb, u16 rate); 264 bool halbb_is_he_rate(struct bb_info *bb, u16 rate); 265 u8 halbb_legacy_rate_2_spec_rate(struct bb_info *bb, u16 rate); 266 u8 halbb_rate_2_rate_digit(struct bb_info *bb, u16 rate); 267 u8 halbb_get_rx_stream_num(struct bb_info *bb, enum rf_type type); 268 u8 halbb_rate_type_2_num_ss(struct bb_info *bb, enum halbb_rate_type type); [all …]
|
| H A D | halbb_interface.c | 27 void halbb_cfg_timers(struct bb_info *bb, enum bb_timer_cfg_t cfg, in halbb_cfg_timers() 55 u32 halbb_get_sys_time(struct bb_info *bb) in halbb_get_sys_time() 60 u32 halbb_phy0_to_phy1_ofst(struct bb_info *bb, u32 addr) in halbb_phy0_to_phy1_ofst() 90 bool halbb_check_fw_ofld(struct bb_info *bb) in halbb_check_fw_ofld() 97 bool halbb_fw_set_reg(struct bb_info *bb, u32 addr, u32 mask, u32 val, u8 lc) in halbb_fw_set_reg() 121 bool halbb_fw_set_reg_cmn(struct bb_info *bb, u32 addr, in halbb_fw_set_reg_cmn() 138 void halbb_set_cr(struct bb_info *bb, u32 addr, u32 val) in halbb_set_cr() 146 u32 halbb_get_cr(struct bb_info *bb, u32 addr) in halbb_get_cr() 156 void halbb_set_reg(struct bb_info *bb, u32 addr, u32 mask, u32 val) in halbb_set_reg() 170 void halbb_set_reg_cmn(struct bb_info *bb, u32 addr, u32 mask, u32 val, enum phl_phy_idx phy_idx) in halbb_set_reg_cmn() [all …]
|
| H A D | halbb_psd.h | 78 struct bb_info; 80 void halbb_psd_igi_lv(struct bb_info *bb, enum igi_lv_sel igi_lv); 81 u32 halbb_get_psd_data(struct bb_info *bb, u32 psd_tone_idx, u32 igi_pin); 82 void halbb_psd_para_setting(struct bb_info *bb, u8 sw_avg_time, u8 hw_avg_time, 85 bool halbb_psd_alloc_buff(struct bb_info *bb); 86 void halbb_get_gain_index(struct bb_info *bb); 87 u8 halbb_psd(struct bb_info *bb, enum igi_lv_sel igi, u16 start_point, 89 void halbb_psd_dbg(struct bb_info *bb, char input[][16], u32 *_used, 91 void halbb_psd_init(struct bb_info *bb); 92 void halbb_psd_deinit(struct bb_info *bb); [all …]
|
| H A D | halbb_ant_div.h | 265 struct bb_info; 267 void halbb_antdiv_timers(struct bb_info *bb, enum bb_timer_cfg_t bb_antdiv_timer_state); 268 void halbb_cr_cfg_antdiv_init(struct bb_info *bb); 269 void halbb_antdiv_reg_init(struct bb_info *bb); 270 void halbb_antdiv_deinit(struct bb_info *bb); 271 void halbb_antdiv_init(struct bb_info *bb); 272 void halbb_antdiv_reset(struct bb_info *bb); 273 void halbb_antdiv_reset_training_stat(struct bb_info *bb); 274 void halbb_antdiv_set_ant(struct bb_info *bb, u8 ant); 275 void halbb_antdiv_get_highest_mcs(struct bb_info *bb); [all …]
|