Home
last modified time | relevance | path

Searched refs:pwr_mode (Results 1 – 11 of 11) sorted by relevance

/drivers/staging/rtl8712/
Drtl871x_pwrctrl.c79 if ((pwrpriv->pwr_mode != ps_mode) || (pwrpriv->smart_ps != smart_ps)) { in r8712_set_ps_mode()
80 if (pwrpriv->pwr_mode == PS_MODE_ACTIVE) in r8712_set_ps_mode()
84 pwrpriv->pwr_mode = ps_mode; in r8712_set_ps_mode()
147 if (pwrpriv->pwr_mode == PS_MODE_ACTIVE) in SetPSModeWorkItemCallback()
182 pwrctrlpriv->pwr_mode = PS_MODE_ACTIVE; in r8712_init_pwrctrl_priv()
239 (pwrctrl->pwr_mode > PS_MODE_ACTIVE)) { in r8712_unregister_cmd_alive()
Drtl871x_pwrctrl.h124 uint pwr_mode; member
Drtl871x_mp_ioctl.c953 &(Adapter->pwrctrlpriv.pwr_mode), 8); in oid_rt_pro_qry_pwrstate_hdl()
962 uint pwr_mode, smart_ps; in oid_rt_pro_set_pwrstate_hdl() local
970 pwr_mode = *(uint *)(poid_par_priv->information_buf); in oid_rt_pro_set_pwrstate_hdl()
972 if (pwr_mode != Adapter->pwrctrlpriv.pwr_mode || smart_ps != in oid_rt_pro_set_pwrstate_hdl()
974 r8712_set_ps_mode(Adapter, pwr_mode, smart_ps); in oid_rt_pro_set_pwrstate_hdl()
Drtl8712_cmd.c273 if (padapter->pwrctrlpriv.pwr_mode > PS_MODE_ACTIVE) { in cmd_hdl_filter()
274 padapter->pwrctrlpriv.pwr_mode = PS_MODE_ACTIVE; in cmd_hdl_filter()
Drtl871x_mlme.c699 if (padapter->pwrctrlpriv.pwr_mode != in r8712_ind_disconnect()
1105 if (adapter->pwrctrlpriv.pwr_mode != adapter->registrypriv.power_mgnt) { in _r8712_join_timeout_handler()
1127 if (adapter->pwrctrlpriv.pwr_mode != adapter->registrypriv.power_mgnt) in _r8712_dhcp_timeout_handler()
Drtl871x_xmit.c212 if (padapter->pwrctrlpriv.pwr_mode != in r8712_update_attrib()
Drtl871x_ioctl_linux.c157 pwrctrlpriv.pwr_mode) in handle_group_key()
/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c1372 mode.pwr_mode = REC_POWER; in ath6kl_cfg80211_set_power_mgmt()
1375 mode.pwr_mode = MAX_PERF_POWER; in ath6kl_cfg80211_set_power_mgmt()
1379 mode.pwr_mode) != 0) { in ath6kl_cfg80211_set_power_mgmt()
2143 ar->wmi->saved_pwr_mode = ar->wmi->pwr_mode; in ath6kl_cfg80211_suspend()
2209 if (ar->wmi->pwr_mode != ar->wmi->saved_pwr_mode) { in ath6kl_cfg80211_resume()
3013 ar->wmi->saved_pwr_mode = ar->wmi->pwr_mode; in ath6kl_cfg80211_stop_all()
Dwmi.h113 u8 pwr_mode; member
1017 u8 pwr_mode; member
2431 int ath6kl_wmi_powermode_cmd(struct wmi *wmi, u8 if_idx, u8 pwr_mode);
Dwmi.c2053 int ath6kl_wmi_powermode_cmd(struct wmi *wmi, u8 if_idx, u8 pwr_mode) in ath6kl_wmi_powermode_cmd() argument
2064 cmd->pwr_mode = pwr_mode; in ath6kl_wmi_powermode_cmd()
2065 wmi->pwr_mode = pwr_mode; in ath6kl_wmi_powermode_cmd()
3704 wmi->pwr_mode = REC_POWER; in ath6kl_wmi_init()
/drivers/gpio/
Dgpio-omap.c1370 void omap2_gpio_prepare_for_idle(int pwr_mode) in omap2_gpio_prepare_for_idle() argument
1378 bank->power_mode = pwr_mode; in omap2_gpio_prepare_for_idle()