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() argument215 *period_steps = MCHPCOREPWM_PERIOD_STEPS_MAX; in mchp_core_pwm_calc_period()269 *period_steps = MCHPCOREPWM_PERIOD_STEPS_MAX; in mchp_core_pwm_calc_period()281 u16 prescale, period_steps; in mchp_core_pwm_apply_locked() local298 ret = mchp_core_pwm_calc_period(state, clk_rate, &prescale, &period_steps); in mchp_core_pwm_apply_locked()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()[all …]