Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/staging/rtl8712/
A 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()
94 del_timer(&padapter->pwrctrlpriv.rpwm_check_timer); in r8712_cpwm_int_hdl()
131 struct _adapter, pwrctrlpriv); in SetPSModeWorkItemCallback()
145 struct _adapter, pwrctrlpriv); in rpwm_workitem_callback()
165 struct pwrctrl_priv *pwrctrlpriv = &padapter->pwrctrlpriv; in r8712_init_pwrctrl_priv() local
168 mutex_init(&pwrctrlpriv->mutex_lock); in r8712_init_pwrctrl_priv()
169 pwrctrlpriv->cpwm = PS_STATE_S4; in r8712_init_pwrctrl_priv()
170 pwrctrlpriv->pwr_mode = PS_MODE_ACTIVE; in r8712_init_pwrctrl_priv()
171 pwrctrlpriv->smart_ps = 0; in r8712_init_pwrctrl_priv()
[all …]
A 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()
A 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()
A Ddrv_types.h141 struct pwrctrl_priv pwrctrlpriv; member
A 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()
A Drtl871x_xmit.c201 if (padapter->pwrctrlpriv.pwr_mode != in r8712_update_attrib()
A Drtl871x_ioctl_linux.c118 padapter->pwrctrlpriv.pwr_mode) in handle_group_key()
/linux-6.3-rc2/drivers/staging/rtl8723bs/core/
A Drtw_pwrctrl.c183 struct pwrctrl_priv *pwrctrlpriv = in pwr_state_check_handler() local
963 mutex_init(&pwrctrlpriv->lock); 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()
978 pwrctrlpriv->LpsIdleCount = 0; in rtw_init_pwrctrl_priv()
980 pwrctrlpriv->bLeisurePs = pwrctrlpriv->power_mgnt != PS_MODE_ACTIVE; in rtw_init_pwrctrl_priv()
984 pwrctrlpriv->rpwm = 0; in rtw_init_pwrctrl_priv()
989 pwrctrlpriv->bcn_ant_mode = 0; in rtw_init_pwrctrl_priv()
990 pwrctrlpriv->dtim = 0; in rtw_init_pwrctrl_priv()
992 pwrctrlpriv->tog = 0x80; in rtw_init_pwrctrl_priv()
[all …]
/linux-6.3-rc2/drivers/staging/rtl8723bs/hal/
A 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()
A 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()
A 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.3-rc2/drivers/staging/rtl8723bs/os_dep/
A 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()

Completed in 29 milliseconds