Home
last modified time | relevance | path

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

12

/linux-5.19.10/drivers/staging/r8188eu/core/
Drtw_pwrctrl.c192 void rtw_set_ps_mode(struct adapter *padapter, u8 ps_mode, u8 smart_ps, u8 bcn_ant_mode) in rtw_set_ps_mode() argument
197 if (ps_mode > PM_Card_Disable) in rtw_set_ps_mode()
200 if (pwrpriv->pwr_mode == ps_mode) { in rtw_set_ps_mode()
201 if (ps_mode == PS_MODE_ACTIVE) in rtw_set_ps_mode()
209 if (ps_mode == PS_MODE_ACTIVE) { in rtw_set_ps_mode()
211 pwrpriv->pwr_mode = ps_mode; in rtw_set_ps_mode()
212 rtw_set_firmware_ps_mode(padapter, ps_mode); in rtw_set_ps_mode()
218 pwrpriv->pwr_mode = ps_mode; in rtw_set_ps_mode()
221 rtw_set_firmware_ps_mode(padapter, ps_mode); in rtw_set_ps_mode()
/linux-5.19.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.h108 void r8712_set_ps_mode(struct _adapter *padapter, uint ps_mode,
Drtl871x_mp_ioctl.h186 unsigned int ps_mode; member
/linux-5.19.10/drivers/net/wireless/marvell/mwifiex/
Dcmdevt.c1016 adapter->ps_mode, adapter->ps_state); in mwifiex_cmd_timeout_func()
1355 struct mwifiex_ps_param *ps_mode = &ps_tlv->param; in mwifiex_cmd_enh_power_mode() local
1363 ps_mode->null_pkt_interval = in mwifiex_cmd_enh_power_mode()
1365 ps_mode->multiple_dtims = in mwifiex_cmd_enh_power_mode()
1367 ps_mode->bcn_miss_timeout = in mwifiex_cmd_enh_power_mode()
1369 ps_mode->local_listen_interval = in mwifiex_cmd_enh_power_mode()
1371 ps_mode->adhoc_wake_period = in mwifiex_cmd_enh_power_mode()
1373 ps_mode->delay_to_ps = in mwifiex_cmd_enh_power_mode()
1375 ps_mode->mode = cpu_to_le16(adapter->enhanced_ps_mode); in mwifiex_cmd_enh_power_mode()
1413 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()
DREADME127 ps_mode = <0/1, CAM mode/PS mode>
Dmain.h970 u16 ps_mode; member
1544 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()
/linux-5.19.10/drivers/net/wireless/realtek/rtw89/
Dps.c56 if (rtwdev->chip->low_power_hci_modes & BIT(rtwdev->ps_mode)) in rtw89_ps_power_mode_change()
64 if (!rtwdev->ps_mode) in __rtw89_enter_ps_mode()
75 if (!rtwdev->ps_mode) in __rtw89_leave_ps_mode()
/linux-5.19.10/drivers/staging/rtl8723bs/core/
Drtw_pwrctrl.c346 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
350 if (ps_mode > PM_Card_Disable) in rtw_set_ps_mode()
353 if (pwrpriv->pwr_mode == ps_mode) in rtw_set_ps_mode()
354 if (ps_mode == PS_MODE_ACTIVE) in rtw_set_ps_mode()
361 if (ps_mode == PS_MODE_ACTIVE) { in rtw_set_ps_mode()
365 pwrpriv->pwr_mode = ps_mode; in rtw_set_ps_mode()
368 rtw_hal_set_hwreg(padapter, HW_VAR_H2C_FW_PWRMODE, (u8 *)(&ps_mode)); in rtw_set_ps_mode()
371 hal_btcoex_LpsNotify(padapter, ps_mode); in rtw_set_ps_mode()
379 hal_btcoex_LpsNotify(padapter, ps_mode); in rtw_set_ps_mode()
382 pwrpriv->pwr_mode = ps_mode; in rtw_set_ps_mode()
[all …]
Drtw_cmd.c1502 u8 ps_mode = pwrpriv->pwr_mode; in rtw_lps_change_dtim_hdl() local
1504 rtw_hal_set_hwreg(padapter, HW_VAR_H2C_FW_PWRMODE, (u8 *)(&ps_mode)); in rtw_lps_change_dtim_hdl()
/linux-5.19.10/include/linux/firmware/
Dxlnx-zynqmp.h436 unsigned int zynqmp_pm_bootmode_read(u32 *ps_mode);
437 int zynqmp_pm_bootmode_write(u32 ps_mode);
580 static inline unsigned int zynqmp_pm_bootmode_read(u32 *ps_mode) in zynqmp_pm_bootmode_read() argument
585 static inline int zynqmp_pm_bootmode_write(u32 ps_mode) in zynqmp_pm_bootmode_write() argument
/linux-5.19.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.c313 int wl1251_cmd_ps_mode(struct wl1251 *wl, u8 ps_mode) in wl1251_cmd_ps_mode() argument
324 ps_params->ps_mode = ps_mode; in wl1251_cmd_ps_mode()
/linux-5.19.10/drivers/staging/r8188eu/include/
Drtw_pwrctrl.h99 void rtw_set_ps_mode(struct adapter *adapter, u8 ps_mode, u8 smart_ps,
/linux-5.19.10/drivers/firmware/xilinx/
Dzynqmp.c1053 unsigned int zynqmp_pm_bootmode_read(u32 *ps_mode) in zynqmp_pm_bootmode_read() argument
1061 *ps_mode = ret_payload[1]; in zynqmp_pm_bootmode_read()
1076 int zynqmp_pm_bootmode_write(u32 ps_mode) in zynqmp_pm_bootmode_write() argument
1079 CRL_APB_BOOTPIN_CTRL_MASK, ps_mode, 0, NULL); in zynqmp_pm_bootmode_write()
/linux-5.19.10/drivers/net/wireless/ti/wlcore/
Dcmd.h39 u8 ps_mode, u16 auto_ps_timeout);
435 u8 ps_mode; /* STATION_* */ member
Ddebugfs.c322 int ret, ps_mode; in forced_ps_write() local
353 ps_mode = value ? STATION_POWER_SAVE_MODE : STATION_AUTO_PS_MODE; in forced_ps_write()
357 wl1271_ps_set_mode(wl, wlvif, ps_mode); in forced_ps_write()
Dcmd.c981 u8 ps_mode, u16 auto_ps_timeout) in wl1271_cmd_ps_mode() argument
995 ps_params->ps_mode = ps_mode; in wl1271_cmd_ps_mode()
/linux-5.19.10/drivers/staging/rtl8723bs/include/
Drtw_pwrctrl.h278 void rtw_set_ps_mode(struct adapter *padapter, u8 ps_mode, u8 smart_ps, u8 bcn_ant_mode, const char…

12