Lines Matching refs:rtlhal

303 	struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw));  in _rtl92cu_read_board_type()  local
306 if (IS_NORMAL_CHIP(rtlhal->version)) { in _rtl92cu_read_board_type()
323 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92cu_read_adapter_info() local
342 if (rtlhal->oem_id == RT_CID_DEFAULT) { in _rtl92cu_read_adapter_info()
348 rtlhal->oem_id = RT_CID_819X_HP; in _rtl92cu_read_adapter_info()
350 rtlhal->oem_id = RT_CID_DEFAULT; in _rtl92cu_read_adapter_info()
352 rtlhal->oem_id = RT_CID_DEFAULT; in _rtl92cu_read_adapter_info()
356 rtlhal->oem_id = RT_CID_TOSHIBA; in _rtl92cu_read_adapter_info()
359 rtlhal->oem_id = RT_CID_819X_QMI; in _rtl92cu_read_adapter_info()
363 rtlhal->oem_id = RT_CID_DEFAULT; in _rtl92cu_read_adapter_info()
374 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92cu_hal_customized_behavior() local
376 switch (rtlhal->oem_id) { in _rtl92cu_hal_customized_behavior()
390 rtlhal->oem_id); in _rtl92cu_hal_customized_behavior()
398 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92cu_read_eeprom_info() local
401 if (!IS_NORMAL_CHIP(rtlhal->version)) in rtl92cu_read_eeprom_info()
496 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92cu_init_queue_reserved_page() local
497 bool ischipn = IS_NORMAL_CHIP(rtlhal->version); in _rtl92cu_init_queue_reserved_page()
692 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92cu_init_queue_priority() local
694 if (IS_NORMAL_CHIP(rtlhal->version)) in _rtl92cu_init_queue_priority()
730 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in _rtl92cu_init_beacon_parameters() local
741 if (IS_NORMAL_CHIP(rtlhal->version)) in _rtl92cu_init_beacon_parameters()
750 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92cu_init_mac() local
781 rtl92c_set_min_space(hw, IS_92C_SERIAL(rtlhal->version)); in _rtl92cu_init_mac()
792 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in rtl92cu_enable_hw_security_config() local
808 if (IS_NORMAL_CHIP(rtlhal->version)) in rtl92cu_enable_hw_security_config()
838 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _initpabias() local
849 if (!(pa_setting & BIT(1)) && IS_NORMAL_CHIP(rtlhal->version) && in _initpabias()
850 IS_92C_SERIAL(rtlhal->version)) { in _initpabias()
866 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92cu_hw_init() local
883 rtlhal->fw_ready = false; in rtl92cu_hw_init()
884 rtlhal->hw_type = HARDWARE_TYPE_RTL8192CU; in rtl92cu_hw_init()
898 rtlhal->fw_ready = true; in rtl92cu_hw_init()
899 rtlhal->last_hmeboxnum = 0; /* h2c */ in rtl92cu_hw_init()
905 if (IS_VENDOR_UMC_A_CUT(rtlhal->version) && in rtl92cu_hw_init()
906 !IS_92C_SERIAL(rtlhal->version)) { in rtl92cu_hw_init()
966 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _resetdigitalprocedure1() local
968 if (rtlhal->fw_version <= 0x20) { in _resetdigitalprocedure1()
1140 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in _rtl92cu_stop_tx_beacon() local
1143 if (IS_NORMAL_CHIP(rtlhal->version)) { in _rtl92cu_stop_tx_beacon()
1160 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in _rtl92cu_resume_tx_beacon() local
1163 if (IS_NORMAL_CHIP(rtlhal->version)) { in _rtl92cu_resume_tx_beacon()
1180 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in _rtl92cu_enable_bcn_sub_func() local
1182 if (IS_NORMAL_CHIP(rtlhal->version)) in _rtl92cu_enable_bcn_sub_func()
1191 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in _rtl92cu_disable_bcn_sub_func() local
1193 if (IS_NORMAL_CHIP(rtlhal->version)) in _rtl92cu_disable_bcn_sub_func()
1282 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in rtl92cu_set_check_bssid() local
1293 if (IS_NORMAL_CHIP(rtlhal->version)) { in rtl92cu_set_check_bssid()
1306 if (IS_NORMAL_CHIP(rtlhal->version)) { in rtl92cu_set_check_bssid()
1484 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92cu_set_hw_reg() local
1727 (!IS_92C_SERIAL(rtlhal->version))) in rtl92cu_set_hw_reg()
1822 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92cu_update_hal_rate_table() local
1836 if (rtlhal->current_bandtype == BAND_ON_5G) in rtl92cu_update_hal_rate_table()
1911 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92cu_update_hal_rate_mask() local
1936 if (rtlhal->current_bandtype == BAND_ON_5G) in rtl92cu_update_hal_rate_mask()