Searched refs:period_steps (Results 1 – 1 of 1) sorted by relevance
135 u8 prescale, u8 period_steps) in mchp_core_pwm_calc_duty() argument153 u16 period_steps) in mchp_core_pwm_apply_duty() argument166 first_edge = period_steps + 1; in mchp_core_pwm_apply_duty()186 u16 *prescale, u16 *period_steps) in mchp_core_pwm_calc_period() argument269 *period_steps = MCHPCOREPWM_PERIOD_STEPS_MAX; in mchp_core_pwm_calc_period()281 u16 prescale, period_steps; in mchp_core_pwm_apply_locked() local320 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 …]