Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/staging/rtl8712/
Drtl871x_pwrctrl.c58 void r8712_set_ps_mode(struct _adapter *padapter, uint ps_mode, uint smart_ps) in r8712_set_ps_mode() argument
62 if (ps_mode > PM_Card_Disable) in r8712_set_ps_mode()
65 if (ps_mode == PS_MODE_ACTIVE) in r8712_set_ps_mode()
67 if ((pwrpriv->pwr_mode != ps_mode) || (pwrpriv->smart_ps != smart_ps)) { in r8712_set_ps_mode()
72 pwrpriv->pwr_mode = ps_mode; in r8712_set_ps_mode()
Drtl871x_pwrctrl.h111 void r8712_set_ps_mode(struct _adapter *padapter, uint ps_mode,
Drtl871x_mp_ioctl.h314 unsigned int ps_mode; member
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
Drtw_pwrctrl.c359 void rtw_set_ps_mode(struct adapter *padapter, u8 ps_mode, u8 smart_ps, u8 bcn_ant_mode) in rtw_set_ps_mode() argument
365 __func__, ps_mode, smart_ps)); in rtw_set_ps_mode()
367 if (ps_mode > PM_Card_Disable) { in rtw_set_ps_mode()
368 RT_TRACE(_module_rtl871x_pwrctrl_c_, _drv_err_, ("ps_mode:%d error\n", ps_mode)); in rtw_set_ps_mode()
372 if (pwrpriv->pwr_mode == ps_mode) { in rtw_set_ps_mode()
373 if (ps_mode == PS_MODE_ACTIVE) in rtw_set_ps_mode()
382 if (ps_mode == PS_MODE_ACTIVE) { in rtw_set_ps_mode()
386 pwrpriv->pwr_mode = ps_mode; in rtw_set_ps_mode()
389 rtw_hal_set_hwreg(padapter, HW_VAR_H2C_FW_PWRMODE, (u8 *)(&ps_mode)); in rtw_set_ps_mode()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dcmdevt.c1002 adapter->ps_mode, adapter->ps_state); in mwifiex_cmd_timeout_func()
1334 struct mwifiex_ps_param *ps_mode = &ps_tlv->param; in mwifiex_cmd_enh_power_mode() local
1342 ps_mode->null_pkt_interval = in mwifiex_cmd_enh_power_mode()
1344 ps_mode->multiple_dtims = in mwifiex_cmd_enh_power_mode()
1346 ps_mode->bcn_miss_timeout = in mwifiex_cmd_enh_power_mode()
1348 ps_mode->local_listen_interval = in mwifiex_cmd_enh_power_mode()
1350 ps_mode->adhoc_wake_period = in mwifiex_cmd_enh_power_mode()
1352 ps_mode->delay_to_ps = in mwifiex_cmd_enh_power_mode()
1354 ps_mode->mode = cpu_to_le16(adapter->enhanced_ps_mode); in mwifiex_cmd_enh_power_mode()
1392 struct host_cmd_ds_802_11_ps_mode_enh *ps_mode = in mwifiex_ret_enh_power_mode() local
[all …]
Dutil.c45 {"ps_mode", item_size(ps_mode),
46 item_addr(ps_mode), 1},
195 info->ps_mode = adapter->ps_mode; in mwifiex_get_debug_info()
Dioctl.h212 u16 ps_mode; member
302 u32 ps_mode; member
Dsta_ioctl.c760 int mwifiex_drv_set_power(struct mwifiex_private *priv, u32 *ps_mode) in mwifiex_drv_set_power() argument
766 if (*ps_mode) in mwifiex_drv_set_power()
767 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_PSP; in mwifiex_drv_set_power()
769 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_CAM; in mwifiex_drv_set_power()
770 sub_cmd = (*ps_mode) ? EN_AUTO_PS : DIS_AUTO_PS; in mwifiex_drv_set_power()
Dinit.c239 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_CAM; in mwifiex_init_adapter()
DREADME126 ps_mode = <0/1, CAM mode/PS mode>
Dmain.h969 u16 ps_mode; member
1542 int mwifiex_drv_set_power(struct mwifiex_private *priv, u32 *ps_mode);
Dsta_cmdresp.c67 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_CAM; in mwifiex_process_cmdresp_error()
Dcfg80211.c430 u32 ps_mode; in mwifiex_cfg80211_set_power_mgmt() local
436 ps_mode = enabled; in mwifiex_cfg80211_set_power_mgmt()
438 return mwifiex_drv_set_power(priv, &ps_mode); in mwifiex_cfg80211_set_power_mgmt()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/
Drtw_pwrctrl.c391 void rtw_set_ps_mode(struct adapter *padapter, u8 ps_mode, u8 smart_ps, u8 bcn_ant_mode, const char… in rtw_set_ps_mode() argument
400 __func__, ps_mode, smart_ps)); in rtw_set_ps_mode()
402 if (ps_mode > PM_Card_Disable) { in rtw_set_ps_mode()
403 RT_TRACE(_module_rtl871x_pwrctrl_c_, _drv_err_, ("ps_mode:%d error\n", ps_mode)); in rtw_set_ps_mode()
407 if (pwrpriv->pwr_mode == ps_mode) in rtw_set_ps_mode()
408 if (PS_MODE_ACTIVE == ps_mode) in rtw_set_ps_mode()
415 if (ps_mode == PS_MODE_ACTIVE) { in rtw_set_ps_mode()
422 pwrpriv->pwr_mode = ps_mode; in rtw_set_ps_mode()
448 rtw_hal_set_hwreg(padapter, HW_VAR_H2C_FW_PWRMODE, (u8 *)(&ps_mode)); in rtw_set_ps_mode()
451 hal_btcoex_LpsNotify(padapter, ps_mode); in rtw_set_ps_mode()
[all …]
Drtw_cmd.c1593 u8 ps_mode = pwrpriv->pwr_mode; in rtw_lps_change_dtim_hdl() local
1597 rtw_hal_set_hwreg(padapter, HW_VAR_H2C_FW_PWRMODE, (u8 *)(&ps_mode)); in rtw_lps_change_dtim_hdl()
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/
Dcmd.h28 int wl1251_cmd_ps_mode(struct wl1251 *wl, u8 ps_mode);
315 u8 ps_mode; /* STATION_* */ member
Dcmd.c319 int wl1251_cmd_ps_mode(struct wl1251 *wl, u8 ps_mode) in wl1251_cmd_ps_mode() argument
332 ps_params->ps_mode = ps_mode; in wl1251_cmd_ps_mode()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/
Drtw_pwrctrl.h221 void rtw_set_ps_mode(struct adapter *adapter, u8 ps_mode, u8 smart_ps,
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/
Dcmd.h39 u8 ps_mode, u16 auto_ps_timeout);
435 u8 ps_mode; /* STATION_* */ member
Ddebugfs.c329 int ret, ps_mode; in forced_ps_write() local
362 ps_mode = value ? STATION_POWER_SAVE_MODE : STATION_AUTO_PS_MODE; in forced_ps_write()
366 wl1271_ps_set_mode(wl, wlvif, ps_mode); in forced_ps_write()
Dcmd.c983 u8 ps_mode, u16 auto_ps_timeout) in wl1271_cmd_ps_mode() argument
997 ps_params->ps_mode = ps_mode; in wl1271_cmd_ps_mode()
Dmain.c4531 int ps_mode; in wl1271_bss_info_changed_sta() local
4535 ps_mode = STATION_POWER_SAVE_MODE; in wl1271_bss_info_changed_sta()
4538 ps_mode = STATION_AUTO_PS_MODE; in wl1271_bss_info_changed_sta()
4544 ret = wl1271_ps_set_mode(wl, wlvif, ps_mode); in wl1271_bss_info_changed_sta()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Drtw_pwrctrl.h345 void rtw_set_ps_mode(struct adapter *padapter, u8 ps_mode, u8 smart_ps, u8 bcn_ant_mode, const char…
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
Dmain.h1649 u8 ps_mode; member
/kernel/linux/linux-5.10/drivers/net/wireless/
Dmac80211_hwsim.c590 enum ps_mode { enum
835 enum ps_mode old_ps; in hwsim_fops_ps_write()

12