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()
899 u32 rtw_phy_read_rf(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, in rtw_phy_read_rf()
922 u32 rtw_phy_read_rf_sipi(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, in rtw_phy_read_rf_sipi()
971 bool rtw_phy_write_rf_reg_sipi(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, in rtw_phy_write_rf_reg_sipi()
1011 bool rtw_phy_write_rf_reg(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, in rtw_phy_write_rf_reg()
1035 bool rtw_phy_write_rf_reg_mix(struct rtw_dev *rtwdev, enum rtw_rf_path rf_path, in rtw_phy_write_rf_reg_mix()
1045 void rtw_phy_setup_phy_cond(struct rtw_dev *rtwdev, u32 pkg) in rtw_phy_setup_phy_cond()
1074 static bool check_positive(struct rtw_dev *rtwdev, struct rtw_phy_cond cond) in check_positive()
1094 void rtw_parse_tbl_phy_cond(struct rtw_dev *rtwdev, const struct rtw_table *tbl) in rtw_parse_tbl_phy_cond()
1140 static u8 tbl_to_dec_pwr_by_rate(struct rtw_dev *rtwdev, u32 hex, u8 i) in tbl_to_dec_pwr_by_rate()
1149 rtw_phy_get_rate_values_of_txpwr_by_rate(struct rtw_dev *rtwdev, in rtw_phy_get_rate_values_of_txpwr_by_rate()
1453 static void rtw_phy_store_tx_power_by_rate(struct rtw_dev *rtwdev, in rtw_phy_store_tx_power_by_rate()
1485 void rtw_parse_tbl_bb_pg(struct rtw_dev *rtwdev, const struct rtw_table *tbl) in rtw_parse_tbl_bb_pg()
1534 static void rtw_phy_set_tx_power_limit(struct rtw_dev *rtwdev, u8 regd, u8 band, in rtw_phy_set_tx_power_limit()
1569 rtw_xref_5g_txpwr_lmt(struct rtw_dev *rtwdev, u8 regd, in rtw_xref_5g_txpwr_lmt()
1589 rtw_xref_txpwr_lmt_by_rs(struct rtw_dev *rtwdev, u8 regd, u8 bw, u8 ch_idx) in rtw_xref_txpwr_lmt_by_rs()
1605 rtw_xref_5g_txpwr_lmt_by_ch(struct rtw_dev *rtwdev, u8 regd, u8 bw) in rtw_xref_5g_txpwr_lmt_by_ch()
1615 rtw_xref_txpwr_lmt_by_bw(struct rtw_dev *rtwdev, u8 regd) in rtw_xref_txpwr_lmt_by_bw()
1624 static void rtw_xref_txpwr_lmt(struct rtw_dev *rtwdev) in rtw_xref_txpwr_lmt()
1647 rtw_cfg_txpwr_lmt_by_alt(struct rtw_dev *rtwdev, u8 regd, u8 regd_alt) in rtw_cfg_txpwr_lmt_by_alt()
1657 void rtw_parse_tbl_txpwr_lmt(struct rtw_dev *rtwdev, in rtw_parse_tbl_txpwr_lmt()
1700 void rtw_phy_cfg_mac(struct rtw_dev *rtwdev, const struct rtw_table *tbl, in rtw_phy_cfg_mac()
1707 void rtw_phy_cfg_agc(struct rtw_dev *rtwdev, const struct rtw_table *tbl, in rtw_phy_cfg_agc()
1714 void rtw_phy_cfg_bb(struct rtw_dev *rtwdev, const struct rtw_table *tbl, in rtw_phy_cfg_bb()
1734 void rtw_phy_cfg_rf(struct rtw_dev *rtwdev, const struct rtw_table *tbl, in rtw_phy_cfg_rf()
1748 static void rtw_load_rfk_table(struct rtw_dev *rtwdev) in rtw_load_rfk_table()
1767 void rtw_phy_load_tables(struct rtw_dev *rtwdev) in rtw_phy_load_tables()
1876 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()
1907 static u8 rtw_phy_get_2g_tx_power_index(struct rtw_dev *rtwdev, in rtw_phy_get_2g_tx_power_index()
1954 static u8 rtw_phy_get_5g_tx_power_index(struct rtw_dev *rtwdev, in rtw_phy_get_5g_tx_power_index()
2027 static s8 rtw_phy_get_tx_power_limit(struct rtw_dev *rtwdev, u8 band, in rtw_phy_get_tx_power_limit()
2076 static s8 rtw_phy_get_tx_power_sar(struct rtw_dev *rtwdev, u8 sar_band, in rtw_phy_get_tx_power_sar()
2097 void rtw_get_tx_power_params(struct rtw_dev *rtwdev, u8 path, u8 rate, u8 bw, in rtw_get_tx_power_params()
2136 rtw_phy_get_tx_power_index(struct rtw_dev *rtwdev, u8 rf_path, u8 rate, in rtw_phy_get_tx_power_index()
2163 static void rtw_phy_set_tx_power_index_by_rs(struct rtw_dev *rtwdev, in rtw_phy_set_tx_power_index_by_rs()
2194 static void rtw_phy_set_tx_power_level_by_path(struct rtw_dev *rtwdev, in rtw_phy_set_tx_power_level_by_path()
2210 void rtw_phy_set_tx_power_level(struct rtw_dev *rtwdev, u8 channel) in rtw_phy_set_tx_power_level()
2305 static void rtw_phy_init_tx_power_limit(struct rtw_dev *rtwdev, in rtw_phy_init_tx_power_limit()
2321 void rtw_phy_init_tx_power(struct rtw_dev *rtwdev) in rtw_phy_init_tx_power()
2342 void rtw_phy_config_swing_table(struct rtw_dev *rtwdev, in rtw_phy_config_swing_table()
2384 void rtw_phy_pwrtrack_avg(struct rtw_dev *rtwdev, u8 thermal, u8 path) in rtw_phy_pwrtrack_avg()
2394 bool rtw_phy_pwrtrack_thermal_changed(struct rtw_dev *rtwdev, u8 thermal, in rtw_phy_pwrtrack_thermal_changed()
2407 u8 rtw_phy_pwrtrack_get_delta(struct rtw_dev *rtwdev, u8 path) in rtw_phy_pwrtrack_get_delta()
2420 s8 rtw_phy_pwrtrack_get_pwridx(struct rtw_dev *rtwdev, in rtw_phy_pwrtrack_get_pwridx()
2454 bool rtw_phy_pwrtrack_need_lck(struct rtw_dev *rtwdev) in rtw_phy_pwrtrack_need_lck()
2468 bool rtw_phy_pwrtrack_need_iqk(struct rtw_dev *rtwdev) in rtw_phy_pwrtrack_need_iqk()
2482 static void rtw_phy_set_tx_path_by_reg(struct rtw_dev *rtwdev, in rtw_phy_set_tx_path_by_reg()
2499 static void rtw_phy_tx_path_div_select(struct rtw_dev *rtwdev) in rtw_phy_tx_path_div_select()
2524 static void rtw_phy_tx_path_diversity_2ss(struct rtw_dev *rtwdev) in rtw_phy_tx_path_diversity_2ss()
2540 void rtw_phy_tx_path_diversity(struct rtw_dev *rtwdev) in rtw_phy_tx_path_diversity()