Home
last modified time | relevance | path

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

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