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()
497 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92cu_init_queue_reserved_page() local
498 bool ischipn = IS_NORMAL_CHIP(rtlhal->version); in _rtl92cu_init_queue_reserved_page()
558 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92c_init_trx_buffer() local
565 txpktbuf_bndy = (IS_NORMAL_CHIP(rtlhal->version)) in _rtl92c_init_trx_buffer()
749 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92cu_init_queue_priority() local
751 if (IS_NORMAL_CHIP(rtlhal->version)) in _rtl92cu_init_queue_priority()
789 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in _rtl92cu_init_beacon_parameters() local
800 if (IS_NORMAL_CHIP(rtlhal->version)) in _rtl92cu_init_beacon_parameters()
809 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _rtl92cu_init_mac() local
827 boundary = (IS_NORMAL_CHIP(rtlhal->version)) in _rtl92cu_init_mac()
850 rtl92c_set_min_space(hw, IS_92C_SERIAL(rtlhal->version)); in _rtl92cu_init_mac()
861 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in rtl92cu_enable_hw_security_config() local
877 if (IS_NORMAL_CHIP(rtlhal->version)) in rtl92cu_enable_hw_security_config()
907 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _initpabias() local
918 if (!(pa_setting & BIT(1)) && IS_NORMAL_CHIP(rtlhal->version) && in _initpabias()
919 IS_92C_SERIAL(rtlhal->version)) { in _initpabias()
935 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92cu_hw_init() local
952 rtlhal->fw_ready = false; in rtl92cu_hw_init()
953 rtlhal->hw_type = HARDWARE_TYPE_RTL8192CU; in rtl92cu_hw_init()
967 rtlhal->fw_ready = true; in rtl92cu_hw_init()
968 rtlhal->last_hmeboxnum = 0; /* h2c */ in rtl92cu_hw_init()
974 if (IS_VENDOR_UMC_A_CUT(rtlhal->version) && in rtl92cu_hw_init()
975 !IS_92C_SERIAL(rtlhal->version)) { in rtl92cu_hw_init()
1035 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in _resetdigitalprocedure1() local
1037 if (rtlhal->fw_version <= 0x20) { in _resetdigitalprocedure1()
1209 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in _rtl92cu_stop_tx_beacon() local
1212 if (IS_NORMAL_CHIP(rtlhal->version)) { in _rtl92cu_stop_tx_beacon()
1229 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in _rtl92cu_resume_tx_beacon() local
1232 if (IS_NORMAL_CHIP(rtlhal->version)) { in _rtl92cu_resume_tx_beacon()
1249 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in _rtl92cu_enable_bcn_sub_func() local
1251 if (IS_NORMAL_CHIP(rtlhal->version)) in _rtl92cu_enable_bcn_sub_func()
1260 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in _rtl92cu_disable_bcn_sub_func() local
1262 if (IS_NORMAL_CHIP(rtlhal->version)) in _rtl92cu_disable_bcn_sub_func()
1351 struct rtl_hal *rtlhal = rtl_hal(rtlpriv); in rtl92cu_set_check_bssid() local
1362 if (IS_NORMAL_CHIP(rtlhal->version)) { in rtl92cu_set_check_bssid()
1375 if (IS_NORMAL_CHIP(rtlhal->version)) { in rtl92cu_set_check_bssid()
1553 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92cu_set_hw_reg() local
1818 (!IS_92C_SERIAL(rtlhal->version))) in rtl92cu_set_hw_reg()
1913 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92cu_update_hal_rate_table() local
1927 if (rtlhal->current_bandtype == BAND_ON_5G) in rtl92cu_update_hal_rate_table()
2002 struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); in rtl92cu_update_hal_rate_mask() local
2027 if (rtlhal->current_bandtype == BAND_ON_5G) in rtl92cu_update_hal_rate_mask()