Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pwm/
H A Dpwm-sifive.c50 unsigned int approx_period; member
95 scale_pow = div64_ul(ddata->approx_period * (u64)rate, NSEC_PER_SEC); in pwm_sifive_update_clock()
164 if (state->period != ddata->approx_period) { in pwm_sifive_apply()
171 if (ddata->user_count != 1 && ddata->approx_period) { in pwm_sifive_apply()
175 ddata->approx_period = state->period; in pwm_sifive_apply()