Lines Matching refs:rtw_dev

111 static void rtw_phy_cck_pd_init(struct rtw_dev *rtwdev)  in rtw_phy_cck_pd_init()
124 void rtw_phy_set_edcca_th(struct rtw_dev *rtwdev, u8 l2h, u8 h2l) in rtw_phy_set_edcca_th()
139 void rtw_phy_adaptivity_set_mode(struct rtw_dev *rtwdev) in rtw_phy_adaptivity_set_mode()
166 static void rtw_phy_adaptivity_init(struct rtw_dev *rtwdev) in rtw_phy_adaptivity_init()
175 static void rtw_phy_adaptivity(struct rtw_dev *rtwdev) in rtw_phy_adaptivity()
181 static void rtw_phy_cfo_init(struct rtw_dev *rtwdev) in rtw_phy_cfo_init()
189 static void rtw_phy_tx_path_div_init(struct rtw_dev *rtwdev) in rtw_phy_tx_path_div_init()
200 void rtw_phy_init(struct rtw_dev *rtwdev) in rtw_phy_init()
227 void rtw_phy_dig_write(struct rtw_dev *rtwdev, u8 igi) in rtw_phy_dig_write()
246 static void rtw_phy_stat_false_alarm(struct rtw_dev *rtwdev) in rtw_phy_stat_false_alarm()
277 struct rtw_dev *rtwdev;
284 struct rtw_dev *rtwdev = iter_data->rtwdev; in rtw_phy_stat_rssi_iter()
296 static void rtw_phy_stat_rssi(struct rtw_dev *rtwdev) in rtw_phy_stat_rssi()
309 static void rtw_phy_stat_rate_cnt(struct rtw_dev *rtwdev) in rtw_phy_stat_rate_cnt()
317 static void rtw_phy_statistics(struct rtw_dev *rtwdev) in rtw_phy_statistics()
400 static void rtw_phy_dig_get_boundary(struct rtw_dev *rtwdev, in rtw_phy_dig_get_boundary()
480 static void rtw_phy_dig(struct rtw_dev *rtwdev) in rtw_phy_dig()
536 struct rtw_dev *rtwdev = data; in rtw_phy_ra_info_update_iter()
542 static void rtw_phy_ra_info_update(struct rtw_dev *rtwdev) in rtw_phy_ra_info_update()
550 static u32 rtw_phy_get_rrsr_mask(struct rtw_dev *rtwdev, u8 rate_idx) in rtw_phy_get_rrsr_mask()
585 struct rtw_dev *rtwdev = (struct rtw_dev *)data; in rtw_phy_rrsr_mask_min_iter()
595 static void rtw_phy_rrsr_update(struct rtw_dev *rtwdev) in rtw_phy_rrsr_update()
604 static void rtw_phy_dpk_track(struct rtw_dev *rtwdev) in rtw_phy_dpk_track()
613 struct rtw_dev *rtwdev;
623 struct rtw_dev *rtwdev = iter_data->rtwdev; in rtw_phy_parsing_cfo_iter()
641 void rtw_phy_parsing_cfo(struct rtw_dev *rtwdev, in rtw_phy_parsing_cfo()
660 static void rtw_phy_cfo_track(struct rtw_dev *rtwdev) in rtw_phy_cfo_track()
671 static u8 rtw_phy_cck_pd_lv_unlink(struct rtw_dev *rtwdev) in rtw_phy_cck_pd_lv_unlink()
692 static u8 rtw_phy_cck_pd_lv_link(struct rtw_dev *rtwdev) in rtw_phy_cck_pd_lv_link()
713 static u8 rtw_phy_cck_pd_lv(struct rtw_dev *rtwdev) in rtw_phy_cck_pd_lv()
721 static void rtw_phy_cck_pd(struct rtw_dev *rtwdev) in rtw_phy_cck_pd()
751 static void rtw_phy_pwr_track(struct rtw_dev *rtwdev) in rtw_phy_pwr_track()
756 static void rtw_phy_ra_track(struct rtw_dev *rtwdev) in rtw_phy_ra_track()
763 void rtw_phy_dynamic_mechanism(struct rtw_dev *rtwdev) in rtw_phy_dynamic_mechanism()
894 u32 rtw_phy_read_rf(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, in rtw_phy_read_rf()
917 u32 rtw_phy_read_rf_sipi(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, in rtw_phy_read_rf_sipi()
966 bool rtw_phy_write_rf_reg_sipi(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, in rtw_phy_write_rf_reg_sipi()
1006 bool rtw_phy_write_rf_reg(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, in rtw_phy_write_rf_reg()
1030 bool rtw_phy_write_rf_reg_mix(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, in rtw_phy_write_rf_reg_mix()
1040 void rtw_phy_setup_phy_cond(struct rtw_dev *rtwdev, u32 pkg) in rtw_phy_setup_phy_cond()
1069 static bool check_positive(struct rtw_dev *rtwdev, struct rtw_phy_cond cond) in check_positive()
1089 void rtw_parse_tbl_phy_cond(struct rtw_dev *rtwdev, const struct rtw_table *tbl) in rtw_parse_tbl_phy_cond()
1135 static u8 tbl_to_dec_pwr_by_rate(struct rtw_dev *rtwdev, u32 hex, u8 i) in tbl_to_dec_pwr_by_rate()
1144 rtw_phy_get_rate_values_of_txpwr_by_rate(struct rtw_dev *rtwdev, in rtw_phy_get_rate_values_of_txpwr_by_rate()
1448 static void rtw_phy_store_tx_power_by_rate(struct rtw_dev *rtwdev, in rtw_phy_store_tx_power_by_rate()
1480 void rtw_parse_tbl_bb_pg(struct rtw_dev *rtwdev, const struct rtw_table *tbl) in rtw_parse_tbl_bb_pg()
1529 static void rtw_phy_set_tx_power_limit(struct rtw_dev *rtwdev, u8 regd, u8 band, in rtw_phy_set_tx_power_limit()
1564 rtw_xref_5g_txpwr_lmt(struct rtw_dev *rtwdev, u8 regd, in rtw_xref_5g_txpwr_lmt()
1584 rtw_xref_txpwr_lmt_by_rs(struct rtw_dev *rtwdev, u8 regd, u8 bw, u8 ch_idx) in rtw_xref_txpwr_lmt_by_rs()
1600 rtw_xref_5g_txpwr_lmt_by_ch(struct rtw_dev *rtwdev, u8 regd, u8 bw) in rtw_xref_5g_txpwr_lmt_by_ch()
1610 rtw_xref_txpwr_lmt_by_bw(struct rtw_dev *rtwdev, u8 regd) in rtw_xref_txpwr_lmt_by_bw()
1619 static void rtw_xref_txpwr_lmt(struct rtw_dev *rtwdev) in rtw_xref_txpwr_lmt()
1642 rtw_cfg_txpwr_lmt_by_alt(struct rtw_dev *rtwdev, u8 regd, u8 regd_alt) in rtw_cfg_txpwr_lmt_by_alt()
1652 void rtw_parse_tbl_txpwr_lmt(struct rtw_dev *rtwdev, in rtw_parse_tbl_txpwr_lmt()
1695 void rtw_phy_cfg_mac(struct rtw_dev *rtwdev, const struct rtw_table *tbl, in rtw_phy_cfg_mac()
1702 void rtw_phy_cfg_agc(struct rtw_dev *rtwdev, const struct rtw_table *tbl, in rtw_phy_cfg_agc()
1709 void rtw_phy_cfg_bb(struct rtw_dev *rtwdev, const struct rtw_table *tbl, in rtw_phy_cfg_bb()
1729 void rtw_phy_cfg_rf(struct rtw_dev *rtwdev, const struct rtw_table *tbl, in rtw_phy_cfg_rf()
1743 static void rtw_load_rfk_table(struct rtw_dev *rtwdev) in rtw_load_rfk_table()
1762 void rtw_phy_load_tables(struct rtw_dev *rtwdev) in rtw_phy_load_tables()
1871 static s8 rtw_phy_get_dis_dpd_by_rate_diff(struct rtw_dev *rtwdev, u16 rate) in rtw_phy_get_dis_dpd_by_rate_diff()
1902 static u8 rtw_phy_get_2g_tx_power_index(struct rtw_dev *rtwdev, in rtw_phy_get_2g_tx_power_index()
1949 static u8 rtw_phy_get_5g_tx_power_index(struct rtw_dev *rtwdev, in rtw_phy_get_5g_tx_power_index()
2022 static s8 rtw_phy_get_tx_power_limit(struct rtw_dev *rtwdev, u8 band, in rtw_phy_get_tx_power_limit()
2071 static s8 rtw_phy_get_tx_power_sar(struct rtw_dev *rtwdev, u8 sar_band, in rtw_phy_get_tx_power_sar()
2092 void rtw_get_tx_power_params(struct rtw_dev *rtwdev, u8 path, u8 rate, u8 bw, in rtw_get_tx_power_params()
2131 rtw_phy_get_tx_power_index(struct rtw_dev *rtwdev, u8 rf_path, u8 rate, in rtw_phy_get_tx_power_index()
2158 static void rtw_phy_set_tx_power_index_by_rs(struct rtw_dev *rtwdev, in rtw_phy_set_tx_power_index_by_rs()
2189 static void rtw_phy_set_tx_power_level_by_path(struct rtw_dev *rtwdev, in rtw_phy_set_tx_power_level_by_path()
2205 void rtw_phy_set_tx_power_level(struct rtw_dev *rtwdev, u8 channel) in rtw_phy_set_tx_power_level()
2300 static void rtw_phy_init_tx_power_limit(struct rtw_dev *rtwdev, in rtw_phy_init_tx_power_limit()
2316 void rtw_phy_init_tx_power(struct rtw_dev *rtwdev) in rtw_phy_init_tx_power()
2337 void rtw_phy_config_swing_table(struct rtw_dev *rtwdev, in rtw_phy_config_swing_table()
2379 void rtw_phy_pwrtrack_avg(struct rtw_dev *rtwdev, u8 thermal, u8 path) in rtw_phy_pwrtrack_avg()
2389 bool rtw_phy_pwrtrack_thermal_changed(struct rtw_dev *rtwdev, u8 thermal, in rtw_phy_pwrtrack_thermal_changed()
2402 u8 rtw_phy_pwrtrack_get_delta(struct rtw_dev *rtwdev, u8 path) in rtw_phy_pwrtrack_get_delta()
2415 s8 rtw_phy_pwrtrack_get_pwridx(struct rtw_dev *rtwdev, in rtw_phy_pwrtrack_get_pwridx()
2449 bool rtw_phy_pwrtrack_need_lck(struct rtw_dev *rtwdev) in rtw_phy_pwrtrack_need_lck()
2463 bool rtw_phy_pwrtrack_need_iqk(struct rtw_dev *rtwdev) in rtw_phy_pwrtrack_need_iqk()
2477 static void rtw_phy_set_tx_path_by_reg(struct rtw_dev *rtwdev, in rtw_phy_set_tx_path_by_reg()
2494 static void rtw_phy_tx_path_div_select(struct rtw_dev *rtwdev) in rtw_phy_tx_path_div_select()
2519 static void rtw_phy_tx_path_diversity_2ss(struct rtw_dev *rtwdev) in rtw_phy_tx_path_diversity_2ss()
2535 void rtw_phy_tx_path_diversity(struct rtw_dev *rtwdev) in rtw_phy_tx_path_diversity()