Home
last modified time | relevance | path

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

/drivers/pwm/
Dpwm-sifive.c49 unsigned int approx_period; member
94 scale_pow = div64_ul(ddata->approx_period * (u64)rate, NSEC_PER_SEC); in pwm_sifive_update_clock()
163 if (state->period != ddata->approx_period) { in pwm_sifive_apply()
170 if (ddata->user_count != 1 && ddata->approx_period) { in pwm_sifive_apply()
174 ddata->approx_period = state->period; in pwm_sifive_apply()