TMR_TICKS_SEC
if (!sc->use_timer || tmr1 > TMR_TICKS_SEC)
*tmr = (TMR_TICKS_SEC - tmr1 + TMR_TICKS_HALFSEC) % TMR_TICKS_SEC;
resolution = sc->use_timer ? 1000000 / TMR_TICKS_SEC : 1000000 / 2;
bct.nsec = ((uint64_t)tmrcount * 1000000000) / TMR_TICKS_SEC;
if ((err = write_reg(sc, sc->tmcaddr, TMR_TICKS_SEC)) != 0)