Home
last modified time | relevance | path

Searched refs:pwrctl (Results 1 – 9 of 9) sorted by relevance

/drivers/staging/rtl8723bs/include/
Drtw_pwrctrl.h240 #define rtw_ips_mode_req(pwrctl, ips_mode) \ argument
241 ((pwrctl)->ips_mode_req = (ips_mode))
245 #define _rtw_set_pwr_state_check_timer(pwrctl, ms) \ argument
247 _set_timer(&(pwrctl)->pwr_state_check_timer, (ms)); \
250 #define rtw_set_pwr_state_check_timer(pwrctl) \ argument
251 _rtw_set_pwr_state_check_timer((pwrctl), (pwrctl)->pwr_state_check_interval)
Ddrv_types.h308 #define pwrctl_to_dvobj(pwrctl) container_of(pwrctl, struct dvobj_priv, pwrctl_priv) argument
/drivers/devfreq/
Dsun8i-a33-mbus.c142 u32 dxodt, mdfscr, pwrctl, vtfcr; in sun8i_a33_mbus_set_dram_freq() local
152 pwrctl = readl_relaxed(priv->reg_dram + DRAM_PWRCTL) & in sun8i_a33_mbus_set_dram_freq()
154 writel_relaxed(pwrctl, priv->reg_dram + DRAM_PWRCTL); in sun8i_a33_mbus_set_dram_freq()
206 pwrctl |= DRAM_PWRCTL_SELFREF_EN; in sun8i_a33_mbus_set_dram_freq()
207 writel_relaxed(pwrctl, priv->reg_dram + DRAM_PWRCTL); in sun8i_a33_mbus_set_dram_freq()
/drivers/staging/rtl8723bs/os_dep/
Dos_intfs.c967 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in netdev_close() local
969 if (pwrctl->bInternalAutoSuspend) { in netdev_close()
971 if (pwrctl->rf_pwrstate == rf_off) in netdev_close()
972 pwrctl->ps_flag = true; in netdev_close()
985 if (pwrctl->rf_pwrstate == rf_on) { in netdev_close()
1016 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in rtw_dev_unload() local
1031 if (!pwrctl->bInternalAutoSuspend) in rtw_dev_unload()
1044 if (rtw_hal_check_ips_status(padapter) || pwrctl->rf_pwrstate == rf_off) { in rtw_dev_unload()
1056 hal_btcoex_IpsNotify(padapter, pwrctl->ips_mode_req); in rtw_dev_unload()
/drivers/remoteproc/
Dimx_dsp_rproc.c179 int pwrctl; in imx8mp_dsp_reset() local
182 pwrctl = readl(dap + IMX8M_DAP_PWRCTL); in imx8mp_dsp_reset()
183 pwrctl |= IMX8M_PWRCTL_CORERESET; in imx8mp_dsp_reset()
184 writel(pwrctl, dap + IMX8M_DAP_PWRCTL); in imx8mp_dsp_reset()
194 pwrctl = readl(dap + IMX8M_DAP_PWRCTL); in imx8mp_dsp_reset()
195 pwrctl &= ~IMX8M_PWRCTL_CORERESET; in imx8mp_dsp_reset()
196 writel(pwrctl, dap + IMX8M_DAP_PWRCTL); in imx8mp_dsp_reset()
/drivers/staging/rtl8723bs/hal/
Dsdio_ops.c861 struct pwrctrl_priv *pwrctl; in sd_int_dpc() local
865 pwrctl = dvobj_to_pwrctl(dvobj); in sd_int_dpc()
875 del_timer_sync(&(pwrctl->pwr_rpwm_timer)); in sd_int_dpc()
879 _set_workitem(&(pwrctl->cpwm_event)); in sd_int_dpc()
Drtl8723b_cmd.c692 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in rtl8723b_download_rsvd_page() local
693 pwrctl->fw_psmode_iface_id = padapter->iface_id; in rtl8723b_download_rsvd_page()
956 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in rtl8723b_download_BTCoex_AP_mode_rsvd_page() local
957 pwrctl->fw_psmode_iface_id = padapter->iface_id; in rtl8723b_download_BTCoex_AP_mode_rsvd_page()
/drivers/mailbox/
Dbcm-pdc-mailbox.c243 u32 pwrctl; /* 0x1e8 */ member
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dchip.c194 u32 pwrctl; /* corerev >= 2 */ member