Searched refs:realDelay (Results 1 – 2 of 2) sorted by relevance
713 uint64_t realDelay, bestDelay; local791 realDelay = 1000000000U;792 realDelay *= ((uint64_t)scaler + 1UL + (uint64_t)additionalScaler);793 realDelay /= clockDividedPrescaler;798 if (realDelay >= delayTimeInNanoSec)800 diff = (uint32_t)(realDelay - (uint64_t)delayTimeInNanoSec);806 bestDelay = realDelay;
585 uint32_t realDelay, bestDelay; in DSPI_MasterSetDelayTimes() local616 …realDelay = ((4000000000U / srcClock_Hz) * s_delayPrescaler[prescaler] * s_delayScaler[scaler]) / … in DSPI_MasterSetDelayTimes()621 if (realDelay >= delayTimeInNanoSec) in DSPI_MasterSetDelayTimes()623 diff = realDelay - delayTimeInNanoSec; in DSPI_MasterSetDelayTimes()630 bestDelay = realDelay; in DSPI_MasterSetDelayTimes()