Home
last modified time | relevance | path

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

/u-boot/drivers/pwm/
A Dpwm-imx.c30 unsigned long duty_cycles, unsigned long prescale) in pwm_config_internal() argument
41 writel(duty_cycles, &pwm->sar); in pwm_config_internal()
50 unsigned long period_cycles, duty_cycles, prescale; in pwm_config() local
55 pwm_imx_get_parms(period_ns, duty_ns, &period_cycles, &duty_cycles, in pwm_config()
58 return pwm_config_internal(pwm, period_cycles, duty_cycles, prescale); in pwm_config()
104 unsigned long period_cycles, duty_cycles, prescale; in imx_pwm_set_config() local
108 pwm_imx_get_parms(period_ns, duty_ns, &period_cycles, &duty_cycles, in imx_pwm_set_config()
111 return pwm_config_internal(regs, period_cycles, duty_cycles, prescale); in imx_pwm_set_config()
A Dpwm-ti-ehrpwm.c213 u32 period_cycles, duty_cycles; in ti_ehrpwm_set_config() local
231 duty_cycles = 1; in ti_ehrpwm_set_config()
236 duty_cycles = (unsigned long)c; in ti_ehrpwm_set_config()
277 duty_cycles = duty_cycles / ps_divval; in ti_ehrpwm_set_config()
297 writew(duty_cycles, priv->regs + cmp_reg); in ti_ehrpwm_set_config()

Completed in 4 milliseconds