Home
last modified time | relevance | path

Searched refs:rtlpriv (Results 1 – 25 of 109) sorted by relevance

12345

/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dhal_bt_coexist.c25 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
29 rtlpriv->btcoexist.cstate |= in _rtl8723_dm_bt_check_wifi_state()
32 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
36 rtlpriv->btcoexist.cstate |= in _rtl8723_dm_bt_check_wifi_state()
39 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
43 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
45 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
51 rtlpriv->btcoexist.cstate |= in _rtl8723_dm_bt_check_wifi_state()
53 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
55 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state()
[all …]
H A Dhw.c92 rtlpriv->cfg->ops->get_hw_reg(hw, in rtl8723e_get_hw_reg()
287 rtl_write_byte(rtlpriv, in rtl8723e_set_hw_reg()
369 rtl_write_word(rtlpriv, REG_RL, in rtl8723e_set_hw_reg()
434 rtl_read_byte(rtlpriv, in rtl8723e_set_hw_reg()
447 rtl_write_byte(rtlpriv, in rtl8723e_set_hw_reg()
886 if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) { in rtl8723e_enable_hw_security_config()
1797 value32 = rtl_read_dword(rtlpriv, rtlpriv->cfg->maps[EFUSE_TEST]); in rtl8723e_read_eeprom_info()
1799 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[EFUSE_TEST], value32); in rtl8723e_read_eeprom_info()
2058 if (rtlpriv->dm.useramask) in rtl8723e_update_hal_rate_tbl()
2259 rtlpriv->sec.key_buf in rtl8723e_set_key()
[all …]
H A Ddm.c33 rtlpriv->dm.undec_sm_pwdb) ? in rtl8723e_dm_initial_gain_min_pwdb()
34 rtlpriv->dm.undec_sm_pwdb : in rtl8723e_dm_initial_gain_min_pwdb()
407 if (rtlpriv->dm.dynamic_txhighpower_lvl != rtlpriv->dm.last_dtp_lvl) { in rtl8723e_dm_dynamic_txpower()
414 rtlpriv->dm.last_dtp_lvl = rtlpriv->dm.dynamic_txhighpower_lvl; in rtl8723e_dm_dynamic_txpower()
486 rtl_write_dword(rtlpriv, in rtl8723e_dm_check_edca_turbo()
494 rtl_write_dword(rtlpriv, in rtl8723e_dm_check_edca_turbo()
526 rtlpriv->dm.txpower_tracking); in rtl8723e_dm_initialize_txpower_tracking_thermalmeter()
548 rtlpriv->dm.useramask = true; in rtl8723e_dm_init_rate_adaptive_mask()
569 if (!rtlpriv->dm.useramask) { in rtl8723e_dm_refresh_rate_adaptive_mask()
617 rtlpriv->dm.undec_sm_pwdb); in rtl8723e_dm_refresh_rate_adaptive_mask()
[all …]
H A Dhal_btc.c16 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() local
19 if (!rtlpriv->btcoexist.bt_coexistence) in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
25 rtlpriv->btcoexist.cstate = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
27 rtlpriv->btcoexist.cstate_h = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
117 rtlpriv->btcoexist.cstate |= in rtl8723e_dm_bt_need_to_dec_bt_pwr()
131 rtlpriv->btcoexist.cstate) && in rtl8723e_dm_bt_is_same_coexist_state()
346 rtlpriv->btcoexist.cstate |= in rtl8723e_dm_bt_is_2_ant_common_action()
1386 rtlpriv->btcoexist.cstate &= in rtl8723e_dm_bt_inq_page_monitor()
1396 rtlpriv->btcoexist.cstate &= ~ in rtl8723e_dm_bt_reset_action_profile_state()
1639 rtlpriv->btcoexist.cstate); in rtl8723e_dm_bt_coexist_8723()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
H A Ddm_common.c668 rtl_write_dword(rtlpriv, in rtl92c_dm_check_edca_turbo()
676 rtl_write_dword(rtlpriv, in rtl92c_dm_check_edca_turbo()
804 rtlpriv->dm.thermalvalue = in rtl92c_dm_txpower_tracking_callback_thermalmeter()
853 rtlpriv->dm.cck_index); in rtl92c_dm_txpower_tracking_callback_thermalmeter()
858 rtlpriv->dm.cck_index); in rtl92c_dm_txpower_tracking_callback_thermalmeter()
1203 if (!rtlpriv->reg_init) { in rtl92c_dm_rf_saving()
1217 rtlpriv->reg_init = true; in rtl92c_dm_rf_saving()
1256 rtlpriv->reg_c70); in rtl92c_dm_rf_saving()
1258 rtlpriv->reg_85c); in rtl92c_dm_rf_saving()
1398 if ((rtlpriv->dm.dynamic_txhighpower_lvl != rtlpriv->dm.last_dtp_lvl)) { in rtl92c_dm_dynamic_txpower()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Ddm.c551 if ((rtlpriv->dm.dynamic_txhighpower_lvl != rtlpriv->dm.last_dtp_lvl)) { in rtl92d_dm_dynamic_txpower()
557 rtlpriv->dm.last_dtp_lvl = rtlpriv->dm.dynamic_txhighpower_lvl; in rtl92d_dm_dynamic_txpower()
568 if (rtlpriv->dm.useramask) { in rtl92d_dm_pwdb_monitor()
691 if (rtlpriv->dm.cck_inch14) in rtl92d_bandtype_2_4G()
702 rtlpriv->dm.cck_inch14); in rtl92d_bandtype_2_4G()
899 rtlpriv->dm.thermalvalue_avg in rtl92d_dm_txpower_tracking_callback_thermalmeter()
979 rtlpriv->dm.ofdm_index[0], in rtl92d_dm_txpower_tracking_callback_thermalmeter()
980 rtlpriv->dm.ofdm_index[1], in rtl92d_dm_txpower_tracking_callback_thermalmeter()
981 rtlpriv->dm.cck_index); in rtl92d_dm_txpower_tracking_callback_thermalmeter()
985 rtlpriv->dm.ofdm_index[0], in rtl92d_dm_txpower_tracking_callback_thermalmeter()
[all …]
H A Dhw.c22 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_read_dword_dbi() local
356 rtl_write_word(rtlpriv, REG_RL, in rtl92de_set_hw_reg()
407 rtl_write_byte(rtlpriv, in rtl92de_set_hw_reg()
821 switch (rtlpriv->phy.rf_type) { in _rtl92de_hw_configure()
858 if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) { in rtl92de_enable_hw_security_config()
2008 if (rtlpriv->dm.useramask) in rtl92de_update_hal_rate_tbl()
2051 rtl_write_byte(rtlpriv, REG_MAC_PINMUX_CFG, rtl_read_byte(rtlpriv, in rtl92de_gpio_radio_on_off_checking()
2181 rtlpriv-> in rtl92de_set_key()
2188 rtlpriv-> in rtl92de_set_key()
2204 rtlpriv->sec.key_buf in rtl92de_set_key()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A Dhw.c27 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl88ee_set_bcn_ctrl_reg() local
240 struct rtl_priv *rtlpriv = from_timer(rtlpriv, t, in rtl88ee_fw_clk_off_timer_callback() local
500 rtl_write_byte(rtlpriv, in rtl88ee_set_hw_reg()
577 rtl_write_word(rtlpriv, REG_RL, in rtl88ee_set_hw_reg()
641 rtl_read_byte(rtlpriv, in rtl88ee_set_hw_reg()
675 rtl_write_byte(rtlpriv, in rtl88ee_set_hw_reg()
1013 if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) { in rtl88ee_enable_hw_security_config()
2194 if (rtlpriv->dm.useramask) in rtl88ee_update_hal_rate_tbl()
2388 rtlpriv->sec.key_buf in rtl88ee_set_key()
2408 rtlpriv->btcoexist.bt_ant_num = rtlpriv->btcoexist.eeprom_bt_ant_num; in rtl8188ee_bt_var_init()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Dhw.c21 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92se_get_hw_reg() local
89 rtl_write_byte(rtlpriv, RRSR + 1, in rtl92se_set_hw_reg()
209 rtl_write_byte(rtlpriv, in rtl92se_set_hw_reg()
425 if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) { in rtl92se_enable_hw_security_config()
761 rtl_write_dword(rtlpriv, TCR, rtl_read_dword(rtlpriv, TCR) | in _rtl92se_macconfig_after_fwdownload()
789 rtl_write_byte(rtlpriv, RXDMA, rtl_read_byte(rtlpriv, RXDMA) | BIT(6)); in _rtl92se_macconfig_after_fwdownload()
1242 struct rtl_priv *rtlpriv; in rtl92se_disable_interrupt() local
1245 rtlpriv = rtl_priv(hw); in rtl92se_disable_interrupt()
1247 if (!rtlpriv || !rtlpriv->max_fw_size) in rtl92se_disable_interrupt()
2263 if (rtlpriv->dm.useramask) in rtl92se_update_hal_rate_tbl()
[all …]
H A Ddm.c84 rtl_write_dword(rtlpriv, in _rtl92s_dm_check_edca_turbo()
88 rtl_write_dword(rtlpriv, in _rtl92s_dm_check_edca_turbo()
101 rtl_write_dword(rtlpriv, in _rtl92s_dm_check_edca_turbo()
105 rtl_write_dword(rtlpriv, in _rtl92s_dm_check_edca_turbo()
169 rtlpriv->dm.txpowercount = 0; in _rtl92s_dm_txpowertracking_callback_thermalmeter()
187 rtlpriv->dm.txpowercount++; in _rtl92s_dm_check_txpowertracking_thermalmeter()
194 rtlpriv->dm.tm_trigger = 1; in _rtl92s_dm_check_txpowertracking_thermalmeter()
197 rtlpriv->dm.tm_trigger = 0; in _rtl92s_dm_check_txpowertracking_thermalmeter()
215 if (!rtlpriv->dm.useramask) in _rtl92s_dm_refresh_rateadaptive_mask()
621 if ((rtlpriv->dm.dynamic_txhighpower_lvl != rtlpriv->dm.last_dtp_lvl)) in _rtl92s_dm_dynamic_txpower()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dcam.c41 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[WCAMI], in rtl_cam_program_entry()
43 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[RWCAM], in rtl_cam_program_entry()
62 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[WCAMI], in rtl_cam_program_entry()
64 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[RWCAM], in rtl_cam_program_entry()
81 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[WCAMI], in rtl_cam_program_entry()
83 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[RWCAM], in rtl_cam_program_entry()
141 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[WCAMI], 0); in rtl_cam_delete_one_entry()
142 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[RWCAM], ul_command); in rtl_cam_delete_one_entry()
160 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[RWCAM], ul_command); in rtl_cam_reset_all_entry()
195 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[WCAMI], ul_content); in rtl_cam_mark_invalid()
[all …]
H A Dstats.c72 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl_process_ui_rssi() local
73 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl_process_ui_rssi()
81 rtlpriv->stats.rssi_calculate_cnt++; in rtl_process_ui_rssi()
86 rtlpriv->stats.ui_rssi.index]; in rtl_process_ui_rssi()
90 rtlpriv->stats.ui_rssi.elements[rtlpriv->stats.ui_rssi.index++] = in rtl_process_ui_rssi()
93 rtlpriv->stats.ui_rssi.index = 0; in rtl_process_ui_rssi()
95 rtlpriv->stats.ui_rssi.total_num; in rtl_process_ui_rssi()
127 rtlpriv->stats.rx_evm_dbm[rfpath] = in rtl_process_ui_rssi()
129 rtlpriv->stats.rx_cfo_short[rfpath] = in rtl_process_ui_rssi()
138 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl_update_rxsignalstatistics() local
[all …]
H A Dcore.c85 rtlpriv->io.dev); in rtl_fw_do_work()
92 rtlpriv->max_fw_size = 0; in rtl_fw_do_work()
614 rtlpriv->psc.swctrl_lps && !rtlpriv->psc.fwctrl_lps) { in rtl_op_config()
1066 rtlpriv->cfg->maps in rtl_op_bss_info_changed()
1082 rtlpriv->cfg->maps in rtl_op_bss_info_changed()
1462 rtlpriv->btcoexist.btc_ops->btc_scan_notify(rtlpriv, 1); in rtl_op_sw_scan_start()
1464 rtlpriv->btcoexist.btc_ops->btc_scan_notify_wifi_only(rtlpriv, in rtl_op_sw_scan_start()
1496 rtlpriv->btcoexist.btc_info.ap_num = rtlpriv->scan_list.num; in rtl_op_sw_scan_complete()
1520 rtlpriv->btcoexist.btc_ops->btc_scan_notify(rtlpriv, 0); in rtl_op_sw_scan_complete()
1522 rtlpriv->btcoexist.btc_ops->btc_scan_notify_wifi_only(rtlpriv, in rtl_op_sw_scan_complete()
[all …]
H A Dps.c208 if (rtlpriv->sec.being_setkey) in rtl_ips_nic_off_wq_callback()
239 rtlpriv->btcoexist.btc_ops->btc_ips_notify(rtlpriv, in rtl_ips_nic_off_wq_callback()
284 rtlpriv->btcoexist.btc_ops->btc_ips_notify(rtlpriv, in rtl_ips_nic_on()
368 rtlpriv->btcoexist.btc_ops->btc_lps_notify(rtlpriv, rt_psmode); in rtl_lps_set_psmode()
375 rtlpriv->btcoexist.btc_ops->btc_lps_notify(rtlpriv, rt_psmode); in rtl_lps_set_psmode()
485 if (rtlpriv->psc.fwctrl_lps) in rtl_swlps_beacon()
638 queue_delayed_work(rtlpriv->works.rtl_wq, &rtlpriv->works.ps_rfon_wq, in rtl_swlps_rf_sleep()
649 if (rtlpriv->enter_ps) in rtl_lps_change_work_callback()
662 rtlpriv->enter_ps = true; in rtl_lps_enter()
673 rtlpriv->enter_ps = false; in rtl_lps_leave()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Dhw.c88 rtlpriv->cfg->ops->get_hw_reg(hw, in rtl92ce_get_hw_reg()
284 rtl_write_byte(rtlpriv, in rtl92ce_set_hw_reg()
432 rtl_read_byte(rtlpriv, in rtl92ce_set_hw_reg()
445 rtl_write_byte(rtlpriv, in rtl92ce_set_hw_reg()
888 if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) { in rtl92ce_enable_hw_security_config()
1990 if (rtlpriv->dm.useramask) in rtl92ce_update_hal_rate_tbl()
2036 rtl_write_byte(rtlpriv, REG_MAC_PINMUX_CFG, rtl_read_byte(rtlpriv, in rtl92ce_gpio_radio_on_off_checking()
2175 rtlpriv->sec.key_buf[0][0], in rtl92ce_set_key()
2184 rtlpriv->sec. in rtl92ce_set_key()
2193 rtlpriv->sec. in rtl92ce_set_key()
[all …]
H A Ddm.c16 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92ce_dm_dynamic_txpower() local
17 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92ce_dm_dynamic_txpower()
21 if (!rtlpriv->dm.dynamic_txpower_enable) in rtl92ce_dm_dynamic_txpower()
31 rtl_dbg(rtlpriv, COMP_POWER, DBG_TRACE, in rtl92ce_dm_dynamic_txpower()
43 rtl_dbg(rtlpriv, COMP_POWER, DBG_LOUD, in rtl92ce_dm_dynamic_txpower()
48 rtl_dbg(rtlpriv, COMP_POWER, DBG_LOUD, in rtl92ce_dm_dynamic_txpower()
55 rtl_dbg(rtlpriv, COMP_POWER, DBG_LOUD, in rtl92ce_dm_dynamic_txpower()
62 rtl_dbg(rtlpriv, COMP_POWER, DBG_LOUD, in rtl92ce_dm_dynamic_txpower()
68 rtl_dbg(rtlpriv, COMP_POWER, DBG_LOUD, in rtl92ce_dm_dynamic_txpower()
76 if ((rtlpriv->dm.dynamic_txhighpower_lvl != rtlpriv->dm.last_dtp_lvl)) { in rtl92ce_dm_dynamic_txpower()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/
H A Drtl_btc.h9 void rtl_btc_init_variables(struct rtl_priv *rtlpriv);
11 void rtl_btc_deinit_variables(struct rtl_priv *rtlpriv);
12 void rtl_btc_init_hal_vars(struct rtl_priv *rtlpriv);
13 void rtl_btc_power_on_setting(struct rtl_priv *rtlpriv);
14 void rtl_btc_init_hw_config(struct rtl_priv *rtlpriv);
23 void rtl_btc_periodical(struct rtl_priv *rtlpriv);
24 void rtl_btc_halt_notify(struct rtl_priv *rtlpriv);
37 u8 rtl_btc_get_lps_val(struct rtl_priv *rtlpriv);
46 u8 rtl_get_hwpg_bt_exist(struct rtl_priv *rtlpriv);
47 u8 rtl_get_hwpg_bt_type(struct rtl_priv *rtlpriv);
[all …]
H A Drtl_btc.c134 rtlpriv->btcoexist.wifi_only_context = in rtl_btc_alloc_variable()
137 rtlpriv->btcoexist.btc_context = in rtl_btc_alloc_variable()
143 kfree(rtlpriv->btcoexist.btc_context); in rtl_btc_free_variable()
144 rtlpriv->btcoexist.btc_context = NULL; in rtl_btc_free_variable()
152 rtl_btc_alloc_variable(rtlpriv, false); in rtl_btc_init_variables()
154 exhalbtc_initlize_variables(rtlpriv); in rtl_btc_init_variables()
160 rtl_btc_alloc_variable(rtlpriv, true); in rtl_btc_init_variables_wifi_only()
167 rtl_btc_free_variable(rtlpriv); in rtl_btc_deinit_variables()
194 rtl_dbg(rtlpriv, COMP_INIT, DBG_DMESG, in rtl_btc_init_hw_config()
411 if (halbtc_is_wifi_uplink(rtlpriv)) { in rtl_btc_is_disable_edca_turbo()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Ddm.c310 rtl_write_byte(rtlpriv, RS1_RXEVMDUMP, rtlpriv->stats.rx_evm_dbm[0]); in rtl92ee_rssi_dump_to_register()
311 rtl_write_byte(rtlpriv, RS2_RXEVMDUMP, rtlpriv->stats.rx_evm_dbm[1]); in rtl92ee_rssi_dump_to_register()
323 rtl_write_word(rtlpriv, RA_CFOLONGDUMP, rtlpriv->stats.rx_cfo_tail[0]); in rtl92ee_rssi_dump_to_register()
324 rtl_write_word(rtlpriv, RB_CFOLONGDUMP, rtlpriv->stats.rx_cfo_tail[1]); in rtl92ee_rssi_dump_to_register()
618 rtlpriv->rtlhal.rts_en = 1; in rtl92ee_dm_dynamic_primary_cca_ckeck()
624 rtlpriv->rtlhal.rts_en = 0; in rtl92ee_dm_dynamic_primary_cca_ckeck()
645 rtlpriv->rtlhal.rts_en = 1; in rtl92ee_dm_dynamic_primary_cca_ckeck()
651 rtlpriv->rtlhal.rts_en = 0; in rtl92ee_dm_dynamic_primary_cca_ckeck()
663 rtlpriv->rtlhal.rts_en = 0; in rtl92ee_dm_dynamic_primary_cca_ckeck()
880 if (!rtlpriv->dm.useramask) { in rtl92ee_dm_refresh_rate_adaptive_mask()
[all …]
H A Dhw.c27 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl92ee_set_bcn_ctrl_reg() local
37 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl92ee_stop_tx_beacon() local
50 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl92ee_resume_tx_beacon() local
85 if (!rtlpriv->psc.fw_current_inpsmode) in _rtl92ee_set_fw_clock_on()
493 rtl_write_byte(rtlpriv, in rtl92ee_set_hw_reg()
719 if (rtlpriv->rtlhal.up_first_time) in _rtl92ee_gen_refresh_led_state()
1042 tmp8 = rtl_read_byte(rtlpriv, in _rtl92ee_enable_aspm_back_door()
1047 tmp8 = rtl_read_byte(rtlpriv, in _rtl92ee_enable_aspm_back_door()
1115 if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) { in rtl92ee_enable_hw_security_config()
2390 if (rtlpriv->dm.useramask) in rtl92ee_update_hal_rate_tbl()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Dhw.c30 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl8723be_return_beacon_queue_skb() local
351 rtl_write_byte(rtlpriv, REG_CR + 1, in _rtl8723be_download_rsvd_page()
534 rtl_write_byte(rtlpriv, in rtl8723be_set_hw_reg()
614 rtl_write_word(rtlpriv, REG_RL, in rtl8723be_set_hw_reg()
798 if (rtlpriv->rtlhal.up_first_time) in _rtl8723be_gen_refresh_led_state()
833 rtlpriv->btcoexist.btc_ops->btc_power_on_setting(rtlpriv); in _rtl8723be_init_mac()
1132 if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) { in rtl8723be_enable_hw_security_config()
2259 rtlpriv->dm.rfpath_rxenable[0] = in rtl8723be_read_eeprom_info()
2453 if (rtlpriv->dm.useramask) in rtl8723be_update_hal_rate_tbl()
2652 rtlpriv->sec.key_buf in rtl8723be_set_key()
[all …]
H A Ddm.c202 rtlpriv->dm.useramask = true; in rtl8723be_dm_init_rate_adaptive_mask()
204 rtlpriv->dm.useramask = false; in rtl8723be_dm_init_rate_adaptive_mask()
216 rtlpriv->dm.thermalvalue = 0; in rtl8723be_dm_init_txpower_tracking()
219 rtlpriv->dm.cck_index = 20; in rtl8723be_dm_init_txpower_tracking()
221 rtlpriv->dm.swing_idx_cck_base = rtlpriv->dm.cck_index; in rtl8723be_dm_init_txpower_tracking()
223 rtlpriv->dm.swing_idx_ofdm_base[0] = rtlpriv->dm.ofdm_index[0]; in rtl8723be_dm_init_txpower_tracking()
237 rtlpriv->dm.crystal_cap = rtlpriv->efuse.crystalcap; in rtl8723be_dm_init_dynamic_atc_switch()
340 if (rtlpriv->dm.useramask) { in rtl8723be_dm_check_rssi_monitor()
895 rtlpriv->dm.tm_trigger = 1; in rtl8723be_dm_check_txpower_tracking()
901 rtlpriv->dm.tm_trigger = 0; in rtl8723be_dm_check_txpower_tracking()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dhw.c26 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl8821ae_return_beacon_queue_skb() local
269 rtlpriv->cfg->ops->set_hw_reg(hw, in _rtl8821ae_fwlps_enter()
364 rtl_read_byte(rtlpriv, in _rtl8821ae_download_rsvd_page()
539 rtl_write_byte(rtlpriv, in rtl8821ae_set_hw_reg()
604 rtl_write_dword(rtlpriv, in rtl8821ae_set_hw_reg()
674 rtl_write_word(rtlpriv, REG_RL, in rtl8821ae_set_hw_reg()
1172 if (rtlpriv->cfg->mod_params->sw_crypto || rtlpriv->sec.use_sw_sec) { in rtl8821ae_enable_hw_security_config()
3713 if (rtlpriv->dm.useramask) in rtl8821ae_update_hal_rate_tbl()
3777 rtl_read_byte(rtlpriv, in rtl8821ae_gpio_radio_on_off_checking()
3932 rtlpriv->sec.key_buf in rtl8821ae_set_key()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Ddm.c13 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92cu_dm_dynamic_txpower() local
14 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92cu_dm_dynamic_txpower()
18 if (!rtlpriv->dm.dynamic_txpower_enable) in rtl92cu_dm_dynamic_txpower()
28 rtl_dbg(rtlpriv, COMP_POWER, DBG_TRACE, in rtl92cu_dm_dynamic_txpower()
40 rtl_dbg(rtlpriv, COMP_POWER, DBG_LOUD, in rtl92cu_dm_dynamic_txpower()
45 rtl_dbg(rtlpriv, COMP_POWER, DBG_LOUD, in rtl92cu_dm_dynamic_txpower()
52 rtl_dbg(rtlpriv, COMP_POWER, DBG_LOUD, in rtl92cu_dm_dynamic_txpower()
59 rtl_dbg(rtlpriv, COMP_POWER, DBG_LOUD, in rtl92cu_dm_dynamic_txpower()
65 rtl_dbg(rtlpriv, COMP_POWER, DBG_LOUD, in rtl92cu_dm_dynamic_txpower()
73 if ((rtlpriv->dm.dynamic_txhighpower_lvl != rtlpriv->dm.last_dtp_lvl)) { in rtl92cu_dm_dynamic_txpower()
[all …]
H A Dmac.c29 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92c_read_chip_version() local
30 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92c_read_chip_version()
108 rtlpriv->dm.rfpath_rxenable[0] = in rtl92c_read_chip_version()
224 rtlpriv->sec.key_len[idx] = 0; in rtl92c_set_key()
283 rtlpriv->sec.key_buf[0][0], in rtl92c_set_key()
284 rtlpriv->sec.key_buf[0][1]); in rtl92c_set_key()
291 rtlpriv->sec. in rtl92c_set_key()
299 rtlpriv->sec. in rtl92c_set_key()
311 rtlpriv->sec.key_buf in rtl92c_set_key()
664 rtlpriv->dm.rfpath_rxenable[0] = in _rtl92c_query_rxphystatus()
[all …]

12345