Searched refs:sc_clktick (Results 1 – 1 of 1) sorted by relevance
187 u_int sc_clktick; /* duration in ns */ member207 tbcmp = max(1, duty / sc->sc_clktick); in am335x_ehrpwm_cfg_duty()209 sc->sc_channels[chan].duty = tbcmp * sc->sc_clktick; in am335x_ehrpwm_cfg_duty()247 sc->sc_clktick = 0; in am335x_ehrpwm_cfg_period()280 if (sc->sc_clkfreq != pwmclk || sc->sc_clktick != pwmtick || in am335x_ehrpwm_cfg_period()283 sc->sc_clktick = pwmtick; in am335x_ehrpwm_cfg_period()296 sc->sc_clkfreq, sc->sc_clktick, sc->sc_period, period); in am335x_ehrpwm_cfg_period()