Home
last modified time | relevance | path

Searched refs:IGI (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/staging/rtlwifi/phydm/
Dphydm_adaptivity.c439 u8 IGI = adaptivity->igi_base + 30 + (u8)dm->th_l2h_ini - in phydm_search_pwdb_lower_bound() local
450 diff = igi_target - (s8)IGI; in phydm_search_pwdb_lower_bound()
505 IGI = IGI - 1; in phydm_search_pwdb_lower_bound()
516 dm->adaptivity_igi_upper = IGI; in phydm_search_pwdb_lower_bound()
526 dm->adaptivity_igi_upper = IGI; in phydm_search_pwdb_lower_bound()
701 u8 IGI = dig_tab->cur_ig_value; in phydm_adaptivity() local
765 if (adaptivity->adajust_igi_level > IGI && in phydm_adaptivity()
767 diff = adaptivity->adajust_igi_level - IGI; in phydm_adaptivity()
772 diff = igi_target - (s8)IGI; in phydm_adaptivity()
786 "IGI=0x%x, th_l2h_dmc = %d, th_h2l_dmc = %d\n", IGI, in phydm_adaptivity()
[all …]
Dphydm_dig.c28 odm_set_bb_reg(dm, ODM_REG(IGI_A, dm), ODM_BIT(IGI, dm), in phydm_check_ap_write_dig()
32 odm_set_bb_reg(dm, ODM_REG(IGI_B, dm), ODM_BIT(IGI, dm), in phydm_check_ap_write_dig()
36 odm_set_bb_reg(dm, ODM_REG(IGI_A, dm), ODM_BIT(IGI, dm), in phydm_check_ap_write_dig()
39 odm_set_bb_reg(dm, ODM_REG(IGI_B, dm), ODM_BIT(IGI, dm), in phydm_check_ap_write_dig()
43 odm_set_bb_reg(dm, ODM_REG(IGI_B, dm), ODM_BIT(IGI, dm), in phydm_check_ap_write_dig()
46 odm_set_bb_reg(dm, ODM_REG(IGI_A, dm), ODM_BIT(IGI, dm), in phydm_check_ap_write_dig()
308 __func__, ODM_REG(IGI_A, dm), ODM_BIT(IGI, dm)); in odm_write_dig()
352 odm_set_bb_reg(dm, ODM_REG(IGI_A, dm), ODM_BIT(IGI, dm), in odm_write_dig()
357 ODM_BIT(IGI, dm), current_igi); in odm_write_dig()
568 (u8)odm_get_bb_reg(dm, ODM_REG(IGI_A, dm), ODM_BIT(IGI, dm)); in odm_dig_init()
Dphydm_adaptivity.h102 void phydm_set_edcca_threshold_api(void *dm_void, u8 IGI);
Dphydm_debug.c2500 u8 IGI; in phydm_cmd_parser() local
2564 IGI = (u8)odm_get_bb_reg(dm, 0xC50, MASKBYTE0); in phydm_cmd_parser()
2567 "\r\n Cur_IGI = 0x%x", IGI); in phydm_cmd_parser()
/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Dodm_DIG.c138 u8 cnt, IGI; in odm_SearchPwdBLowerBound() local
143 IGI = 0x50; /* find H2L, L2H lower bound */ in odm_SearchPwdBLowerBound()
144 ODM_Write_DIG(pDM_Odm, IGI); in odm_SearchPwdBLowerBound()
147 Diff = IGI_target-(s8)IGI; in odm_SearchPwdBLowerBound()
171 IGI = IGI-1; in odm_SearchPwdBLowerBound()
190 pDM_Odm->Adaptivity_IGI_upper = IGI; in odm_SearchPwdBLowerBound()
199 pDM_Odm->Adaptivity_IGI_upper = IGI; in odm_SearchPwdBLowerBound()
203 …ODM_COMP_DIG, ODM_DBG_LOUD, ("IGI = 0x%x, H2L_lb = 0x%x, L2H_lb = 0x%x\n", IGI, pDM_Odm->H2L_lb, p… in odm_SearchPwdBLowerBound()
234 void odm_Adaptivity(void *pDM_VOID, u8 IGI) in odm_Adaptivity() argument
301 Diff = IGI_target-(s8)IGI; in odm_Adaptivity()
[all …]
Dodm_DIG.h156 void odm_Adaptivity(void *pDM_VOID, u8 IGI);
/Linux-v4.19/drivers/staging/rtlwifi/phydm/rtl8822b/
Dphydm_hal_api8822b.c1299 u8 IGI = 0; in config_phydm_switch_bandwidth_8822b() local
1490 IGI = (u8)odm_get_bb_reg(dm, ODM_REG(IGI_A, dm), ODM_BIT(IGI, dm)); in config_phydm_switch_bandwidth_8822b()
1491 odm_set_bb_reg(dm, ODM_REG(IGI_A, dm), ODM_BIT(IGI, dm), IGI - 2); in config_phydm_switch_bandwidth_8822b()
1492 odm_set_bb_reg(dm, ODM_REG(IGI_B, dm), ODM_BIT(IGI, dm), IGI - 2); in config_phydm_switch_bandwidth_8822b()
1493 odm_set_bb_reg(dm, ODM_REG(IGI_A, dm), ODM_BIT(IGI, dm), IGI); in config_phydm_switch_bandwidth_8822b()
1494 odm_set_bb_reg(dm, ODM_REG(IGI_B, dm), ODM_BIT(IGI, dm), IGI); in config_phydm_switch_bandwidth_8822b()
1527 u8 IGI; in config_phydm_trx_mode_8822b() local
1759 IGI = (u8)odm_get_bb_reg(dm, ODM_REG(IGI_A, dm), ODM_BIT(IGI, dm)); in config_phydm_trx_mode_8822b()
1760 odm_write_dig(dm, IGI - 2); in config_phydm_trx_mode_8822b()
1761 odm_write_dig(dm, IGI); in config_phydm_trx_mode_8822b()