Lines Matching full:dutycycle
48 unsigned int dutycycle; member
58 unsigned int dutycycle; in pwm_regulator_init_state() local
62 dutycycle = pwm_get_relative_duty_cycle(&pwm_state, 100); in pwm_regulator_init_state()
65 if (dutycycle == drvdata->duty_cycle_table[i].dutycycle) { in pwm_regulator_init_state()
91 drvdata->duty_cycle_table[selector].dutycycle, 100); in pwm_regulator_set_voltage_sel()
173 * The dutycycle for min_uV might be greater than the one for max_uV. in pwm_regulator_get_voltage()
203 unsigned int dutycycle; in pwm_regulator_set_voltage() local
209 * The dutycycle for min_uV might be greater than the one for max_uV. in pwm_regulator_set_voltage()
218 dutycycle = DIV_ROUND_CLOSEST_ULL((u64)(req_min_uV - min_uV) * in pwm_regulator_set_voltage()
223 dutycycle = min_uV_duty - dutycycle; in pwm_regulator_set_voltage()
225 dutycycle = min_uV_duty + dutycycle; in pwm_regulator_set_voltage()
227 pwm_set_relative_duty_cycle(&pstate, dutycycle, duty_unit); in pwm_regulator_set_voltage()
308 "pwm-dutycycle-range", in pwm_regulator_init_continuous()
310 of_property_read_u32(pdev->dev.of_node, "pwm-dutycycle-unit", in pwm_regulator_init_continuous()