Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pwm/
H A Dpwm-intel-lgm.c38 #define LGM_PWM_MAX_DUTY_CYCLE (BIT(8) - 1) macro
79 val = duty_cycle * LGM_PWM_MAX_DUTY_CYCLE / pc->period; in lgm_pwm_apply()
102 state->duty_cycle = DIV_ROUND_UP(duty * pc->period, LGM_PWM_MAX_DUTY_CYCLE); in lgm_pwm_get_state()