Home | History | Annotate | Download | only in i2c

Lines Matching refs:ticks

315 		 * Compute the number of ticks, accounting for a non-zero
458 * feature of this chip, so all duty cycles start at 0 ticks.
472 uint64_t ticks =
475 ticks = (ticks * 100) / sc->sc_period;
477 if (ticks % 100)
478 ticks += 100;
479 ticks /= 100;
480 if (ticks >= PCA9685_PWM_TICKS) {
481 ticks = PCA9685_PWM_TICKS - 1;
485 off_tick = (u_int)ticks;