/linux-6.6.21/drivers/staging/rtl8712/ |
D | rtl871x_pwrctrl.c | 67 if ((pwrpriv->pwr_mode != ps_mode) || (pwrpriv->smart_ps != smart_ps)) { in r8712_set_ps_mode() 68 if (pwrpriv->pwr_mode == PS_MODE_ACTIVE) in r8712_set_ps_mode() 72 pwrpriv->pwr_mode = ps_mode; in r8712_set_ps_mode() 134 if (pwrpriv->pwr_mode == PS_MODE_ACTIVE) in SetPSModeWorkItemCallback() 170 pwrctrlpriv->pwr_mode = PS_MODE_ACTIVE; in r8712_init_pwrctrl_priv() 218 (pwrctrl->pwr_mode > PS_MODE_ACTIVE)) { in r8712_unregister_cmd_alive()
|
D | rtl871x_pwrctrl.h | 85 uint pwr_mode; member
|
D | rtl8712_cmd.c | 210 if (padapter->pwrctrlpriv.pwr_mode > PS_MODE_ACTIVE) { in cmd_hdl_filter() 211 padapter->pwrctrlpriv.pwr_mode = PS_MODE_ACTIVE; in cmd_hdl_filter()
|
D | rtl871x_mlme.c | 632 if (padapter->pwrctrlpriv.pwr_mode != in r8712_ind_disconnect() 1014 if (adapter->pwrctrlpriv.pwr_mode != adapter->registrypriv.power_mgnt) { in _r8712_join_timeout_handler() 1036 if (adapter->pwrctrlpriv.pwr_mode != adapter->registrypriv.power_mgnt) in _r8712_dhcp_timeout_handler()
|
D | rtl871x_xmit.c | 226 if (padapter->pwrctrlpriv.pwr_mode != in r8712_update_attrib()
|
D | rtl871x_ioctl_linux.c | 118 padapter->pwrctrlpriv.pwr_mode) in handle_group_key()
|
/linux-6.6.21/drivers/staging/rtl8723bs/core/ |
D | rtw_pwrctrl.c | 208 && (adapter_to_pwrctl(padapter)->pwr_mode != PS_MODE_ACTIVE) in traffic_check_for_leave_lps() 221 && (adapter_to_pwrctl(padapter)->pwr_mode != PS_MODE_ACTIVE) in traffic_check_for_leave_lps() 353 if (pwrpriv->pwr_mode == ps_mode) in rtw_set_ps_mode() 365 pwrpriv->pwr_mode = ps_mode; in rtw_set_ps_mode() 382 pwrpriv->pwr_mode = ps_mode; in rtw_set_ps_mode() 471 if (pwrpriv->pwr_mode == PS_MODE_ACTIVE) { in LPS_Enter() 497 if (pwrpriv->pwr_mode != PS_MODE_ACTIVE) { in LPS_Leave() 501 if (pwrpriv->pwr_mode == PS_MODE_ACTIVE) in LPS_Leave() 520 if (pwrpriv->pwr_mode == PS_MODE_ACTIVE) in LeaveAllPowerSaveModeDirect() 586 (pwrpriv->pwr_mode == PS_MODE_ACTIVE)) in LPS_Leave_check() [all …]
|
D | rtw_btcoex.c | 73 if (pwrpriv->pwr_mode != PS_MODE_ACTIVE) { in rtw_btcoex_LPS_Leave()
|
D | rtw_cmd.c | 1413 if (pwrpriv->fw_current_in_ps_mode && (pwrpriv->pwr_mode > PS_MODE_ACTIVE)) { in rtw_lps_change_dtim_hdl() 1414 u8 ps_mode = pwrpriv->pwr_mode; in rtw_lps_change_dtim_hdl()
|
/linux-6.6.21/drivers/iio/adc/ |
D | ad7768-1.c | 300 unsigned int diff_new, diff_old, pwr_mode, i, idx; in ad7768_set_freq() local 321 pwr_mode = AD7768_PWR_MCLK_DIV(ad7768_clk_config[idx].mclk_div) | in ad7768_set_freq() 323 ret = ad7768_spi_reg_write(st, AD7768_REG_POWER_CLOCK, pwr_mode); in ad7768_set_freq()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/ |
D | ps.c | 360 ppsc->pwr_mode = FW_PS_ACTIVE_MODE; in rtl_lps_set_psmode() 377 ppsc->pwr_mode = ppsc->fwctrl_psmode; in rtl_lps_set_psmode() 919 &rtlps->pwr_mode); in rtl_p2p_ps_cmd() 933 &rtlps->pwr_mode); in rtl_p2p_ps_cmd()
|
D | wifi.h | 2051 u8 pwr_mode; member
|
/linux-6.6.21/drivers/ufs/core/ |
D | ufshcd.c | 281 struct ufs_pa_layer_attr *pwr_mode); 4432 struct ufs_pa_layer_attr *pwr_mode) in ufshcd_change_power_mode() argument 4438 pwr_mode->gear_rx == hba->pwr_info.gear_rx && in ufshcd_change_power_mode() 4439 pwr_mode->gear_tx == hba->pwr_info.gear_tx && in ufshcd_change_power_mode() 4440 pwr_mode->lane_rx == hba->pwr_info.lane_rx && in ufshcd_change_power_mode() 4441 pwr_mode->lane_tx == hba->pwr_info.lane_tx && in ufshcd_change_power_mode() 4442 pwr_mode->pwr_rx == hba->pwr_info.pwr_rx && in ufshcd_change_power_mode() 4443 pwr_mode->pwr_tx == hba->pwr_info.pwr_tx && in ufshcd_change_power_mode() 4444 pwr_mode->hs_rate == hba->pwr_info.hs_rate) { in ufshcd_change_power_mode() 4455 ufshcd_dme_set(hba, UIC_ARG_MIB(PA_RXGEAR), pwr_mode->gear_rx); in ufshcd_change_power_mode() [all …]
|
/linux-6.6.21/drivers/iio/accel/ |
D | msa311.c | 452 unsigned int pwr_mode; in msa311_set_odr() local 456 err = regmap_field_read(msa311->fields[F_PWR_MODE], &pwr_mode); in msa311_set_odr() 461 if (pwr_mode == MSA311_PWR_MODE_NORMAL) in msa311_set_odr() 471 msa311_pwr_modes[pwr_mode]); in msa311_set_odr()
|
/linux-6.6.21/drivers/input/mouse/ |
D | cyapa_gen3.c | 877 static u16 cyapa_get_wait_time_for_pwr_cmd(u8 pwr_mode) in cyapa_get_wait_time_for_pwr_cmd() argument 879 switch (pwr_mode) { in cyapa_get_wait_time_for_pwr_cmd() 883 default: return cyapa_pwr_cmd_to_sleep_time(pwr_mode) + 50; in cyapa_get_wait_time_for_pwr_cmd()
|
D | cyapa.h | 397 u16 cyapa_pwr_cmd_to_sleep_time(u8 pwr_mode);
|
D | cyapa.c | 581 u16 cyapa_pwr_cmd_to_sleep_time(u8 pwr_mode) in cyapa_pwr_cmd_to_sleep_time() argument 583 u8 encoded_time = pwr_mode >> 2; in cyapa_pwr_cmd_to_sleep_time()
|
/linux-6.6.21/drivers/staging/rtl8723bs/include/ |
D | rtw_pwrctrl.h | 162 u8 pwr_mode; member
|
/linux-6.6.21/drivers/net/wireless/ath/ath6kl/ |
D | wmi.h | 115 u8 pwr_mode; member 1066 u8 pwr_mode; member 2593 int ath6kl_wmi_powermode_cmd(struct wmi *wmi, u8 if_idx, u8 pwr_mode);
|
D | cfg80211.c | 1493 mode.pwr_mode = REC_POWER; in ath6kl_cfg80211_set_power_mgmt() 1496 mode.pwr_mode = MAX_PERF_POWER; in ath6kl_cfg80211_set_power_mgmt() 1500 mode.pwr_mode) != 0) { in ath6kl_cfg80211_set_power_mgmt() 2363 ar->wmi->saved_pwr_mode = ar->wmi->pwr_mode; in ath6kl_cfg80211_deepsleep_suspend() 2396 if (ar->wmi->pwr_mode != ar->wmi->saved_pwr_mode) { in ath6kl_cfg80211_deepsleep_resume() 3522 ar->wmi->saved_pwr_mode = ar->wmi->pwr_mode; in ath6kl_cfg80211_stop_all()
|
D | wmi.c | 2221 int ath6kl_wmi_powermode_cmd(struct wmi *wmi, u8 if_idx, u8 pwr_mode) in ath6kl_wmi_powermode_cmd() argument 2232 cmd->pwr_mode = pwr_mode; in ath6kl_wmi_powermode_cmd() 2233 wmi->pwr_mode = pwr_mode; in ath6kl_wmi_powermode_cmd() 4146 wmi->pwr_mode = REC_POWER; in ath6kl_wmi_init()
|
/linux-6.6.21/drivers/staging/rtl8723bs/hal/ |
D | odm.c | 780 if ((adapter_to_pwrctl(pDM_Odm->Adapter)->pwr_mode != PS_MODE_ACTIVE) /* in LPS mode */ in ODM_DMWatchdog()
|
D | hal_btcoex.c | 416 *pu8 = padapter->dvobj->pwrctl_priv.pwr_mode; in halbtcoutsrc_Get()
|