Home
last modified time | relevance | path

Searched refs:period_steps (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/pwm/
H A Dpwm-microchip-core.c135 u8 prescale, u8 period_steps) in mchp_core_pwm_calc_duty() argument
153 u16 period_steps) in mchp_core_pwm_apply_duty() argument
166 first_edge = period_steps + 1; in mchp_core_pwm_apply_duty()
186 u16 *prescale, u16 *period_steps) in mchp_core_pwm_calc_period() argument
269 *period_steps = MCHPCOREPWM_PERIOD_STEPS_MAX; in mchp_core_pwm_calc_period()
281 u16 prescale, period_steps; in mchp_core_pwm_apply_locked() local
320 if ((period_steps + 1) * (prescale + 1) < in mchp_core_pwm_apply_locked()
335 period_steps = hw_period_steps; in mchp_core_pwm_apply_locked()
345 if (duty_steps > period_steps) in mchp_core_pwm_apply_locked()
346 duty_steps = period_steps + 1; in mchp_core_pwm_apply_locked()
[all …]