Searched refs:real_period (Results 1 – 2 of 2) sorted by relevance
50 unsigned int real_period; member104 ddata->real_period = div64_ul(num, rate); in pwm_sifive_update_clock()106 "New real_period = %u ns\n", ddata->real_period); in pwm_sifive_update_clock()124 state->period = ddata->real_period; in pwm_sifive_get_state()126 (u64)duty * ddata->real_period >> PWM_SIFIVE_CMPWIDTH; in pwm_sifive_get_state()
68 u32 real_period; member146 state->period = tpm->real_period; in pwm_imx_tpm_get_state()184 if (state->period != tpm->real_period) { in pwm_imx_tpm_apply_hw()214 tpm->real_period = state->period; in pwm_imx_tpm_apply_hw()239 timeout = jiffies + msecs_to_jiffies(tpm->real_period / in pwm_imx_tpm_apply_hw()