Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pwm/
H A Dpwm-microchip-core.c315 u16 hw_period_steps; in mchp_core_pwm_apply_locked() local
318 hw_period_steps = readb_relaxed(mchp_core_pwm->base + MCHPCOREPWM_PERIOD); in mchp_core_pwm_apply_locked()
321 (hw_period_steps + 1) * (hw_prescale + 1)) in mchp_core_pwm_apply_locked()
331 if (hw_period_steps == MCHPCOREPWM_PERIOD_STEPS_MAX) in mchp_core_pwm_apply_locked()
335 period_steps = hw_period_steps; in mchp_core_pwm_apply_locked()