Searched refs:pwmtick (Results 1 – 1 of 1) sorted by relevance
242 u_int clkdiv, hspclkdiv, pwmclk, pwmtick, tbprd; in am335x_ehrpwm_cfg_period() local262 pwmtick = NS_PER_SEC / pwmclk; in am335x_ehrpwm_cfg_period()263 if (period / pwmtick < 65536) { in am335x_ehrpwm_cfg_period()264 tbprd = period / pwmtick; in am335x_ehrpwm_cfg_period()280 if (sc->sc_clkfreq != pwmclk || sc->sc_clktick != pwmtick || in am335x_ehrpwm_cfg_period()281 sc->sc_period != tbprd * pwmtick) { in am335x_ehrpwm_cfg_period()283 sc->sc_clktick = pwmtick; in am335x_ehrpwm_cfg_period()284 sc->sc_period = tbprd * pwmtick; in am335x_ehrpwm_cfg_period()