Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8723bs/include/
Drtw_pwrctrl.h311 #define rtw_get_ips_mode_req(pwrctl) \ argument
312 (pwrctl)->ips_mode_req
314 #define rtw_ips_mode_req(pwrctl, ips_mode) \ argument
315 (pwrctl)->ips_mode_req = (ips_mode)
319 #define _rtw_set_pwr_state_check_timer(pwrctl, ms) \ argument
322 _set_timer(&(pwrctl)->pwr_state_check_timer, (ms)); \
325 #define rtw_set_pwr_state_check_timer(pwrctl) \ argument
326 _rtw_set_pwr_state_check_timer((pwrctl), (pwrctl)->pwr_state_check_interval)
Ddrv_types.h486 #define pwrctl_to_dvobj(pwrctl) container_of(pwrctl, struct dvobj_priv, pwrctl_priv) argument
/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Drtl8723b_cmd.c471 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in ConstructPnoInfo() local
475 memcpy(pPnoInfoPkt, &pwrctl->pnlo_info->ssid_num, 4); in ConstructPnoInfo()
479 memcpy(pPnoInfoPkt, &pwrctl->pnlo_info->fast_scan_period, 4); in ConstructPnoInfo()
483 memcpy(pPnoInfoPkt, &pwrctl->pnlo_info->fast_scan_iterations, 4); in ConstructPnoInfo()
487 memcpy(pPnoInfoPkt, &pwrctl->pnlo_info->slow_scan_period, 4); in ConstructPnoInfo()
491 memcpy(pPnoInfoPkt, &pwrctl->pnlo_info->ssid_length, in ConstructPnoInfo()
496 memcpy(pPnoInfoPkt, &pwrctl->pnlo_info->ssid_cipher_info, in ConstructPnoInfo()
501 memcpy(pPnoInfoPkt, &pwrctl->pnlo_info->ssid_channel_info, in ConstructPnoInfo()
514 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in ConstructSSIDList() local
518 for (i = 0; i < pwrctl->pnlo_info->ssid_num ; i++) { in ConstructSSIDList()
[all …]
Dsdio_halinit.c1437 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in SetHwReg8723BS() local
1544 if (!pwrctl->wowlan_pno_enable) { in SetHwReg8723BS()
1567 pwrctl->wowlan_wake_reason = rtw_read8(padapter, REG_WOWLAN_WAKE_REASON); in SetHwReg8723BS()
1573 pwrctl->wowlan_wake_reason, in SetHwReg8723BS()
1627 pwrctl->wowlan_fw_iv = iv_high << 16 | iv_low; in SetHwReg8723BS()
1628 DBG_871X_LEVEL(_drv_always_, "fw_iv: 0x%016llx\n", pwrctl->wowlan_fw_iv); in SetHwReg8723BS()
1670 (pwrctl->wowlan_wake_reason != FWDecisionDisconnect) && in SetHwReg8723BS()
1671 (pwrctl->wowlan_wake_reason != Rx_Pairwisekey) && in SetHwReg8723BS()
1672 (pwrctl->wowlan_wake_reason != Rx_DisAssoc) && in SetHwReg8723BS()
1673 (pwrctl->wowlan_wake_reason != Rx_DeAuth) in SetHwReg8723BS()
[all …]
Dsdio_ops.c1015 struct pwrctrl_priv *pwrctl; in sd_int_dpc() local
1020 pwrctl = dvobj_to_pwrctl(dvobj); in sd_int_dpc()
1033 _cancel_timer(&(pwrctl->pwr_rpwm_timer), &bcancelled); in sd_int_dpc()
1038 _set_workitem(&(pwrctl->cpwm_event)); in sd_int_dpc()
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/
Dos_intfs.c1127 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in netdev_close() local
1131 if (pwrctl->bInternalAutoSuspend == true) { in netdev_close()
1133 if (pwrctl->rf_pwrstate == rf_off) in netdev_close()
1134 pwrctl->ps_flag = true; in netdev_close()
1148 if (pwrctl->rf_pwrstate == rf_on) { in netdev_close()
1187 struct pwrctrl_priv *pwrctl = adapter_to_pwrctl(padapter); in rtw_dev_unload() local
1207 if (!pwrctl->bInternalAutoSuspend) in rtw_dev_unload()
1224 …if (rtw_hal_check_ips_status(padapter) == true || pwrctl->rf_pwrstate == rf_off) { /* check HW sta… in rtw_dev_unload()
1233 rtw_btcoex_IpsNotify(padapter, pwrctl->ips_mode_req); in rtw_dev_unload()
1235 if (pwrctl->bSupportRemoteWakeup == true && in rtw_dev_unload()
[all …]
/Linux-v4.19/drivers/mailbox/
Dbcm-pdc-mailbox.c254 u32 pwrctl; /* 0x1e8 */ member
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dchip.c202 u32 pwrctl; /* corerev >= 2 */ member