Home
last modified time | relevance | path

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

/linux/drivers/pwm/
H A Dpwm-microchip-core.c134 u8 prescale, u8 period_steps) in mchp_core_pwm_calc_duty() argument
152 u16 period_steps) in mchp_core_pwm_apply_duty() argument
165 first_edge = period_steps + 1; in mchp_core_pwm_apply_duty()
185 u16 *prescale, u16 *period_steps) in mchp_core_pwm_calc_period() argument
193 * (prescale + 1) * (period_steps + 1) in mchp_core_pwm_calc_period()
199 * attain a 100% duty cycle if the full range of period_steps is used. in mchp_core_pwm_calc_period()
200 * Therefore period_steps is restricted to 0xfe and the maximum multiple in mchp_core_pwm_calc_period()
203 * The prescale and period_steps registers operate similarly to in mchp_core_pwm_calc_period()
214 *period_steps = MCHPCOREPWM_PERIOD_STEPS_MAX; in mchp_core_pwm_calc_period()
221 * prescale & period_steps value in mchp_core_pwm_calc_period()
280 u16 prescale, period_steps; mchp_core_pwm_apply_locked() local
381 u16 prescale, period_steps; mchp_core_pwm_get_state() local
[all...]