Lines Matching refs:tbprd
247 u_int clkdiv, hspclkdiv, pwmclk, pwmtick, tbprd;
261 tbprd = 0;
269 tbprd = period / pwmtick;
273 if (tbprd != 0)
278 if (tbprd == 0)
286 sc->sc_period != tbprd * pwmtick) {
289 sc->sc_period = tbprd * pwmtick;
296 EPWM_WRITE2(sc, EPWM_TBPRD, tbprd - 1);
298 device_printf(sc->sc_dev, "clkdiv %u hspclkdiv %u tbprd %u "
300 clkdiv, hspclkdiv, tbprd - 1,