Searched refs:current_level (Results 1 – 5 of 5) sorted by relevance
25 unsigned int current_level; member36 return chip->min_uA + (selector * range_uA / chip->current_level); in ad5398_calc_current()102 selector = DIV_ROUND_UP((min_uA - chip->min_uA) * chip->current_level, in ad5398_set_current_limit()240 chip->current_level = 1 << df->current_bits; in ad5398_probe()242 chip->current_mask = (chip->current_level - 1) << chip->current_offset; in ad5398_probe()
170 enum amd_dpm_forced_level current_level; in amdgpu_set_dpm_forced_performance_level() local178 current_level = amdgpu_dpm_get_performance_level(adev); in amdgpu_set_dpm_forced_performance_level()203 if (current_level == level) in amdgpu_set_dpm_forced_performance_level()
759 int max_level, int current_level) in acpi_video_bqc_quirk() argument800 test_level = current_level == max_level in acpi_video_bqc_quirk()
8830 u8 current_level = 7; in fan_resume() local8839 (fan_get_status_safe(¤t_level) < 0)) in fan_resume()8845 do_set = (fan_control_resume_level > current_level); in fan_resume()8868 do_set = !(current_level & TP_EC_FAN_FULLSPEED) && in fan_resume()8869 (current_level != fan_control_resume_level); in fan_resume()
2825 __le16 current_level; member