Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_pwrctrl.c823 static inline void register_task_alive(struct pwrctrl_priv *pwrctrl, u32 tag) in register_task_alive() argument
825 pwrctrl->alives |= tag; in register_task_alive()
828 static inline void unregister_task_alive(struct pwrctrl_priv *pwrctrl, u32 tag) in unregister_task_alive() argument
830 pwrctrl->alives &= ~tag; in unregister_task_alive()
852 struct pwrctrl_priv *pwrctrl; in rtw_register_task_alive() local
856 pwrctrl = adapter_to_pwrctl(padapter); in rtw_register_task_alive()
859 mutex_lock(&pwrctrl->lock); in rtw_register_task_alive()
861 register_task_alive(pwrctrl, task); in rtw_register_task_alive()
863 if (pwrctrl->bFwCurrentInPSMode) { in rtw_register_task_alive()
866 __func__, task, pwrctrl->cpwm, pwrctrl->alives)); in rtw_register_task_alive()
[all …]
/Linux-v5.10/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-v5.10/drivers/gpu/drm/zte/
Dzx_tvenc.c35 struct zx_tvenc_pwrctrl pwrctrl; member
192 struct zx_tvenc_pwrctrl *pwrctrl = &tvenc->pwrctrl; in zx_tvenc_encoder_enable() local
195 regmap_update_bits(pwrctrl->regmap, pwrctrl->reg, pwrctrl->mask, in zx_tvenc_encoder_enable()
196 pwrctrl->mask); in zx_tvenc_encoder_enable()
206 struct zx_tvenc_pwrctrl *pwrctrl = &tvenc->pwrctrl; in zx_tvenc_encoder_disable() local
213 regmap_update_bits(pwrctrl->regmap, pwrctrl->reg, pwrctrl->mask, 0); in zx_tvenc_encoder_disable()
301 struct zx_tvenc_pwrctrl *pwrctrl = &tvenc->pwrctrl; in zx_tvenc_pwrctrl_init() local
318 pwrctrl->regmap = regmap; in zx_tvenc_pwrctrl_init()
319 pwrctrl->reg = out_args.args[0]; in zx_tvenc_pwrctrl_init()
320 pwrctrl->mask = out_args.args[1]; in zx_tvenc_pwrctrl_init()
Dzx_vga.c41 struct zx_vga_pwrctrl pwrctrl; member
51 struct zx_vga_pwrctrl *pwrctrl = &vga->pwrctrl; in zx_vga_encoder_enable() local
54 regmap_update_bits(pwrctrl->regmap, pwrctrl->reg, pwrctrl->mask, in zx_vga_encoder_enable()
55 pwrctrl->mask); in zx_vga_encoder_enable()
63 struct zx_vga_pwrctrl *pwrctrl = &vga->pwrctrl; in zx_vga_encoder_disable() local
68 regmap_update_bits(pwrctrl->regmap, pwrctrl->reg, pwrctrl->mask, 0); in zx_vga_encoder_disable()
192 struct zx_vga_pwrctrl *pwrctrl = &vga->pwrctrl; in zx_vga_pwrctrl_init() local
209 pwrctrl->regmap = regmap; in zx_vga_pwrctrl_init()
210 pwrctrl->reg = out_args.args[0]; in zx_vga_pwrctrl_init()
211 pwrctrl->mask = out_args.args[1]; in zx_vga_pwrctrl_init()
/Linux-v5.10/drivers/staging/rtl8188eu/include/
Drtw_pwrctrl.h215 #define rtw_set_pwr_state_check_timer(pwrctrl) \ argument
216 _rtw_set_pwr_state_check_timer((pwrctrl), \
217 (pwrctrl)->pwr_state_check_interval)
/Linux-v5.10/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-v5.10/Documentation/devicetree/bindings/pinctrl/
Dste,abx500.txt209 function = "pwrctrl";
223 function = "pwrctrl";