Lines Matching defs:rtwdev
379 static int rtw8852b_pwr_on_func(struct rtw89_dev *rtwdev) in rtw8852b_pwr_on_func()
506 static int rtw8852b_pwr_off_func(struct rtw89_dev *rtwdev) in rtw8852b_pwr_off_func()
575 static void rtw8852b_efuse_parsing_tssi(struct rtw89_dev *rtwdev, in rtw8852b_efuse_parsing_tssi()
616 static void rtw8852b_efuse_parsing_gain_offset(struct rtw89_dev *rtwdev, in rtw8852b_efuse_parsing_gain_offset()
641 static int rtw8852b_read_efuse(struct rtw89_dev *rtwdev, u8 *log_map) in rtw8852b_read_efuse()
666 static void rtw8852b_phycap_parsing_power_cal(struct rtw89_dev *rtwdev, u8 *phycap_map) in rtw8852b_phycap_parsing_power_cal()
676 static void rtw8852b_phycap_parsing_tssi(struct rtw89_dev *rtwdev, u8 *phycap_map) in rtw8852b_phycap_parsing_tssi()
710 static void rtw8852b_phycap_parsing_thermal_trim(struct rtw89_dev *rtwdev, in rtw8852b_phycap_parsing_thermal_trim()
730 static void rtw8852b_thermal_trim(struct rtw89_dev *rtwdev) in rtw8852b_thermal_trim()
758 static void rtw8852b_phycap_parsing_pa_bias_trim(struct rtw89_dev *rtwdev, in rtw8852b_phycap_parsing_pa_bias_trim()
778 static void rtw8852b_pa_bias_trim(struct rtw89_dev *rtwdev) in rtw8852b_pa_bias_trim()
804 static void rtw8852b_phycap_parsing_gain_comp(struct rtw89_dev *rtwdev, u8 *phycap_map) in rtw8852b_phycap_parsing_gain_comp()
829 static int rtw8852b_read_phycap(struct rtw89_dev *rtwdev, u8 *phycap_map) in rtw8852b_read_phycap()
840 static void rtw8852b_power_trim(struct rtw89_dev *rtwdev) in rtw8852b_power_trim()
846 static void rtw8852b_set_channel_mac(struct rtw89_dev *rtwdev, in rtw8852b_set_channel_mac()
904 static void rtw8852b_ctrl_sco_cck(struct rtw89_dev *rtwdev, u8 primary_ch) in rtw8852b_ctrl_sco_cck()
972 static void rtw8852b_set_gain_error(struct rtw89_dev *rtwdev, in rtw8852b_set_gain_error()
1006 static void rtw8852b_set_gain_offset(struct rtw89_dev *rtwdev, in rtw8852b_set_gain_offset()
1072 void rtw8852b_set_rxsc_rpl_comp(struct rtw89_dev *rtwdev, enum rtw89_subband subband) in rtw8852b_set_rxsc_rpl_comp()
1111 static void rtw8852b_ctrl_ch(struct rtw89_dev *rtwdev, in rtw8852b_ctrl_ch()
1170 static void rtw8852b_bw_setting(struct rtw89_dev *rtwdev, u8 bw, u8 path) in rtw8852b_bw_setting()
1201 static void rtw8852b_ctrl_bw(struct rtw89_dev *rtwdev, u8 pri_ch, u8 bw, in rtw8852b_ctrl_bw()
1288 static void rtw8852b_ctrl_cck_en(struct rtw89_dev *rtwdev, bool cck_en) in rtw8852b_ctrl_cck_en()
1299 static void rtw8852b_5m_mask(struct rtw89_dev *rtwdev, const struct rtw89_chan *chan, in rtw8852b_5m_mask()
1354 static void rtw8852b_bb_reset_all(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx) in rtw8852b_bb_reset_all()
1366 static void rtw8852b_bb_reset_en(struct rtw89_dev *rtwdev, enum rtw89_band band, in rtw8852b_bb_reset_en()
1390 static void rtw8852b_bb_reset(struct rtw89_dev *rtwdev, in rtw8852b_bb_reset()
1404 static void rtw8852b_bb_macid_ctrl_init(struct rtw89_dev *rtwdev, in rtw8852b_bb_macid_ctrl_init()
1414 static void rtw8852b_bb_sethw(struct rtw89_dev *rtwdev) in rtw8852b_bb_sethw()
1430 static void rtw8852b_bb_set_pop(struct rtw89_dev *rtwdev) in rtw8852b_bb_set_pop()
1436 static void rtw8852b_set_channel_bb(struct rtw89_dev *rtwdev, const struct rtw89_chan *chan, in rtw8852b_set_channel_bb()
1471 static void rtw8852b_set_channel(struct rtw89_dev *rtwdev, in rtw8852b_set_channel()
1481 static void rtw8852b_tssi_cont_en(struct rtw89_dev *rtwdev, bool en, in rtw8852b_tssi_cont_en()
1496 static void rtw8852b_tssi_cont_en_phyidx(struct rtw89_dev *rtwdev, bool en, in rtw8852b_tssi_cont_en_phyidx()
1510 static void rtw8852b_adc_en(struct rtw89_dev *rtwdev, bool en) in rtw8852b_adc_en()
1518 static void rtw8852b_set_channel_help(struct rtw89_dev *rtwdev, bool enter, in rtw8852b_set_channel_help()
1540 static void rtw8852b_rfk_init(struct rtw89_dev *rtwdev) in rtw8852b_rfk_init()
1551 static void rtw8852b_rfk_channel(struct rtw89_dev *rtwdev) in rtw8852b_rfk_channel()
1561 static void rtw8852b_rfk_band_changed(struct rtw89_dev *rtwdev, in rtw8852b_rfk_band_changed()
1567 static void rtw8852b_rfk_scan(struct rtw89_dev *rtwdev, bool start) in rtw8852b_rfk_scan()
1572 static void rtw8852b_rfk_track(struct rtw89_dev *rtwdev) in rtw8852b_rfk_track()
1577 static u32 rtw8852b_bb_cal_txpwr_ref(struct rtw89_dev *rtwdev, in rtw8852b_bb_cal_txpwr_ref()
1605 static void rtw8852b_set_txpwr_ref(struct rtw89_dev *rtwdev, in rtw8852b_set_txpwr_ref()
1637 static void rtw8852b_bb_set_tx_shape_dfir(struct rtw89_dev *rtwdev, in rtw8852b_bb_set_tx_shape_dfir()
1688 static void rtw8852b_set_tx_shape(struct rtw89_dev *rtwdev, in rtw8852b_set_tx_shape()
1704 static void rtw8852b_set_txpwr(struct rtw89_dev *rtwdev, in rtw8852b_set_txpwr()
1715 static void rtw8852b_set_txpwr_ctrl(struct rtw89_dev *rtwdev, in rtw8852b_set_txpwr_ctrl()
1722 void rtw8852b_set_txpwr_ul_tb_offset(struct rtw89_dev *rtwdev, in rtw8852b_set_txpwr_ul_tb_offset()
1744 rtw8852b_init_txpwr_unit(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy_idx) in rtw8852b_init_txpwr_unit()
1766 void rtw8852b_bb_set_plcp_tx(struct rtw89_dev *rtwdev) in rtw8852b_bb_set_plcp_tx()
1775 static void rtw8852b_stop_pmac_tx(struct rtw89_dev *rtwdev, in rtw8852b_stop_pmac_tx()
1786 static void rtw8852b_start_pmac_tx(struct rtw89_dev *rtwdev, in rtw8852b_start_pmac_tx()
1810 void rtw8852b_bb_set_pmac_tx(struct rtw89_dev *rtwdev, in rtw8852b_bb_set_pmac_tx()
1837 void rtw8852b_bb_set_pmac_pkt_tx(struct rtw89_dev *rtwdev, u8 enable, in rtw8852b_bb_set_pmac_pkt_tx()
1853 void rtw8852b_bb_set_power(struct rtw89_dev *rtwdev, s16 pwr_dbm, in rtw8852b_bb_set_power()
1862 void rtw8852b_bb_cfg_tx_path(struct rtw89_dev *rtwdev, u8 tx_path) in rtw8852b_bb_cfg_tx_path()
1882 void rtw8852b_bb_tx_mode_switch(struct rtw89_dev *rtwdev, in rtw8852b_bb_tx_mode_switch()
1899 void rtw8852b_bb_backup_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx idx, in rtw8852b_bb_backup_tssi()
1914 void rtw8852b_bb_restore_tssi(struct rtw89_dev *rtwdev, enum rtw89_phy_idx idx, in rtw8852b_bb_restore_tssi()
1931 static void rtw8852b_bb_ctrl_btc_preagc(struct rtw89_dev *rtwdev, bool bt_en) in rtw8852b_bb_ctrl_btc_preagc()
1937 static void rtw8852b_ctrl_btg(struct rtw89_dev *rtwdev, bool btg) in rtw8852b_ctrl_btg()
1980 void rtw8852b_bb_ctrl_rx_path(struct rtw89_dev *rtwdev, in rtw8852b_bb_ctrl_rx_path()
2035 static void rtw8852b_bb_ctrl_rf_mode_rx_path(struct rtw89_dev *rtwdev, in rtw8852b_bb_ctrl_rf_mode_rx_path()
2068 static void rtw8852b_bb_cfg_txrx_path(struct rtw89_dev *rtwdev) in rtw8852b_bb_cfg_txrx_path()
2091 static u8 rtw8852b_get_thermal(struct rtw89_dev *rtwdev, enum rtw89_rf_path rf_path) in rtw8852b_get_thermal()
2108 static void rtw8852b_btc_set_rfe(struct rtw89_dev *rtwdev) in rtw8852b_btc_set_rfe()
2136 void rtw8852b_set_trx_mask(struct rtw89_dev *rtwdev, u8 path, u8 group, u32 val) in rtw8852b_set_trx_mask()
2144 static void rtw8852b_btc_init_cfg(struct rtw89_dev *rtwdev) in rtw8852b_btc_init_cfg()
2188 void rtw8852b_btc_set_wl_pri(struct rtw89_dev *rtwdev, u8 map, bool state) in rtw8852b_btc_set_wl_pri()
2238 rtw8852b_btc_set_wl_txpwr_ctrl(struct rtw89_dev *rtwdev, u32 txpwr_val) in rtw8852b_btc_set_wl_txpwr_ctrl()
2284 s8 rtw8852b_btc_get_bt_rssi(struct rtw89_dev *rtwdev, s8 val) in rtw8852b_btc_get_bt_rssi()
2291 void rtw8852b_btc_update_bt_cnt(struct rtw89_dev *rtwdev) in rtw8852b_btc_update_bt_cnt()
2296 static void rtw8852b_btc_wl_s1_standby(struct rtw89_dev *rtwdev, bool state) in rtw8852b_btc_wl_s1_standby()
2311 static void rtw8852b_btc_set_wl_lna2(struct rtw89_dev *rtwdev, u8 level) in rtw8852b_btc_set_wl_lna2()
2341 static void rtw8852b_btc_set_wl_rx_gain(struct rtw89_dev *rtwdev, u32 level) in rtw8852b_btc_set_wl_rx_gain()
2364 static void rtw8852b_fill_freq_with_ppdu(struct rtw89_dev *rtwdev, in rtw8852b_fill_freq_with_ppdu()
2380 static void rtw8852b_query_ppdu(struct rtw89_dev *rtwdev, in rtw8852b_query_ppdu()
2396 static int rtw8852b_mac_enable_bb_rf(struct rtw89_dev *rtwdev) in rtw8852b_mac_enable_bb_rf()
2422 static int rtw8852b_mac_disable_bb_rf(struct rtw89_dev *rtwdev) in rtw8852b_mac_disable_bb_rf()