Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dthermal.c30 *state = ar->thermal.throttle_state; in ath11k_thermal_get_cur_throttle_state()
38 unsigned long throttle_state) in ath11k_thermal_set_cur_throttle_state() argument
43 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() argument
139 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()
Dthermal.h21 u32 throttle_state; member
31 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
/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Dthermal.c31 *state = ar->thermal.throttle_state; in ath10k_thermal_get_cur_throttle_state()
39 unsigned long throttle_state) in ath10k_thermal_set_cur_throttle_state() argument
43 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()
Dthermal.h20 u32 throttle_state; member
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/
Dmt7915.h241 u8 throttle_state; member
Dinit.c65 return sprintf(buf, "%hhu\n", phy->throttle_state); in mt7915_thermal_temp_show()
Dmcu.c254 phy->throttle_state = t->ctrl.duty.duty_cycle; in mt7915_mcu_rx_thermal_notify()