Lines Matching refs:hw
46 u32 rtl92de_read_dword_dbi(struct ieee80211_hw *hw, u16 offset, u8 direct) in rtl92de_read_dword_dbi() argument
48 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_read_dword_dbi()
58 void rtl92de_write_dword_dbi(struct ieee80211_hw *hw, in rtl92de_write_dword_dbi() argument
61 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_write_dword_dbi()
68 static void _rtl92de_set_bcn_ctrl_reg(struct ieee80211_hw *hw, in _rtl92de_set_bcn_ctrl_reg() argument
71 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl92de_set_bcn_ctrl_reg()
72 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl92de_set_bcn_ctrl_reg()
79 static void _rtl92de_stop_tx_beacon(struct ieee80211_hw *hw) in _rtl92de_stop_tx_beacon() argument
81 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl92de_stop_tx_beacon()
93 static void _rtl92de_resume_tx_beacon(struct ieee80211_hw *hw) in _rtl92de_resume_tx_beacon() argument
95 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl92de_resume_tx_beacon()
107 static void _rtl92de_enable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl92de_enable_bcn_sub_func() argument
109 _rtl92de_set_bcn_ctrl_reg(hw, 0, BIT(1)); in _rtl92de_enable_bcn_sub_func()
112 static void _rtl92de_disable_bcn_sub_func(struct ieee80211_hw *hw) in _rtl92de_disable_bcn_sub_func() argument
114 _rtl92de_set_bcn_ctrl_reg(hw, BIT(1), 0); in _rtl92de_disable_bcn_sub_func()
117 void rtl92de_get_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) in rtl92de_get_hw_reg() argument
119 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_get_hw_reg()
120 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl92de_get_hw_reg()
121 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92de_get_hw_reg()
134 rtlpriv->cfg->ops->get_hw_reg(hw, HW_VAR_RF_STATE, in rtl92de_get_hw_reg()
174 void rtl92de_set_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) in rtl92de_set_hw_reg() argument
176 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_set_hw_reg()
177 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92de_set_hw_reg()
178 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl92de_set_hw_reg()
179 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92de_set_hw_reg()
180 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw)); in rtl92de_set_hw_reg()
181 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl92de_set_hw_reg()
236 rtlpriv->cfg->ops->set_hw_reg(hw, in rtl92de_set_hw_reg()
320 rtl92d_dm_init_edca_turbo(hw); in rtl92de_set_hw_reg()
322 rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_ACM_CTRL, in rtl92de_set_hw_reg()
396 rtl92d_phy_set_io_cmd(hw, (*(enum io_type *)val)); in rtl92de_set_hw_reg()
402 rtl92d_fill_h2c_cmd(hw, H2C_PWRM, 1, (val)); in rtl92de_set_hw_reg()
415 rtlpriv->cfg->ops->set_hw_reg(hw, in rtl92de_set_hw_reg()
420 _rtl92de_set_bcn_ctrl_reg(hw, 0, BIT(3)); in rtl92de_set_hw_reg()
421 _rtl92de_set_bcn_ctrl_reg(hw, BIT(4), 0); in rtl92de_set_hw_reg()
428 rtl92d_set_fw_rsvdpagepkt(hw, 0); in rtl92de_set_hw_reg()
429 _rtl92de_set_bcn_ctrl_reg(hw, BIT(3), 0); in rtl92de_set_hw_reg()
430 _rtl92de_set_bcn_ctrl_reg(hw, 0, BIT(4)); in rtl92de_set_hw_reg()
438 rtl92d_set_fw_joinbss_report_cmd(hw, (*val)); in rtl92de_set_hw_reg()
453 _rtl92de_stop_tx_beacon(hw); in rtl92de_set_hw_reg()
454 _rtl92de_set_bcn_ctrl_reg(hw, 0, BIT(3)); in rtl92de_set_hw_reg()
459 _rtl92de_set_bcn_ctrl_reg(hw, BIT(3), 0); in rtl92de_set_hw_reg()
461 _rtl92de_resume_tx_beacon(hw); in rtl92de_set_hw_reg()
492 rtlpriv->cfg->ops->update_interrupt_mask(hw, 0, in rtl92de_set_hw_reg()
497 rtlpriv->cfg->ops->update_interrupt_mask(hw, in rtl92de_set_hw_reg()
510 static bool _rtl92de_llt_write(struct ieee80211_hw *hw, u32 address, u32 data) in _rtl92de_llt_write() argument
512 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl92de_llt_write()
534 static bool _rtl92de_llt_table_init(struct ieee80211_hw *hw) in _rtl92de_llt_table_init() argument
536 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl92de_llt_table_init()
592 status = _rtl92de_llt_write(hw, i, i + 1); in _rtl92de_llt_table_init()
598 status = _rtl92de_llt_write(hw, (txpktbuf_bndy - 1), 0xFF); in _rtl92de_llt_table_init()
607 status = _rtl92de_llt_write(hw, i, (i + 1)); in _rtl92de_llt_table_init()
613 status = _rtl92de_llt_write(hw, maxPage, txpktbuf_bndy); in _rtl92de_llt_table_init()
620 static void _rtl92de_gen_refresh_led_state(struct ieee80211_hw *hw) in _rtl92de_gen_refresh_led_state() argument
622 struct rtl_pci_priv *pcipriv = rtl_pcipriv(hw); in _rtl92de_gen_refresh_led_state()
623 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl92de_gen_refresh_led_state()
624 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in _rtl92de_gen_refresh_led_state()
630 rtl92de_sw_led_on(hw, pLed0); in _rtl92de_gen_refresh_led_state()
632 rtl92de_sw_led_on(hw, pLed0); in _rtl92de_gen_refresh_led_state()
634 rtl92de_sw_led_off(hw, pLed0); in _rtl92de_gen_refresh_led_state()
637 static bool _rtl92de_init_mac(struct ieee80211_hw *hw) in _rtl92de_init_mac() argument
639 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl92de_init_mac()
640 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl92de_init_mac()
645 rtl92d_phy_set_poweron(hw); in _rtl92de_init_mac()
710 if (!_rtl92de_llt_table_init(hw)) in _rtl92de_init_mac()
730 rtl92d_phy_config_maccoexist_rfpage(hw); in _rtl92de_init_mac()
789 _rtl92de_gen_refresh_led_state(hw); in _rtl92de_init_mac()
797 static void _rtl92de_hw_configure(struct ieee80211_hw *hw) in _rtl92de_hw_configure() argument
799 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in _rtl92de_hw_configure()
800 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl92de_hw_configure()
801 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92de_hw_configure()
860 static void _rtl92de_enable_aspm_back_door(struct ieee80211_hw *hw) in _rtl92de_enable_aspm_back_door() argument
862 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl92de_enable_aspm_back_door()
863 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in _rtl92de_enable_aspm_back_door()
876 void rtl92de_enable_hw_security_config(struct ieee80211_hw *hw) in rtl92de_enable_hw_security_config() argument
878 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_enable_hw_security_config()
899 rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_WPA_CONFIG, &sec_reg_value); in rtl92de_enable_hw_security_config()
902 int rtl92de_hw_init(struct ieee80211_hw *hw) in rtl92de_hw_init() argument
904 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_hw_init()
905 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92de_hw_init()
906 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl92de_hw_init()
908 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92de_hw_init()
909 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl92de_hw_init()
920 rtl92d_phy_reset_iqk_result(hw); in rtl92de_hw_init()
922 rtstatus = _rtl92de_init_mac(hw); in rtl92de_hw_init()
929 err = rtl92d_download_fw(hw); in rtl92de_hw_init()
964 rtl92d_phy_mac_config(hw); in rtl92de_hw_init()
972 rtl92d_phy_bb_config(hw); in rtl92de_hw_init()
976 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER4, 0x00f00000, 0xf); in rtl92de_hw_init()
979 rtl92d_phy_rf_config(hw); in rtl92de_hw_init()
984 rtl92d_update_bbrf_configuration(hw); in rtl92de_hw_init()
986 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER4, 0x00f00000, 0); in rtl92de_hw_init()
987 rtlphy->rfreg_chnlval[0] = rtl_get_rfreg(hw, (enum radio_path)0, in rtl92de_hw_init()
989 rtlphy->rfreg_chnlval[1] = rtl_get_rfreg(hw, (enum radio_path)1, in rtl92de_hw_init()
994 rtl_set_bbreg(hw, RFPGA0_RFMOD, BCCKEN, 0x1); in rtl92de_hw_init()
995 rtl_set_bbreg(hw, RFPGA0_RFMOD, BOFDMEN, 0x1); in rtl92de_hw_init()
999 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER2, BIT(10) | in rtl92de_hw_init()
1003 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER2, BIT(11) | in rtl92de_hw_init()
1007 _rtl92de_hw_configure(hw); in rtl92de_hw_init()
1010 rtl_cam_reset_all_entry(hw); in rtl92de_hw_init()
1011 rtl92de_enable_hw_security_config(hw); in rtl92de_hw_init()
1015 rtl92d_phy_get_hw_reg_originalvalue(hw); in rtl92de_hw_init()
1016 rtl92d_phy_set_txpower_level(hw, rtlphy->current_channel); in rtl92de_hw_init()
1020 rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_ETHER_ADDR, mac->mac_addr); in rtl92de_hw_init()
1022 _rtl92de_enable_aspm_back_door(hw); in rtl92de_hw_init()
1025 rtl92d_dm_init(hw); in rtl92de_hw_init()
1029 rtl92d_phy_lc_calibrate(hw); in rtl92de_hw_init()
1036 tmp_rega = rtl_get_rfreg(hw, in rtl92de_hw_init()
1054 static enum version_8192d _rtl92de_read_chip_version(struct ieee80211_hw *hw) in _rtl92de_read_chip_version() argument
1056 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl92de_read_chip_version()
1071 static int _rtl92de_set_media_status(struct ieee80211_hw *hw, in _rtl92de_set_media_status() argument
1074 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl92de_set_media_status()
1083 _rtl92de_stop_tx_beacon(hw); in _rtl92de_set_media_status()
1084 _rtl92de_enable_bcn_sub_func(hw); in _rtl92de_set_media_status()
1087 _rtl92de_resume_tx_beacon(hw); in _rtl92de_set_media_status()
1088 _rtl92de_disable_bcn_sub_func(hw); in _rtl92de_set_media_status()
1130 rtlpriv->cfg->ops->led_control(hw, ledaction); in _rtl92de_set_media_status()
1138 void rtl92de_set_check_bssid(struct ieee80211_hw *hw, bool check_bssid) in rtl92de_set_check_bssid() argument
1140 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_set_check_bssid()
1146 rtlpriv->cfg->ops->get_hw_reg(hw, HW_VAR_RCR, (u8 *)(®_rcr)); in rtl92de_set_check_bssid()
1150 rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_RCR, (u8 *)(®_rcr)); in rtl92de_set_check_bssid()
1151 _rtl92de_set_bcn_ctrl_reg(hw, 0, BIT(4)); in rtl92de_set_check_bssid()
1154 _rtl92de_set_bcn_ctrl_reg(hw, BIT(4), 0); in rtl92de_set_check_bssid()
1155 rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_RCR, (u8 *)(®_rcr)); in rtl92de_set_check_bssid()
1159 int rtl92de_set_network_type(struct ieee80211_hw *hw, enum nl80211_iftype type) in rtl92de_set_network_type() argument
1161 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_set_network_type()
1163 if (_rtl92de_set_media_status(hw, type)) in rtl92de_set_network_type()
1169 rtl92de_set_check_bssid(hw, true); in rtl92de_set_network_type()
1171 rtl92de_set_check_bssid(hw, false); in rtl92de_set_network_type()
1180 void rtl92d_linked_set_reg(struct ieee80211_hw *hw) in rtl92d_linked_set_reg() argument
1182 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92d_linked_set_reg()
1191 rtl92d_phy_iq_calibrate(hw); in rtl92d_linked_set_reg()
1197 void rtl92de_set_qos(struct ieee80211_hw *hw, int aci) in rtl92de_set_qos() argument
1199 rtl92d_dm_init_edca_turbo(hw); in rtl92de_set_qos()
1202 void rtl92de_enable_interrupt(struct ieee80211_hw *hw) in rtl92de_enable_interrupt() argument
1204 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_enable_interrupt()
1205 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92de_enable_interrupt()
1211 void rtl92de_disable_interrupt(struct ieee80211_hw *hw) in rtl92de_disable_interrupt() argument
1213 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_disable_interrupt()
1214 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92de_disable_interrupt()
1221 static void _rtl92de_poweroff_adapter(struct ieee80211_hw *hw) in _rtl92de_poweroff_adapter() argument
1223 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl92de_poweroff_adapter()
1227 rtlpriv->intf_ops->enable_aspm(hw); in _rtl92de_poweroff_adapter()
1229 rtl_set_bbreg(hw, RFPGA0_XCD_RFPARAMETER, BIT(3), 0); in _rtl92de_poweroff_adapter()
1230 rtl_set_bbreg(hw, RFPGA0_XCD_RFPARAMETER, BIT(15), 0); in _rtl92de_poweroff_adapter()
1236 rtl92d_firmware_selfreset(hw); in _rtl92de_poweroff_adapter()
1305 void rtl92de_card_disable(struct ieee80211_hw *hw) in rtl92de_card_disable() argument
1307 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_card_disable()
1308 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl92de_card_disable()
1309 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92de_card_disable()
1310 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl92de_card_disable()
1315 _rtl92de_set_media_status(hw, opmode); in rtl92de_card_disable()
1319 rtlpriv->cfg->ops->led_control(hw, LED_CTL_POWER_OFF); in rtl92de_card_disable()
1336 rtl_set_bbreg(hw, RFPGA0_ANALOGPARAMETER4, 0x00f00000, 0xf); in rtl92de_card_disable()
1337 rtl_set_rfreg(hw, RF90_PATH_A, 0x00, RFREG_OFFSET_MASK, 0x00); in rtl92de_card_disable()
1343 rtl_set_bbreg(hw, ROFDM0_TRXPATHENABLE, MASKBYTE0, 0); in rtl92de_card_disable()
1344 rtl_set_bbreg(hw, ROFDM1_TRXPATHENABLE, BDWORD, 0); in rtl92de_card_disable()
1361 if (rtl92d_phy_check_poweroff(hw)) in rtl92de_card_disable()
1362 _rtl92de_poweroff_adapter(hw); in rtl92de_card_disable()
1366 void rtl92de_interrupt_recognized(struct ieee80211_hw *hw, in rtl92de_interrupt_recognized() argument
1369 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_interrupt_recognized()
1370 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92de_interrupt_recognized()
1381 void rtl92de_set_beacon_related_registers(struct ieee80211_hw *hw) in rtl92de_set_beacon_related_registers() argument
1383 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_set_beacon_related_registers()
1384 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl92de_set_beacon_related_registers()
1401 void rtl92de_set_beacon_interval(struct ieee80211_hw *hw) in rtl92de_set_beacon_interval() argument
1403 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_set_beacon_interval()
1404 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl92de_set_beacon_interval()
1414 void rtl92de_update_interrupt_mask(struct ieee80211_hw *hw, in rtl92de_update_interrupt_mask() argument
1417 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_update_interrupt_mask()
1418 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92de_update_interrupt_mask()
1426 rtl92de_disable_interrupt(hw); in rtl92de_update_interrupt_mask()
1427 rtl92de_enable_interrupt(hw); in rtl92de_update_interrupt_mask()
1572 static void _rtl92de_read_txpower_info(struct ieee80211_hw *hw, in _rtl92de_read_txpower_info() argument
1575 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl92de_read_txpower_info()
1576 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw)); in _rtl92de_read_txpower_info()
1683 static void _rtl92de_read_macphymode_from_prom(struct ieee80211_hw *hw, in _rtl92de_read_macphymode_from_prom() argument
1686 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl92de_read_macphymode_from_prom()
1687 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92de_read_macphymode_from_prom()
1701 static void _rtl92de_read_macphymode_and_bandtype(struct ieee80211_hw *hw, in _rtl92de_read_macphymode_and_bandtype() argument
1704 _rtl92de_read_macphymode_from_prom(hw, content); in _rtl92de_read_macphymode_and_bandtype()
1705 rtl92d_phy_config_macphymode(hw); in _rtl92de_read_macphymode_and_bandtype()
1706 rtl92d_phy_config_macphymode_info(hw); in _rtl92de_read_macphymode_and_bandtype()
1709 static void _rtl92de_efuse_update_chip_version(struct ieee80211_hw *hw) in _rtl92de_efuse_update_chip_version() argument
1711 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl92de_efuse_update_chip_version()
1716 rtlpriv->intf_ops->read_efuse_byte(hw, EEPROME_CHIP_VERSION_H, in _rtl92de_efuse_update_chip_version()
1718 rtlpriv->intf_ops->read_efuse_byte(hw, EEPROME_CHIP_VERSION_L, in _rtl92de_efuse_update_chip_version()
1742 static void _rtl92de_read_adapter_info(struct ieee80211_hw *hw) in _rtl92de_read_adapter_info() argument
1744 struct rtl_priv *rtlpriv = rtl_priv(hw); in _rtl92de_read_adapter_info()
1745 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw)); in _rtl92de_read_adapter_info()
1746 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92de_read_adapter_info()
1754 rtl_efuse_shadow_map_update(hw); in _rtl92de_read_adapter_info()
1755 _rtl92de_efuse_update_chip_version(hw); in _rtl92de_read_adapter_info()
1782 _rtl92de_read_macphymode_and_bandtype(hw, hwinfo); in _rtl92de_read_adapter_info()
1811 rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_ETHER_ADDR, in _rtl92de_read_adapter_info()
1814 _rtl92de_read_txpower_info(hw, rtlefuse->autoload_failflag, hwinfo); in _rtl92de_read_adapter_info()
1837 void rtl92de_read_eeprom_info(struct ieee80211_hw *hw) in rtl92de_read_eeprom_info() argument
1839 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_read_eeprom_info()
1840 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw)); in rtl92de_read_eeprom_info()
1841 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92de_read_eeprom_info()
1844 rtlhal->version = _rtl92de_read_chip_version(hw); in rtl92de_read_eeprom_info()
1858 _rtl92de_read_adapter_info(hw); in rtl92de_read_eeprom_info()
1865 static void rtl92de_update_hal_rate_table(struct ieee80211_hw *hw, in rtl92de_update_hal_rate_table() argument
1868 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_update_hal_rate_table()
1870 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl92de_update_hal_rate_table()
1871 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92de_update_hal_rate_table()
1947 static void rtl92de_update_hal_rate_mask(struct ieee80211_hw *hw, in rtl92de_update_hal_rate_mask() argument
1950 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_update_hal_rate_mask()
1952 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl92de_update_hal_rate_mask()
1953 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92de_update_hal_rate_mask()
2078 rtl92d_fill_h2c_cmd(hw, H2C_RA_MASK, 5, (u8 *) value); in rtl92de_update_hal_rate_mask()
2083 void rtl92de_update_hal_rate_tbl(struct ieee80211_hw *hw, in rtl92de_update_hal_rate_tbl() argument
2086 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_update_hal_rate_tbl()
2089 rtl92de_update_hal_rate_mask(hw, sta, rssi_level); in rtl92de_update_hal_rate_tbl()
2091 rtl92de_update_hal_rate_table(hw, sta); in rtl92de_update_hal_rate_tbl()
2094 void rtl92de_update_channel_access_setting(struct ieee80211_hw *hw) in rtl92de_update_channel_access_setting() argument
2096 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_update_channel_access_setting()
2097 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl92de_update_channel_access_setting()
2100 rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_SLOT_TIME, in rtl92de_update_channel_access_setting()
2106 rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_SIFS, (u8 *)&sifs_timer); in rtl92de_update_channel_access_setting()
2109 bool rtl92de_gpio_radio_on_off_checking(struct ieee80211_hw *hw, u8 *valid) in rtl92de_gpio_radio_on_off_checking() argument
2111 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_gpio_radio_on_off_checking()
2112 struct rtl_ps_ctl *ppsc = rtl_psc(rtl_priv(hw)); in rtl92de_gpio_radio_on_off_checking()
2113 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); in rtl92de_gpio_radio_on_off_checking()
2163 void rtl92de_set_key(struct ieee80211_hw *hw, u32 key_index, in rtl92de_set_key() argument
2167 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_set_key()
2168 struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); in rtl92de_set_key()
2169 struct rtl_efuse *rtlefuse = rtl_efuse(rtl_priv(hw)); in rtl92de_set_key()
2189 rtl_cam_mark_invalid(hw, cam_offset + idx); in rtl92de_set_key()
2190 rtl_cam_empty_entry(hw, cam_offset + idx); in rtl92de_set_key()
2227 entry_id = rtl_cam_get_free_entry(hw, in rtl92de_set_key()
2247 rtl_cam_del_entry(hw, p_macaddr); in rtl92de_set_key()
2248 rtl_cam_delete_one_entry(hw, p_macaddr, entry_id); in rtl92de_set_key()
2267 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92de_set_key()
2276 rtl_cam_add_one_entry(hw, in rtl92de_set_key()
2283 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92de_set_key()
2293 void rtl92de_suspend(struct ieee80211_hw *hw) in rtl92de_suspend() argument
2295 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_suspend()
2301 void rtl92de_resume(struct ieee80211_hw *hw) in rtl92de_resume() argument
2303 struct rtl_priv *rtlpriv = rtl_priv(hw); in rtl92de_resume()