Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/pwm/
Dpwm-microchip-core.c45 #define MCHPCOREPWM_PERIOD_STEPS_MAX 0xfe macro
215 *period_steps = MCHPCOREPWM_PERIOD_STEPS_MAX; in mchp_core_pwm_calc_period()
242 if (tmp < MCHPCOREPWM_PERIOD_STEPS_MAX + 1) in mchp_core_pwm_calc_period()
258 *prescale = ((u16)tmp) / (MCHPCOREPWM_PERIOD_STEPS_MAX + 1) - 1; in mchp_core_pwm_calc_period()
269 *period_steps = MCHPCOREPWM_PERIOD_STEPS_MAX; in mchp_core_pwm_calc_period()
331 if (hw_period_steps == MCHPCOREPWM_PERIOD_STEPS_MAX) in mchp_core_pwm_apply_locked()