Lines Matching refs:dm
18 if (!rtlpriv->dm.dynamic_txpower_enable) in rtl92cu_dm_dynamic_txpower()
21 if (rtlpriv->dm.dm_flag & HAL_DM_HIPWR_DISABLE) { in rtl92cu_dm_dynamic_txpower()
22 rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL; in rtl92cu_dm_dynamic_txpower()
27 (rtlpriv->dm.entry_min_undec_sm_pwdb == 0)) { in rtl92cu_dm_dynamic_txpower()
31 rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL; in rtl92cu_dm_dynamic_txpower()
33 rtlpriv->dm.last_dtp_lvl = TXHIGHPWRLEVEL_NORMAL; in rtl92cu_dm_dynamic_txpower()
39 undec_sm_pwdb = rtlpriv->dm.entry_min_undec_sm_pwdb; in rtl92cu_dm_dynamic_txpower()
44 undec_sm_pwdb = rtlpriv->dm.undec_sm_pwdb; in rtl92cu_dm_dynamic_txpower()
50 undec_sm_pwdb = rtlpriv->dm.entry_min_undec_sm_pwdb; in rtl92cu_dm_dynamic_txpower()
58 rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_LEVEL1; in rtl92cu_dm_dynamic_txpower()
64 rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_LEVEL1; in rtl92cu_dm_dynamic_txpower()
68 rtlpriv->dm.dynamic_txhighpower_lvl = TXHIGHPWRLEVEL_NORMAL; in rtl92cu_dm_dynamic_txpower()
73 if ((rtlpriv->dm.dynamic_txhighpower_lvl != rtlpriv->dm.last_dtp_lvl)) { in rtl92cu_dm_dynamic_txpower()
78 if (rtlpriv->dm.dynamic_txhighpower_lvl == in rtl92cu_dm_dynamic_txpower()
81 else if (rtlpriv->dm.dynamic_txhighpower_lvl == in rtl92cu_dm_dynamic_txpower()
84 else if (rtlpriv->dm.dynamic_txhighpower_lvl == in rtl92cu_dm_dynamic_txpower()
89 rtlpriv->dm.last_dtp_lvl = rtlpriv->dm.dynamic_txhighpower_lvl; in rtl92cu_dm_dynamic_txpower()