Searched refs:duty_cycle (Results 1 – 2 of 2) sorted by relevance
71 int duty_cycle; in pwm_regulator_set_voltage() local74 duty_cycle = pwm_voltage_to_duty_cycle_percentage(dev, uvolt); in pwm_regulator_set_voltage()83 priv->period_ns, (priv->period_ns / 100) * duty_cycle); in pwm_regulator_set_voltage()
33 uint duty_cycle; in pwm_backlight_enable() local55 duty_cycle = priv->period_ns * (priv->default_level - priv->min_level) / in pwm_backlight_enable()58 duty_cycle); in pwm_backlight_enable()