/Linux-v4.19/drivers/staging/rtl8188eu/core/ |
D | rtw_pwrctrl.c | 17 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in rtw_hw_suspend() 78 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in rtw_hw_resume() 116 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in ips_enter() 156 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in ips_leave() 206 if (time_after_eq(adapter->pwrctrlpriv.ips_deny_time, jiffies)) in rtw_pwr_unassociated_idle() 223 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in rtw_ps_processor() 232 if (padapter->pwrctrlpriv.bHWPwrPindetect) { in rtw_ps_processor() 263 rtw_set_pwr_state_check_timer(&padapter->pwrctrlpriv); in rtw_ps_processor() 271 pwrctrlpriv.pwr_state_check_timer); in pwr_state_check_handler() 286 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in rtw_set_rpwm() [all …]
|
D | rtw_led.c | 104 if (padapter->pwrctrlpriv.rf_pwrstate != rf_on) { in SwLedBlink1() 472 if ((padapter->pwrctrlpriv.rf_pwrstate != rf_on && in LedControl8188eu() 473 padapter->pwrctrlpriv.rfoff_reason > RF_CHANGE_BY_PS) && in LedControl8188eu()
|
D | rtw_cmd.c | 75 if ((pcmdpriv->padapter->pwrctrlpriv.bHWPwrPindetect) && in rtw_cmd_filter() 463 padapter->pwrctrlpriv.smart_ps = 0; in rtw_joinbss_cmd() 465 padapter->pwrctrlpriv.smart_ps = padapter->registrypriv.smart_ps; in rtw_joinbss_cmd() 467 DBG_88E("%s: smart_ps =%d\n", __func__, padapter->pwrctrlpriv.smart_ps); in rtw_joinbss_cmd() 836 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in lps_ctrl_wk_hdl() 857 padapter->pwrctrlpriv.LpsIdleCount = 0; in lps_ctrl_wk_hdl()
|
/Linux-v4.19/drivers/staging/rtl8712/ |
D | rtl871x_pwrctrl.c | 41 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in r8712_set_rpwm() 72 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in r8712_set_ps_mode() 101 struct pwrctrl_priv *pwrpriv = &(padapter->pwrctrlpriv); in r8712_cpwm_int_hdl() 106 del_timer(&padapter->pwrctrlpriv.rpwm_check_timer); in r8712_cpwm_int_hdl() 130 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in _rpwm_check_handler() 143 struct _adapter, pwrctrlpriv); in SetPSModeWorkItemCallback() 157 struct _adapter, pwrctrlpriv); in rpwm_workitem_callback() 170 from_timer(adapter, t, pwrctrlpriv.rpwm_check_timer); in rpwm_check_handler() 177 struct pwrctrl_priv *pwrctrlpriv = &padapter->pwrctrlpriv; in r8712_init_pwrctrl_priv() local 179 memset((unsigned char *)pwrctrlpriv, 0, sizeof(struct pwrctrl_priv)); in r8712_init_pwrctrl_priv() [all …]
|
D | rtl8712_cmd.c | 266 if (padapter->pwrctrlpriv.pwr_mode > PS_MODE_ACTIVE) { in cmd_hdl_filter() 267 padapter->pwrctrlpriv.pwr_mode = PS_MODE_ACTIVE; in cmd_hdl_filter() 268 mutex_lock(&padapter->pwrctrlpriv.mutex_lock); in cmd_hdl_filter() 270 mutex_unlock(&padapter->pwrctrlpriv.mutex_lock); in cmd_hdl_filter() 326 struct mutex *pwctrl_lock = &padapter->pwrctrlpriv.mutex_lock; in r8712_cmd_thread() 402 if (padapter->pwrctrlpriv.bSleep) { in r8712_cmd_thread()
|
D | usb_ops_linux.c | 180 (padapter->pwrctrlpriv.pnp_bstop_trx)) in r8712_usb_write_mem() 270 adapter->pwrctrlpriv.pnp_bstop_trx || !precvbuf) in r8712_usb_read_port() 406 (padapter->pwrctrlpriv.pnp_bstop_trx)) in r8712_usb_write_port()
|
D | drv_types.h | 151 struct pwrctrl_priv pwrctrlpriv; member
|
D | rtl871x_mlme.c | 675 if (padapter->pwrctrlpriv.pwr_mode != in r8712_ind_disconnect() 1006 preportpwrstate->state |= (u8)(adapter->pwrctrlpriv.cpwm_tog + 0x80); in r8712_cpwm_event_callback() 1079 if (adapter->pwrctrlpriv.pwr_mode != adapter->registrypriv.power_mgnt) { in _r8712_join_timeout_handler() 1101 if (adapter->pwrctrlpriv.pwr_mode != adapter->registrypriv.power_mgnt) in _r8712_dhcp_timeout_handler()
|
D | rtl871x_xmit.c | 213 if (padapter->pwrctrlpriv.pwr_mode != in r8712_update_attrib()
|
D | rtl871x_ioctl_linux.c | 137 padapter->pwrctrlpriv.pwr_mode) in handle_group_key()
|
/Linux-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_pwrctrl.c | 198 struct pwrctrl_priv *pwrctrlpriv = in pwr_state_check_handler() local 199 from_timer(pwrctrlpriv, t, pwr_state_check_timer); in pwr_state_check_handler() 200 struct adapter *padapter = pwrctrlpriv->adapter; in pwr_state_check_handler() 1127 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in rtw_init_pwrctrl_priv() local 1129 sema_init(&pwrctrlpriv->lock, 1); in rtw_init_pwrctrl_priv() 1130 sema_init(&pwrctrlpriv->check_32k_lock, 1); in rtw_init_pwrctrl_priv() 1131 pwrctrlpriv->rf_pwrstate = rf_on; in rtw_init_pwrctrl_priv() 1132 pwrctrlpriv->ips_enter_cnts = 0; in rtw_init_pwrctrl_priv() 1133 pwrctrlpriv->ips_leave_cnts = 0; in rtw_init_pwrctrl_priv() 1134 pwrctrlpriv->bips_processing = false; in rtw_init_pwrctrl_priv() [all …]
|
/Linux-v4.19/drivers/staging/rtl8188eu/include/ |
D | rtw_pwrctrl.h | 203 #define rtw_get_ips_mode_req(pwrctrlpriv) \ argument 204 (pwrctrlpriv)->ips_mode_req 206 #define rtw_ips_mode_req(pwrctrlpriv, ips_mode) \ argument 207 ((pwrctrlpriv)->ips_mode_req = (ips_mode)) 211 #define _rtw_set_pwr_state_check_timer(pwrctrlpriv, ms) \ argument 212 mod_timer(&pwrctrlpriv->pwr_state_check_timer, \
|
D | drv_types.h | 138 struct pwrctrl_priv pwrctrlpriv; member
|
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/ |
D | os_intfs.c | 407 struct pwrctrl_priv *pwrctrlpriv = &padapter->pwrctrlpriv; in rtw_reset_drv_sw() local 422 pwrctrlpriv->pwr_state_check_cnts = 0; in rtw_reset_drv_sw() 512 del_timer_sync(&padapter->pwrctrlpriv.pwr_state_check_timer); in rtw_cancel_all_timer() 547 struct pwrctrl_priv *pwrctrlpriv = &padapter->pwrctrlpriv; in _netdev_open() local 552 if (pwrctrlpriv->ps_flag) { in _netdev_open() 590 padapter->pwrctrlpriv.bips_processing = false; in _netdev_open() 591 rtw_set_pwr_state_check_timer(&padapter->pwrctrlpriv); in _netdev_open() 642 rtw_set_pwr_state_check_timer(&padapter->pwrctrlpriv); in ips_netdrv_open() 705 if (padapter->pwrctrlpriv.bInternalAutoSuspend) { in netdev_close() 706 if (padapter->pwrctrlpriv.rf_pwrstate == rf_off) in netdev_close() [all …]
|
D | usb_intf.c | 173 if (!padapter->pwrctrlpriv.bInternalAutoSuspend) in rtw_dev_unload() 199 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in rtw_suspend() 271 pwrpriv = &padapter->pwrctrlpriv; in rtw_resume_process() 370 if (padapter->pwrctrlpriv.bSupportRemoteWakeup) { in rtw_usb_if1_init()
|
D | usb_ops_linux.c | 208 if ((adapt->bSurpriseRemoved) || (adapt->pwrctrlpriv.pnp_bstop_trx)) { in usbctrl_vendorreq() 427 adapter->pwrctrlpriv.pnp_bstop_trx) { in usb_read_port() 656 (padapter->pwrctrlpriv.pnp_bstop_trx)) { in usb_write_port()
|
D | ioctl_linux.c | 1218 if (padapter->pwrctrlpriv.brfoffbyhw && padapter->bDriverStopped) { in rtw_wx_get_scan() 1583 struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv; in rtw_wx_set_enc()
|
/Linux-v4.19/drivers/staging/rtl8188eu/hal/ |
D | rtl8188e_hal_init.c | 104 padapter->pwrctrlpriv.bFwCurrentInPSMode = false; in rtl8188e_InitializeFirmwareVars() 438 padapter->pwrctrlpriv.bHWPowerdown = false; in Hal_ReadPowerSavingMode88E() 439 padapter->pwrctrlpriv.bSupportRemoteWakeup = false; in Hal_ReadPowerSavingMode88E() 444 padapter->pwrctrlpriv.bHWPowerdown = (hwinfo[EEPROM_RF_FEATURE_OPTION_88E] & BIT(4)); in Hal_ReadPowerSavingMode88E() 446 padapter->pwrctrlpriv.bHWPowerdown = padapter->registrypriv.hwpdn_mode; in Hal_ReadPowerSavingMode88E() 450 …padapter->pwrctrlpriv.bSupportRemoteWakeup = (hwinfo[EEPROM_USB_OPTIONAL_FUNCTION0] & BIT(1)) ? tr… in Hal_ReadPowerSavingMode88E() 453 …padapter->pwrctrlpriv.bHWPwrPindetect, padapter->pwrctrlpriv.bHWPowerdown, padapter->pwrctrlpriv.b… in Hal_ReadPowerSavingMode88E()
|
D | usb_halinit.c | 634 if (adapt->pwrctrlpriv.bHWPowerdown) { in RfOnOffDetect() 654 struct pwrctrl_priv *pwrctrlpriv = &Adapter->pwrctrlpriv; in rtl8188eu_hal_init() local 662 if (Adapter->pwrctrlpriv.bkeepfwalive) { in rtl8188eu_hal_init() 686 if (pwrctrlpriv->reg_rfoff) in rtl8188eu_hal_init() 687 pwrctrlpriv->rf_pwrstate = rf_off; in rtl8188eu_hal_init() 829 pwrctrlpriv->rf_pwrstate = rf_on; in rtl8188eu_hal_init() 845 if (pwrctrlpriv->rf_pwrstate == rf_on) { in rtl8188eu_hal_init() 953 DBG_88E("bkeepfwalive(%x)\n", Adapter->pwrctrlpriv.bkeepfwalive); in rtl8188eu_hal_deinit() 954 if (Adapter->pwrctrlpriv.bkeepfwalive) { in rtl8188eu_hal_deinit() 955 if ((Adapter->pwrctrlpriv.bHWPwrPindetect) && (Adapter->pwrctrlpriv.bHWPowerdown)) in rtl8188eu_hal_deinit() [all …]
|
D | rtl8188e_dm.c | 70 struct pwrctrl_priv *pwrctrlpriv = &Adapter->pwrctrlpriv; in Update_ODM_ComInfo_88E() local 106 dm_odm->pbPowerSaving = (bool *)&pwrctrlpriv->bpower_saving; in Update_ODM_ComInfo_88E()
|
D | rtl8188e_cmd.c | 155 struct pwrctrl_priv *pwrpriv = &adapt->pwrctrlpriv; in rtl8188e_set_FwPwrMode_cmd()
|
/Linux-v4.19/drivers/staging/rtl8723bs/hal/ |
D | hal_com.c | 1583 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in linked_info_dump() local 1591 pwrctrlpriv->org_power_mgnt = pwrctrlpriv->power_mgnt;/* keep org value */ in linked_info_dump() 1594 pwrctrlpriv->ips_org_mode = pwrctrlpriv->ips_mode;/* keep org value */ in linked_info_dump() 1597 rtw_pm_set_ips(padapter, pwrctrlpriv->ips_org_mode); in linked_info_dump() 1599 rtw_pm_set_lps(padapter, pwrctrlpriv->ips_org_mode); in linked_info_dump()
|
D | rtl8723b_dm.c | 75 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(Adapter); in Update_ODM_ComInfo_8723b() local 121 ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_POWER_SAVING, &(pwrctrlpriv->bpower_saving)); in Update_ODM_ComInfo_8723b()
|
D | sdio_halinit.c | 713 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(Adapter); in HalDetectPwrDownMode() local 719 if (tmpvalue & BIT4 && pwrctrlpriv->reg_pdnmode) in HalDetectPwrDownMode() 733 struct pwrctrl_priv *pwrctrlpriv; in rtl8723bs_hal_init() local 739 pwrctrlpriv = adapter_to_pwrctl(padapter); in rtl8723bs_hal_init() 841 if (pwrctrlpriv->reg_rfoff == true) in rtl8723bs_hal_init() 842 pwrctrlpriv->rf_pwrstate = rf_off; in rtl8723bs_hal_init() 987 pwrctrlpriv->rf_pwrstate = rf_on; in rtl8723bs_hal_init() 989 if (pwrctrlpriv->rf_pwrstate == rf_on) { in rtl8723bs_hal_init()
|
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/ |
D | os_intfs.c | 718 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in rtw_reset_drv_sw() local 739 pwrctrlpriv->pwr_state_check_cnts = 0; in rtw_reset_drv_sw() 950 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in _netdev_open() local 957 if (pwrctrlpriv->ps_flag == true) { in _netdev_open() 987 pwrctrlpriv->bips_processing = false; in _netdev_open() 1022 struct pwrctrl_priv *pwrctrlpriv = adapter_to_pwrctl(padapter); in netdev_open() local 1024 if (pwrctrlpriv->bInSuspend == true) { in netdev_open() 1025 DBG_871X("+871x_drv - drv_open, bInSuspend =%d\n", pwrctrlpriv->bInSuspend); in netdev_open()
|