Searched refs:req_uV (Results 1 – 1 of 1) sorted by relevance
112 static int pwm_voltage_to_duty_cycle_percentage(struct regulator_dev *rdev, int req_uV) in pwm_voltage_to_duty_cycle_percentage() argument118 return 100 - (((req_uV * 100) - (min_uV * 100)) / diff); in pwm_voltage_to_duty_cycle_percentage()