Lines Matching refs:psc
123 rtlpriv->psc.inactiveps = rtlpriv->cfg->mod_params->inactiveps; in rtl92d_init_sw_vars()
124 rtlpriv->psc.swctrl_lps = rtlpriv->cfg->mod_params->swctrl_lps; in rtl92d_init_sw_vars()
125 rtlpriv->psc.fwctrl_lps = rtlpriv->cfg->mod_params->fwctrl_lps; in rtl92d_init_sw_vars()
126 if (!rtlpriv->psc.inactiveps) in rtl92d_init_sw_vars()
128 if (!rtlpriv->psc.fwctrl_lps) in rtl92d_init_sw_vars()
130 rtlpriv->psc.reg_fwctrl_lps = 3; in rtl92d_init_sw_vars()
131 rtlpriv->psc.reg_max_lps_awakeintvl = 5; in rtl92d_init_sw_vars()
136 if (rtlpriv->psc.reg_fwctrl_lps == 1) in rtl92d_init_sw_vars()
137 rtlpriv->psc.fwctrl_psmode = FW_PS_MIN_MODE; in rtl92d_init_sw_vars()
138 else if (rtlpriv->psc.reg_fwctrl_lps == 2) in rtl92d_init_sw_vars()
139 rtlpriv->psc.fwctrl_psmode = FW_PS_MAX_MODE; in rtl92d_init_sw_vars()
140 else if (rtlpriv->psc.reg_fwctrl_lps == 3) in rtl92d_init_sw_vars()
141 rtlpriv->psc.fwctrl_psmode = FW_PS_DTIM_MODE; in rtl92d_init_sw_vars()