Searched refs:duty_formula (Results 1 – 6 of 6) sorted by relevance
98 #define duty_formula(val) ((unsigned int)((1099 - (val)) * 460) >> 10) macro255 duty = duty_formula(volt); in set_hpm_core_volt()
96 #define duty_formula(val) (((unsigned int)((1099 - (val)) * 460) >> 10) - 1) macro251 duty = duty_formula(volt); in set_hpm_core_volt()
86 #define duty_formula(val) (((unsigned int)((1099 - (val)) * 460) >> 10) - 1) macro254 duty = duty_formula(volt); in set_hpm_core_volt()
99 #define duty_formula(val) ((unsigned int)((1099 - (val)) * 460) >> 10) macro255 duty = duty_formula(volt); in set_hpm_core_volt()
336 #define duty_formula(max, min, val) (((max - val) * 416 + \ macro483 duty = duty_formula(volt_max, volt_min, volt_val); in calc_volt_regval()