/Linux-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_pwrctrl.c | 834 static __inline void register_task_alive(struct pwrctrl_priv *pwrctrl, u32 tag) in register_task_alive() argument 836 pwrctrl->alives |= tag; in register_task_alive() 839 static __inline void unregister_task_alive(struct pwrctrl_priv *pwrctrl, u32 tag) in unregister_task_alive() argument 841 pwrctrl->alives &= ~tag; in unregister_task_alive() 863 struct pwrctrl_priv *pwrctrl; in rtw_register_task_alive() local 867 pwrctrl = adapter_to_pwrctl(padapter); in rtw_register_task_alive() 870 down(&pwrctrl->lock); in rtw_register_task_alive() 872 register_task_alive(pwrctrl, task); in rtw_register_task_alive() 874 if (pwrctrl->bFwCurrentInPSMode == true) { in rtw_register_task_alive() 877 __func__, task, pwrctrl->cpwm, pwrctrl->alives)); in rtw_register_task_alive() [all …]
|
/Linux-v4.19/drivers/staging/rtl8712/ |
D | rtl871x_pwrctrl.c | 117 static inline void register_task_alive(struct pwrctrl_priv *pwrctrl, uint tag) in register_task_alive() argument 119 pwrctrl->alives |= tag; in register_task_alive() 122 static inline void unregister_task_alive(struct pwrctrl_priv *pwrctrl, uint tag) in unregister_task_alive() argument 124 if (pwrctrl->alives & tag) in unregister_task_alive() 125 pwrctrl->alives ^= tag; in unregister_task_alive() 205 struct pwrctrl_priv *pwrctrl = &padapter->pwrctrlpriv; in r8712_register_cmd_alive() local 207 mutex_lock(&pwrctrl->mutex_lock); in r8712_register_cmd_alive() 208 register_task_alive(pwrctrl, CMD_ALIVE); in r8712_register_cmd_alive() 209 if (pwrctrl->cpwm < PS_STATE_S2) { in r8712_register_cmd_alive() 213 mutex_unlock(&pwrctrl->mutex_lock); in r8712_register_cmd_alive() [all …]
|
/Linux-v4.19/drivers/gpu/drm/zte/ |
D | zx_tvenc.c | 36 struct zx_tvenc_pwrctrl pwrctrl; member 193 struct zx_tvenc_pwrctrl *pwrctrl = &tvenc->pwrctrl; in zx_tvenc_encoder_enable() local 196 regmap_update_bits(pwrctrl->regmap, pwrctrl->reg, pwrctrl->mask, in zx_tvenc_encoder_enable() 197 pwrctrl->mask); in zx_tvenc_encoder_enable() 207 struct zx_tvenc_pwrctrl *pwrctrl = &tvenc->pwrctrl; in zx_tvenc_encoder_disable() local 214 regmap_update_bits(pwrctrl->regmap, pwrctrl->reg, pwrctrl->mask, 0); in zx_tvenc_encoder_disable() 307 struct zx_tvenc_pwrctrl *pwrctrl = &tvenc->pwrctrl; in zx_tvenc_pwrctrl_init() local 324 pwrctrl->regmap = regmap; in zx_tvenc_pwrctrl_init() 325 pwrctrl->reg = out_args.args[0]; in zx_tvenc_pwrctrl_init() 326 pwrctrl->mask = out_args.args[1]; in zx_tvenc_pwrctrl_init()
|
D | zx_vga.c | 41 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() 195 struct zx_vga_pwrctrl *pwrctrl = &vga->pwrctrl; in zx_vga_pwrctrl_init() local 212 pwrctrl->regmap = regmap; in zx_vga_pwrctrl_init() 213 pwrctrl->reg = out_args.args[0]; in zx_vga_pwrctrl_init() 214 pwrctrl->mask = out_args.args[1]; in zx_vga_pwrctrl_init()
|
/Linux-v4.19/drivers/staging/rtl8188eu/include/ |
D | rtw_pwrctrl.h | 215 #define rtw_set_pwr_state_check_timer(pwrctrl) \ argument 216 _rtw_set_pwr_state_check_timer((pwrctrl), \ 217 (pwrctrl)->pwr_state_check_interval)
|
/Linux-v4.19/drivers/net/wireless/ath/ath9k/ |
D | eeprom_4k.c | 1009 u32 pwrctrl, mask, clr; in ath9k_hw_4k_set_board_values() local 1012 pwrctrl = mask * bb_desired_scale; in ath9k_hw_4k_set_board_values() 1015 REG_RMW(ah, AR_PHY_TX_PWRCTRL8, pwrctrl, clr); in ath9k_hw_4k_set_board_values() 1016 REG_RMW(ah, AR_PHY_TX_PWRCTRL10, pwrctrl, clr); in ath9k_hw_4k_set_board_values() 1017 REG_RMW(ah, AR_PHY_CH0_TX_PWRCTRL12, pwrctrl, clr); in ath9k_hw_4k_set_board_values() 1020 pwrctrl = mask * bb_desired_scale; in ath9k_hw_4k_set_board_values() 1022 REG_RMW(ah, AR_PHY_TX_PWRCTRL9, pwrctrl, clr); in ath9k_hw_4k_set_board_values() 1025 pwrctrl = mask * bb_desired_scale; in ath9k_hw_4k_set_board_values() 1027 REG_RMW(ah, AR_PHY_CH0_TX_PWRCTRL11, pwrctrl, clr); in ath9k_hw_4k_set_board_values() 1028 REG_RMW(ah, AR_PHY_CH0_TX_PWRCTRL13, pwrctrl, clr); in ath9k_hw_4k_set_board_values()
|
/Linux-v4.19/Documentation/devicetree/bindings/pinctrl/ |
D | ste,abx500.txt | 209 function = "pwrctrl"; 223 function = "pwrctrl";
|