Searched refs:pwrctrl (Results 1 – 4 of 4) sorted by relevance
/drivers/staging/rtl8723bs/core/ |
D | rtw_pwrctrl.c | 698 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 …]
|
/drivers/staging/rtl8712/ |
D | rtl871x_pwrctrl.c | 105 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 …]
|
/drivers/staging/r8188eu/include/ |
D | rtw_pwrctrl.h | 92 #define rtw_set_pwr_state_check_timer(pwrctrl) \ argument 93 _rtw_set_pwr_state_check_timer((pwrctrl), \ 94 (pwrctrl)->pwr_state_check_interval)
|
/drivers/net/wireless/ath/ath9k/ |
D | eeprom_4k.c | 1010 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()
|