Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pwm/
H A Dpwm-sl28cpld.c50 #define SL28CPLD_PWM_CTRL_PRESCALER_MASK GENMASK(1, 0) macro
106 prescaler = FIELD_GET(SL28CPLD_PWM_CTRL_PRESCALER_MASK, reg); in sl28cpld_pwm_get_state()
146 if (prescaler > field_max(SL28CPLD_PWM_CTRL_PRESCALER_MASK)) in sl28cpld_pwm_apply()
149 ctrl = FIELD_PREP(SL28CPLD_PWM_CTRL_PRESCALER_MASK, prescaler); in sl28cpld_pwm_apply()
165 ctrl &= ~SL28CPLD_PWM_CTRL_PRESCALER_MASK; in sl28cpld_pwm_apply()
166 ctrl |= FIELD_PREP(SL28CPLD_PWM_CTRL_PRESCALER_MASK, 1); in sl28cpld_pwm_apply()