Searched refs:dutycycle (Results 1 – 2 of 2) sorted by relevance
48 unsigned int dutycycle; member58 unsigned int dutycycle; in pwm_regulator_init_state() local62 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()196 unsigned int dutycycle; in pwm_regulator_set_voltage() local211 dutycycle = DIV_ROUND_CLOSEST_ULL((u64)(req_min_uV - min_uV) * in pwm_regulator_set_voltage()216 dutycycle = min_uV_duty - dutycycle; in pwm_regulator_set_voltage()218 dutycycle = min_uV_duty + dutycycle; in pwm_regulator_set_voltage()220 pwm_set_relative_duty_cycle(&pstate, dutycycle, duty_unit); in pwm_regulator_set_voltage()
724 u64 dutycycle = (u64)state.duty_cycle * pargs.period; in pwm_adjust_config() local726 do_div(dutycycle, state.period); in pwm_adjust_config()727 state.duty_cycle = dutycycle; in pwm_adjust_config()