Home
last modified time | relevance | path

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

/f-stack/freebsd/arm/ti/am335x/
H A Dam335x_ehrpwm.c71 #define PWM_CLOCK 100000000UL macro
250 if (period < 2 * NS_PER_SEC / PWM_CLOCK) { in am335x_ehrpwm_cfg_period()
266 pwmclk = PWM_CLOCK / (cd * cdhs); in am335x_ehrpwm_cfg_period()
320 sc->sc_pwm_freq = PWM_CLOCK / (1 * clkdiv) / sc->sc_pwm_period; in am335x_ehrpwm_freq()
340 if (freq > PWM_CLOCK) in am335x_ehrpwm_sysctl_freq()
341 freq = PWM_CLOCK; in am335x_ehrpwm_sysctl_freq()
347 period = PWM_CLOCK / clkdiv / freq; in am335x_ehrpwm_sysctl_freq()