Lines Matching refs:dm_pstable
640 struct ps_t *dm_pstable = &rtlpriv->dm_pstable; in rtl8723e_dm_rf_saving() local
660 if (dm_pstable->rssi_val_min != 0) { in rtl8723e_dm_rf_saving()
661 if (dm_pstable->pre_rfstate == RF_NORMAL) { in rtl8723e_dm_rf_saving()
662 if (dm_pstable->rssi_val_min >= 30) in rtl8723e_dm_rf_saving()
663 dm_pstable->cur_rfstate = RF_SAVE; in rtl8723e_dm_rf_saving()
665 dm_pstable->cur_rfstate = RF_NORMAL; in rtl8723e_dm_rf_saving()
667 if (dm_pstable->rssi_val_min <= 25) in rtl8723e_dm_rf_saving()
668 dm_pstable->cur_rfstate = RF_NORMAL; in rtl8723e_dm_rf_saving()
670 dm_pstable->cur_rfstate = RF_SAVE; in rtl8723e_dm_rf_saving()
673 dm_pstable->cur_rfstate = RF_MAX; in rtl8723e_dm_rf_saving()
676 dm_pstable->cur_rfstate = RF_NORMAL; in rtl8723e_dm_rf_saving()
679 if (dm_pstable->pre_rfstate != dm_pstable->cur_rfstate) { in rtl8723e_dm_rf_saving()
680 if (dm_pstable->cur_rfstate == RF_SAVE) { in rtl8723e_dm_rf_saving()
706 dm_pstable->pre_rfstate = dm_pstable->cur_rfstate; in rtl8723e_dm_rf_saving()
714 struct ps_t *dm_pstable = &rtlpriv->dm_pstable; in rtl8723e_dm_dynamic_bb_powersaving() local
718 dm_pstable->rssi_val_min = 0; in rtl8723e_dm_dynamic_bb_powersaving()
725 dm_pstable->rssi_val_min = in rtl8723e_dm_dynamic_bb_powersaving()
729 dm_pstable->rssi_val_min); in rtl8723e_dm_dynamic_bb_powersaving()
731 dm_pstable->rssi_val_min = in rtl8723e_dm_dynamic_bb_powersaving()
735 dm_pstable->rssi_val_min); in rtl8723e_dm_dynamic_bb_powersaving()
738 dm_pstable->rssi_val_min = in rtl8723e_dm_dynamic_bb_powersaving()
743 dm_pstable->rssi_val_min); in rtl8723e_dm_dynamic_bb_powersaving()