Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/staging/rtl8712/
H A 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()
H A Drtl871x_pwrctrl.h108 void r8712_set_ps_mode(struct _adapter *padapter, uint ps_mode,
H A Drtl871x_mp_ioctl.h186 unsigned int ps_mode; member
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A 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()
H A Dps.h9 bool ps_mode);
/openbmc/linux/drivers/staging/rtl8723bs/core/
H A 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 …]
H A 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()
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dcmdevt.c1004 adapter->ps_mode, adapter->ps_state); in mwifiex_cmd_timeout_func()
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()
1403 uint16_t action = le16_to_cpu(ps_mode->action); in mwifiex_ret_enh_power_mode()
1406 le16_to_cpu(ps_mode->params.ps_bitmap); in mwifiex_ret_enh_power_mode()
1451 pm_cfg->param.ps_mode = 1; in mwifiex_ret_enh_power_mode()
[all …]
H A 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()
H A Dioctl.h201 u16 ps_mode; member
291 u32 ps_mode; member
H A 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()
H A Dinit.c228 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_CAM; in mwifiex_init_adapter()
H A DREADME127 ps_mode = <0/1, CAM mode/PS mode>
H A Dmain.h946 u16 ps_mode; member
1525 int mwifiex_drv_set_power(struct mwifiex_private *priv, u32 *ps_mode);
H A Dsta_cmdresp.c55 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_CAM; in mwifiex_process_cmdresp_error()
H A 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()
/openbmc/linux/include/linux/firmware/
H A 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
/openbmc/linux/drivers/net/wireless/ti/wl1251/
H A Dcmd.h28 int wl1251_cmd_ps_mode(struct wl1251 *wl, u8 ps_mode);
315 u8 ps_mode; /* STATION_* */ member
H A 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()
/openbmc/linux/drivers/firmware/xilinx/
H A 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()
/openbmc/linux/drivers/net/wireless/ti/wlcore/
H A Dcmd.h39 u8 ps_mode, u16 auto_ps_timeout);
435 u8 ps_mode; /* STATION_* */ member
H A 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()
H A 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()
H A 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()
/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Drtw_pwrctrl.h278 void rtw_set_ps_mode(struct adapter *padapter, u8 ps_mode, u8 smart_ps, u8 bcn_ant_mode, const char…

12