Searched refs:throttle_state (Results 1 – 7 of 7) sorted by relevance
30 *state = ar->thermal.throttle_state; in ath11k_thermal_get_cur_throttle_state()38 unsigned long throttle_state) in ath11k_thermal_set_cur_throttle_state() argument43 if (throttle_state > ATH11K_THERMAL_THROTTLE_MAX) { in ath11k_thermal_set_cur_throttle_state()45 throttle_state, ATH11K_THERMAL_THROTTLE_MAX); in ath11k_thermal_set_cur_throttle_state()49 ret = ath11k_thermal_set_throttling(ar, throttle_state); in ath11k_thermal_set_cur_throttle_state()51 ar->thermal.throttle_state = throttle_state; in ath11k_thermal_set_cur_throttle_state()126 int ath11k_thermal_set_throttling(struct ath11k *ar, u32 throttle_state) in ath11k_thermal_set_throttling() argument139 param.enable = throttle_state ? 1 : 0; in ath11k_thermal_set_throttling()145 param.levelconf[0].dcoffpercent = throttle_state; in ath11k_thermal_set_throttling()151 throttle_state, ret); in ath11k_thermal_set_throttling()
21 u32 throttle_state; member31 int ath11k_thermal_set_throttling(struct ath11k *ar, u32 throttle_state);43 static inline int ath11k_thermal_set_throttling(struct ath11k *ar, u32 throttle_state) in ath11k_thermal_set_throttling() argument
31 *state = ar->thermal.throttle_state; in ath10k_thermal_get_cur_throttle_state()39 unsigned long throttle_state) in ath10k_thermal_set_cur_throttle_state() argument43 if (throttle_state > ATH10K_THERMAL_THROTTLE_MAX) { in ath10k_thermal_set_cur_throttle_state()45 throttle_state, ATH10K_THERMAL_THROTTLE_MAX); in ath10k_thermal_set_cur_throttle_state()49 ar->thermal.throttle_state = throttle_state; in ath10k_thermal_set_cur_throttle_state()142 duration = (period * ar->thermal.throttle_state) / 100; in ath10k_thermal_set_throttling()
20 u32 throttle_state; member
241 u8 throttle_state; member
65 return sprintf(buf, "%hhu\n", phy->throttle_state); in mt7915_thermal_temp_show()
254 phy->throttle_state = t->ctrl.duty.duty_cycle; in mt7915_mcu_rx_thermal_notify()