Home
last modified time | relevance | path

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

12

/linux-6.6.21/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-6.6.21/drivers/net/wireless/realtek/rtw89/
Dps.c57 if (rtwdev->chip->low_power_hci_modes & BIT(rtwdev->ps_mode)) in rtw89_ps_power_mode_change()
68 if (!rtwdev->ps_mode) in __rtw89_enter_ps_mode()
79 if (!rtwdev->ps_mode) in __rtw89_leave_ps_mode()
119 bool ps_mode) in rtw89_enter_lps() argument
127 if (ps_mode) in rtw89_enter_lps()
Dps.h9 bool ps_mode);
/linux-6.6.21/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.c1414 u8 ps_mode = pwrpriv->pwr_mode; in rtw_lps_change_dtim_hdl() local
1416 rtw_hal_set_hwreg(padapter, HW_VAR_H2C_FW_PWRMODE, (u8 *)(&ps_mode)); in rtw_lps_change_dtim_hdl()
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
Dcmdevt.c1004 adapter->ps_mode, adapter->ps_state); in mwifiex_cmd_timeout_func()
1343 struct mwifiex_ps_param *ps_mode = &ps_tlv->param; in mwifiex_cmd_enh_power_mode() local
1351 ps_mode->null_pkt_interval = in mwifiex_cmd_enh_power_mode()
1353 ps_mode->multiple_dtims = in mwifiex_cmd_enh_power_mode()
1355 ps_mode->bcn_miss_timeout = in mwifiex_cmd_enh_power_mode()
1357 ps_mode->local_listen_interval = in mwifiex_cmd_enh_power_mode()
1359 ps_mode->adhoc_wake_period = in mwifiex_cmd_enh_power_mode()
1361 ps_mode->delay_to_ps = in mwifiex_cmd_enh_power_mode()
1363 ps_mode->mode = cpu_to_le16(adapter->enhanced_ps_mode); in mwifiex_cmd_enh_power_mode()
1401 struct host_cmd_ds_802_11_ps_mode_enh *ps_mode = in mwifiex_ret_enh_power_mode() local
[all …]
Dutil.c33 {"ps_mode", item_size(ps_mode),
34 item_addr(ps_mode), 1},
183 info->ps_mode = adapter->ps_mode; in mwifiex_get_debug_info()
Dioctl.h201 u16 ps_mode; member
291 u32 ps_mode; member
Dsta_ioctl.c748 int mwifiex_drv_set_power(struct mwifiex_private *priv, u32 *ps_mode) in mwifiex_drv_set_power() argument
754 if (*ps_mode) in mwifiex_drv_set_power()
755 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_PSP; in mwifiex_drv_set_power()
757 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_CAM; in mwifiex_drv_set_power()
758 sub_cmd = (*ps_mode) ? EN_AUTO_PS : DIS_AUTO_PS; in mwifiex_drv_set_power()
Dinit.c228 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_CAM; in mwifiex_init_adapter()
DREADME127 ps_mode = <0/1, CAM mode/PS mode>
Dmain.h946 u16 ps_mode; member
1522 int mwifiex_drv_set_power(struct mwifiex_private *priv, u32 *ps_mode);
Dsta_cmdresp.c55 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_CAM; in mwifiex_process_cmdresp_error()
Dcfg80211.c419 u32 ps_mode; in mwifiex_cfg80211_set_power_mgmt() local
425 ps_mode = enabled; in mwifiex_cfg80211_set_power_mgmt()
427 return mwifiex_drv_set_power(priv, &ps_mode); in mwifiex_cfg80211_set_power_mgmt()
/linux-6.6.21/include/linux/firmware/
Dxlnx-zynqmp.h526 unsigned int zynqmp_pm_bootmode_read(u32 *ps_mode);
527 int zynqmp_pm_bootmode_write(u32 ps_mode);
685 static inline unsigned int zynqmp_pm_bootmode_read(u32 *ps_mode) in zynqmp_pm_bootmode_read() argument
690 static inline int zynqmp_pm_bootmode_write(u32 ps_mode) in zynqmp_pm_bootmode_write() argument
/linux-6.6.21/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-6.6.21/drivers/firmware/xilinx/
Dzynqmp.c1183 unsigned int zynqmp_pm_bootmode_read(u32 *ps_mode) in zynqmp_pm_bootmode_read() argument
1191 *ps_mode = ret_payload[1]; in zynqmp_pm_bootmode_read()
1206 int zynqmp_pm_bootmode_write(u32 ps_mode) in zynqmp_pm_bootmode_write() argument
1209 CRL_APB_BOOTPIN_CTRL_MASK, ps_mode, 0, NULL); in zynqmp_pm_bootmode_write()
/linux-6.6.21/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()
Dmain.c4487 int ps_mode; in wl1271_bss_info_changed_sta() local
4491 ps_mode = STATION_POWER_SAVE_MODE; in wl1271_bss_info_changed_sta()
4494 ps_mode = STATION_AUTO_PS_MODE; in wl1271_bss_info_changed_sta()
4500 ret = wl1271_ps_set_mode(wl, wlvif, ps_mode); in wl1271_bss_info_changed_sta()
/linux-6.6.21/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