Searched refs:pwm_reg_period (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/regulator/
H A Dpwm-regulator.c47 unsigned int pwm_reg_period; pwm_regulator_set_voltage_sel() local
51 pwm_reg_period = pwm_get_period(drvdata->pwm); pwm_regulator_set_voltage_sel()
53 dutycycle = (pwm_reg_period * pwm_regulator_set_voltage_sel()
56 ret = pwm_config(drvdata->pwm, dutycycle, pwm_reg_period); pwm_regulator_set_voltage_sel()

Completed in 29 milliseconds