Home
last modified time | relevance | path

Searched refs:pwrctrl (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/staging/rtl8712/
Drtl871x_pwrctrl.c105 static inline void register_task_alive(struct pwrctrl_priv *pwrctrl, uint tag) in register_task_alive() argument
107 pwrctrl->alives |= tag; in register_task_alive()
110 static inline void unregister_task_alive(struct pwrctrl_priv *pwrctrl, uint tag) in unregister_task_alive() argument
112 if (pwrctrl->alives & tag) in unregister_task_alive()
113 pwrctrl->alives ^= tag; in unregister_task_alive()
193 struct pwrctrl_priv *pwrctrl = &padapter->pwrctrlpriv; in r8712_register_cmd_alive() local
195 mutex_lock(&pwrctrl->mutex_lock); in r8712_register_cmd_alive()
196 register_task_alive(pwrctrl, CMD_ALIVE); in r8712_register_cmd_alive()
197 if (pwrctrl->cpwm < PS_STATE_S2) { in r8712_register_cmd_alive()
201 mutex_unlock(&pwrctrl->mutex_lock); in r8712_register_cmd_alive()
[all …]
/linux-6.6.21/drivers/staging/rtl8723bs/core/
Drtw_pwrctrl.c698 static inline void register_task_alive(struct pwrctrl_priv *pwrctrl, u32 tag) in register_task_alive() argument
700 pwrctrl->alives |= tag; in register_task_alive()
703 static inline void unregister_task_alive(struct pwrctrl_priv *pwrctrl, u32 tag) in unregister_task_alive() argument
705 pwrctrl->alives &= ~tag; in unregister_task_alive()
727 struct pwrctrl_priv *pwrctrl; in rtw_register_task_alive() local
731 pwrctrl = adapter_to_pwrctl(padapter); in rtw_register_task_alive()
734 mutex_lock(&pwrctrl->lock); in rtw_register_task_alive()
736 register_task_alive(pwrctrl, task); in rtw_register_task_alive()
738 if (pwrctrl->fw_current_in_ps_mode) { in rtw_register_task_alive()
739 if (pwrctrl->cpwm < pslv) { in rtw_register_task_alive()
[all …]
/linux-6.6.21/drivers/net/wireless/ath/ath9k/
Deeprom_4k.c1010 u32 pwrctrl, mask, clr; in ath9k_hw_4k_set_board_values() local
1013 pwrctrl = mask * bb_desired_scale; in ath9k_hw_4k_set_board_values()
1016 REG_RMW(ah, AR_PHY_TX_PWRCTRL8, pwrctrl, clr); in ath9k_hw_4k_set_board_values()
1017 REG_RMW(ah, AR_PHY_TX_PWRCTRL10, pwrctrl, clr); in ath9k_hw_4k_set_board_values()
1018 REG_RMW(ah, AR_PHY_CH0_TX_PWRCTRL12, pwrctrl, clr); in ath9k_hw_4k_set_board_values()
1021 pwrctrl = mask * bb_desired_scale; in ath9k_hw_4k_set_board_values()
1023 REG_RMW(ah, AR_PHY_TX_PWRCTRL9, pwrctrl, clr); in ath9k_hw_4k_set_board_values()
1026 pwrctrl = mask * bb_desired_scale; in ath9k_hw_4k_set_board_values()
1028 REG_RMW(ah, AR_PHY_CH0_TX_PWRCTRL11, pwrctrl, clr); in ath9k_hw_4k_set_board_values()
1029 REG_RMW(ah, AR_PHY_CH0_TX_PWRCTRL13, pwrctrl, clr); in ath9k_hw_4k_set_board_values()
/linux-6.6.21/Documentation/devicetree/bindings/pinctrl/
Dste,abx500.txt209 function = "pwrctrl";
223 function = "pwrctrl";