/openbmc/linux/drivers/staging/rtl8712/ |
H A D | rtl871x_pwrctrl.c | 58 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 D | rtl871x_pwrctrl.h | 108 void r8712_set_ps_mode(struct _adapter *padapter, uint ps_mode,
|
H A D | rtl871x_mp_ioctl.h | 186 unsigned int ps_mode; member
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | ps.c | 57 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 D | ps.h | 9 bool ps_mode);
|
/openbmc/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_pwrctrl.c | 346 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 D | rtw_cmd.c | 1414 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 D | cmdevt.c | 1004 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 D | util.c | 33 {"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 D | ioctl.h | 201 u16 ps_mode; member 291 u32 ps_mode; member
|
H A D | sta_ioctl.c | 748 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 D | init.c | 228 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_CAM; in mwifiex_init_adapter()
|
H A D | README | 127 ps_mode = <0/1, CAM mode/PS mode>
|
H A D | main.h | 946 u16 ps_mode; member 1525 int mwifiex_drv_set_power(struct mwifiex_private *priv, u32 *ps_mode);
|
H A D | sta_cmdresp.c | 55 adapter->ps_mode = MWIFIEX_802_11_POWER_MODE_CAM; in mwifiex_process_cmdresp_error()
|
H A D | cfg80211.c | 419 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 D | xlnx-zynqmp.h | 526 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 D | cmd.h | 28 int wl1251_cmd_ps_mode(struct wl1251 *wl, u8 ps_mode); 315 u8 ps_mode; /* STATION_* */ member
|
H A D | cmd.c | 313 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 D | zynqmp.c | 1183 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 D | cmd.h | 39 u8 ps_mode, u16 auto_ps_timeout); 435 u8 ps_mode; /* STATION_* */ member
|
H A D | debugfs.c | 322 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 D | cmd.c | 981 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 D | main.c | 4487 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 D | rtw_pwrctrl.h | 278 void rtw_set_ps_mode(struct adapter *padapter, u8 ps_mode, u8 smart_ps, u8 bcn_ant_mode, const char…
|