Searched refs:throttle_state (Results 1 – 4 of 4) sorted by relevance
31 *state = ar->thermal.throttle_state; in ath11k_thermal_get_cur_throttle_state()39 unsigned long throttle_state) in ath11k_thermal_set_cur_throttle_state() argument44 if (throttle_state > ATH11K_THERMAL_THROTTLE_MAX) { in ath11k_thermal_set_cur_throttle_state()46 throttle_state, ATH11K_THERMAL_THROTTLE_MAX); in ath11k_thermal_set_cur_throttle_state()50 ret = ath11k_thermal_set_throttling(ar, throttle_state); in ath11k_thermal_set_cur_throttle_state()52 ar->thermal.throttle_state = throttle_state; in ath11k_thermal_set_cur_throttle_state()127 int ath11k_thermal_set_throttling(struct ath11k *ar, u32 throttle_state) in ath11k_thermal_set_throttling() argument140 param.enable = throttle_state ? 1 : 0; in ath11k_thermal_set_throttling()146 param.levelconf[0].dcoffpercent = throttle_state; in ath11k_thermal_set_throttling()152 throttle_state, ret); in ath11k_thermal_set_throttling()
22 u32 throttle_state; member32 int ath11k_thermal_set_throttling(struct ath11k *ar, u32 throttle_state);44 static inline int ath11k_thermal_set_throttling(struct ath11k *ar, u32 throttle_state) in ath11k_thermal_set_throttling() argument
32 *state = ar->thermal.throttle_state; in ath10k_thermal_get_cur_throttle_state()40 unsigned long throttle_state) in ath10k_thermal_set_cur_throttle_state() argument44 if (throttle_state > ATH10K_THERMAL_THROTTLE_MAX) { in ath10k_thermal_set_cur_throttle_state()46 throttle_state, ATH10K_THERMAL_THROTTLE_MAX); in ath10k_thermal_set_cur_throttle_state()50 ar->thermal.throttle_state = throttle_state; in ath10k_thermal_set_cur_throttle_state()143 duration = (period * ar->thermal.throttle_state) / 100; in ath10k_thermal_set_throttling()
20 u32 throttle_state; member