Searched refs:throttle_state (Results 1 - 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
H A D | thermal.c | 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() 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() 37 ath11k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, unsigned long throttle_state) ath11k_thermal_set_cur_throttle_state() argument [all...] |
H A D | thermal.h | 21 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
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/ |
H A D | thermal.c | 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() 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() 37 ath11k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, unsigned long throttle_state) ath11k_thermal_set_cur_throttle_state() argument [all...] |
H A D | thermal.h | 21 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
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
H A D | thermal.c | 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() 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() 38 ath10k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, unsigned long throttle_state) ath10k_thermal_set_cur_throttle_state() argument
|
H A D | thermal.h | 20 u32 throttle_state; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/ |
H A D | thermal.c | 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() 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() 38 ath10k_thermal_set_cur_throttle_state(struct thermal_cooling_device *cdev, unsigned long throttle_state) ath10k_thermal_set_cur_throttle_state() argument
|
H A D | thermal.h | 20 u32 throttle_state; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mt7915.h | 206 u8 throttle_state; member
|
H A D | init.c | 66 return sprintf(buf, "%hhu\n", phy->throttle_state); in mt7915_thermal_temp_show()
|
H A D | mcu.c | 271 phy->throttle_state = t->ctrl.duty.duty_cycle; in mt7915_mcu_rx_thermal_notify()
|
Completed in 10 milliseconds