Lines Matching refs:current_igi
355 void rtl8723be_dm_write_dig(struct ieee80211_hw *hw, u8 current_igi) in rtl8723be_dm_write_dig() argument
363 if (dm_digtable->cur_igvalue != current_igi) { in rtl8723be_dm_write_dig()
364 rtl_set_bbreg(hw, ROFDM0_XAAGCCORE1, 0x7f, current_igi); in rtl8723be_dm_write_dig()
367 0x7f, current_igi); in rtl8723be_dm_write_dig()
370 dm_digtable->cur_igvalue = current_igi; in rtl8723be_dm_write_dig()
381 u8 current_igi = dm_digtable->cur_igvalue; in rtl8723be_dm_dig() local
430 if (dm_digtable->forbidden_igi < current_igi) { in rtl8723be_dm_dig()
431 dm_digtable->forbidden_igi = current_igi; in rtl8723be_dm_dig()
472 current_igi = dm_digtable->rssi_val_min; in rtl8723be_dm_dig()
474 current_igi = dig_maxofmin; in rtl8723be_dm_dig()
479 current_igi += 4; in rtl8723be_dm_dig()
481 current_igi += 2; in rtl8723be_dm_dig()
483 current_igi -= 2; in rtl8723be_dm_dig()
487 current_igi = dm_digtable->rx_gain_min; in rtl8723be_dm_dig()
490 current_igi += 4; in rtl8723be_dm_dig()
492 current_igi += 2; in rtl8723be_dm_dig()
494 current_igi -= 2; in rtl8723be_dm_dig()
498 if (current_igi > dm_digtable->rx_gain_max) in rtl8723be_dm_dig()
499 current_igi = dm_digtable->rx_gain_max; in rtl8723be_dm_dig()
500 else if (current_igi < dm_digtable->rx_gain_min) in rtl8723be_dm_dig()
501 current_igi = dm_digtable->rx_gain_min; in rtl8723be_dm_dig()
503 rtl8723be_dm_write_dig(hw, current_igi); in rtl8723be_dm_dig()