Home
last modified time | relevance | path

Searched refs:pwrctrlpriv (Results 1 – 25 of 25) sorted by relevance

/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_pwrctrl.c13 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in ips_enter()
44 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in ips_leave()
92 if (time_after_eq(adapter->pwrctrlpriv.ips_deny_time, jiffies)) in rtw_pwr_unassociated_idle()
123 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in rtw_ps_processor()
141 rtw_set_pwr_state_check_timer(&padapter->pwrctrlpriv); in rtw_ps_processor()
149 pwrctrlpriv.pwr_state_check_timer); in pwr_state_check_handler()
156 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in PS_RDY_CHECK()
194 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in rtw_set_ps_mode()
236 if (adapter->pwrctrlpriv.rf_pwrstate == rf_off) { in lps_rf_on()
288 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in LPS_Enter()
[all …]
Drtw_led.c59 if (padapter->pwrctrlpriv.rf_pwrstate != rf_on) { in blink_work()
Drtw_cmd.c513 padapter->pwrctrlpriv.smart_ps = 0; in rtw_joinbss_cmd()
515 padapter->pwrctrlpriv.smart_ps = padapter->registrypriv.smart_ps; in rtw_joinbss_cmd()
913 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in lps_ctrl_wk_hdl()
934 padapter->pwrctrlpriv.LpsIdleCount = 0; in lps_ctrl_wk_hdl()
Drtw_p2p.c1568 if (padapter->pwrctrlpriv.bFwCurrentInPSMode) in process_p2p_ps_ie()
1594 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in p2p_ps_wk_hdl()
1609 if (padapter->pwrctrlpriv.bFwCurrentInPSMode) { in p2p_ps_wk_hdl()
1686 struct adapter *adapter = from_timer(adapter, t, pwrctrlpriv.pwr_state_check_timer); in reset_ch_sitesurvey_timer_process()
1699 struct adapter *adapter = from_timer(adapter, t, pwrctrlpriv.pwr_state_check_timer); in reset_ch_sitesurvey_timer_process2()
/linux-6.1.9/drivers/staging/rtl8712/
Drtl871x_pwrctrl.c29 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in r8712_set_rpwm()
60 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in r8712_set_ps_mode()
89 struct pwrctrl_priv *pwrpriv = &(padapter->pwrctrlpriv); in r8712_cpwm_int_hdl()
94 del_timer(&padapter->pwrctrlpriv.rpwm_check_timer); in r8712_cpwm_int_hdl()
118 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in _rpwm_check_handler()
131 struct _adapter, pwrctrlpriv); in SetPSModeWorkItemCallback()
145 struct _adapter, pwrctrlpriv); in rpwm_workitem_callback()
158 from_timer(adapter, t, pwrctrlpriv.rpwm_check_timer); in rpwm_check_handler()
165 struct pwrctrl_priv *pwrctrlpriv = &padapter->pwrctrlpriv; in r8712_init_pwrctrl_priv() local
167 memset((unsigned char *)pwrctrlpriv, 0, sizeof(struct pwrctrl_priv)); in r8712_init_pwrctrl_priv()
[all …]
Drtl8712_cmd.c210 if (padapter->pwrctrlpriv.pwr_mode > PS_MODE_ACTIVE) { in cmd_hdl_filter()
211 padapter->pwrctrlpriv.pwr_mode = PS_MODE_ACTIVE; in cmd_hdl_filter()
212 mutex_lock(&padapter->pwrctrlpriv.mutex_lock); in cmd_hdl_filter()
214 mutex_unlock(&padapter->pwrctrlpriv.mutex_lock); in cmd_hdl_filter()
265 struct mutex *pwctrl_lock = &padapter->pwrctrlpriv.mutex_lock; in r8712_cmd_thread()
334 if (padapter->pwrctrlpriv.bSleep) { in r8712_cmd_thread()
Dusb_ops_linux.c168 (padapter->pwrctrlpriv.pnp_bstop_trx)) in r8712_usb_write_mem()
258 adapter->pwrctrlpriv.pnp_bstop_trx || !precvbuf) in r8712_usb_read_port()
395 (padapter->pwrctrlpriv.pnp_bstop_trx)) in r8712_usb_write_port()
Ddrv_types.h141 struct pwrctrl_priv pwrctrlpriv; member
Drtl871x_mlme.c632 if (padapter->pwrctrlpriv.pwr_mode != in r8712_ind_disconnect()
940 preportpwrstate->state |= (u8)(adapter->pwrctrlpriv.cpwm_tog + 0x80); in r8712_cpwm_event_callback()
1013 if (adapter->pwrctrlpriv.pwr_mode != adapter->registrypriv.power_mgnt) { in _r8712_join_timeout_handler()
1035 if (adapter->pwrctrlpriv.pwr_mode != adapter->registrypriv.power_mgnt) in _r8712_dhcp_timeout_handler()
Drtl871x_xmit.c201 if (padapter->pwrctrlpriv.pwr_mode != in r8712_update_attrib()
Drtl871x_ioctl_linux.c118 padapter->pwrctrlpriv.pwr_mode) in handle_group_key()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_pwrctrl.c183 struct pwrctrl_priv *pwrctrlpriv = in pwr_state_check_handler() local
184 from_timer(pwrctrlpriv, t, pwr_state_check_timer); in pwr_state_check_handler()
185 struct adapter *padapter = pwrctrlpriv->adapter; in pwr_state_check_handler()
961 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in rtw_init_pwrctrl_priv() local
963 mutex_init(&pwrctrlpriv->lock); in rtw_init_pwrctrl_priv()
964 pwrctrlpriv->rf_pwrstate = rf_on; in rtw_init_pwrctrl_priv()
965 pwrctrlpriv->ips_enter_cnts = 0; in rtw_init_pwrctrl_priv()
966 pwrctrlpriv->ips_leave_cnts = 0; in rtw_init_pwrctrl_priv()
967 pwrctrlpriv->bips_processing = false; in rtw_init_pwrctrl_priv()
969 pwrctrlpriv->ips_mode = padapter->registrypriv.ips_mode; in rtw_init_pwrctrl_priv()
[all …]
/linux-6.1.9/drivers/staging/r8188eu/include/
Drtw_pwrctrl.h79 #define rtw_get_ips_mode_req(pwrctrlpriv) \ argument
80 (pwrctrlpriv)->ips_mode_req
82 #define rtw_ips_mode_req(pwrctrlpriv, ips_mode) \ argument
83 ((pwrctrlpriv)->ips_mode_req = (ips_mode))
87 #define _rtw_set_pwr_state_check_timer(pwrctrlpriv, ms) \ argument
89 _set_timer(&(pwrctrlpriv)->pwr_state_check_timer, (ms)); \
Ddrv_types.h161 struct pwrctrl_priv pwrctrlpriv; member
/linux-6.1.9/drivers/staging/r8188eu/hal/
Drtl8188e_dm.c33 struct pwrctrl_priv *pwrctrlpriv = &Adapter->pwrctrlpriv; in Update_ODM_ComInfo_88E() local
50 dm_odm->pbPowerSaving = &pwrctrlpriv->bpower_saving; in Update_ODM_ComInfo_88E()
Dusb_halinit.c553 struct pwrctrl_priv *pwrctrlpriv = &Adapter->pwrctrlpriv; in rtl8188eu_hal_init() local
557 if (Adapter->pwrctrlpriv.bkeepfwalive) { in rtl8188eu_hal_init()
600 Adapter->pwrctrlpriv.bFwCurrentInPSMode = false; in rtl8188eu_hal_init()
710 pwrctrlpriv->rf_pwrstate = rf_on; in rtl8188eu_hal_init()
729 if (pwrctrlpriv->rf_pwrstate == rf_on) { in rtl8188eu_hal_init()
846 if (!Adapter->pwrctrlpriv.bkeepfwalive) { in rtl8188eu_hal_deinit()
1059 struct pwrctrl_priv *pwrctrlpriv; in rtl8188eu_init_default_value() local
1062 pwrctrlpriv = &adapt->pwrctrlpriv; in rtl8188eu_init_default_value()
1066 if (!pwrctrlpriv->bkeepfwalive) in rtl8188eu_init_default_value()
Drtl8188e_hal_init.c819 padapter->pwrctrlpriv.bSupportRemoteWakeup = false; in Hal_ReadPowerSavingMode88E()
825 …padapter->pwrctrlpriv.bSupportRemoteWakeup = (hwinfo[EEPROM_USB_OPTIONAL_FUNCTION0] & BIT(1)) ? tr… in Hal_ReadPowerSavingMode88E()
Drtl8188e_cmd.c155 struct pwrctrl_priv *pwrpriv = &adapt->pwrctrlpriv; in rtl8188e_set_FwPwrMode_cmd()
/linux-6.1.9/drivers/staging/r8188eu/os_dep/
Dos_intfs.c548 _cancel_timer_ex(&padapter->pwrctrlpriv.pwr_state_check_timer); in rtw_cancel_all_timer()
656 padapter->pwrctrlpriv.bips_processing = false; in _netdev_open()
657 rtw_set_pwr_state_check_timer(&padapter->pwrctrlpriv); in _netdev_open()
702 rtw_set_pwr_state_check_timer(&padapter->pwrctrlpriv); in ips_netdrv_open()
736 struct pwrctrl_priv *pwrpriv = &adapter->pwrctrlpriv; in rtw_fifo_cleanup()
793 if (padapter->pwrctrlpriv.rf_pwrstate == rf_on) { in netdev_close()
Dusb_intf.c199 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in rtw_suspend()
251 pwrpriv = &padapter->pwrctrlpriv; in rtw_resume()
348 if (padapter->pwrctrlpriv.bSupportRemoteWakeup) { in rtw_usb_if1_init()
Dioctl_linux.c1531 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in rtw_wx_set_enc()
3092 rtw_ips_mode_req(&padapter->pwrctrlpriv, rereg_priv->old_ips_mode); in rtw_rereg_nd_name()
3109 rereg_priv->old_ips_mode = rtw_get_ips_mode_req(&padapter->pwrctrlpriv); in rtw_rereg_nd_name()
3110 rtw_ips_mode_req(&padapter->pwrctrlpriv, IPS_NORMAL); in rtw_rereg_nd_name()
/linux-6.1.9/drivers/staging/rtl8723bs/hal/
Dsdio_halinit.c573 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(Adapter); in HalDetectPwrDownMode() local
579 if (tmpvalue & BIT4 && pwrctrlpriv->reg_pdnmode) in HalDetectPwrDownMode()
591 struct pwrctrl_priv *pwrctrlpriv; in rtl8723bs_hal_init() local
596 pwrctrlpriv = adapter_to_pwrctl(padapter); in rtl8723bs_hal_init()
665 if (pwrctrlpriv->reg_rfoff) in rtl8723bs_hal_init()
666 pwrctrlpriv->rf_pwrstate = rf_off; in rtl8723bs_hal_init()
796 pwrctrlpriv->rf_pwrstate = rf_on; in rtl8723bs_hal_init()
798 if (pwrctrlpriv->rf_pwrstate == rf_on) { in rtl8723bs_hal_init()
Dhal_com.c957 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in linked_info_dump() local
963 pwrctrlpriv->org_power_mgnt = pwrctrlpriv->power_mgnt;/* keep org value */ in linked_info_dump()
966 pwrctrlpriv->ips_org_mode = pwrctrlpriv->ips_mode;/* keep org value */ in linked_info_dump()
969 rtw_pm_set_ips(padapter, pwrctrlpriv->ips_org_mode); in linked_info_dump()
971 rtw_pm_set_lps(padapter, pwrctrlpriv->ips_org_mode); in linked_info_dump()
Drtl8723b_dm.c62 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(Adapter); in Update_ODM_ComInfo_8723b() local
104 ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_POWER_SAVING, &(pwrctrlpriv->bpower_saving)); in Update_ODM_ComInfo_8723b()
/linux-6.1.9/drivers/staging/rtl8723bs/os_dep/
Dos_intfs.c634 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in rtw_reset_drv_sw() local
655 pwrctrlpriv->pwr_state_check_cnts = 0; in rtw_reset_drv_sw()
826 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in _netdev_open() local
830 if (pwrctrlpriv->ps_flag) { in _netdev_open()
854 pwrctrlpriv->bips_processing = false; in _netdev_open()
883 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in netdev_open() local
885 if (pwrctrlpriv->bInSuspend) in netdev_open()