Searched refs:bestDelay (Results 1 – 2 of 2) sorted by relevance
713 uint64_t realDelay, bestDelay; local747 bestDelay = 1000000000U;748 bestDelay *= 257U; /* based on DBT+2, or 255 + 2 */749 bestDelay /= clockDividedPrescaler;763 bestDelay = 1000000000U;764 bestDelay *= 256U; /* based on SCKPCS+1 or PCSSCK+1, or 255 + 1 */765 bestDelay /= clockDividedPrescaler;806 bestDelay = realDelay;815 return (uint32_t)bestDelay;
585 uint32_t realDelay, bestDelay; in DSPI_MasterSetDelayTimes() local596 …bestDelay = (((1000000000U * 4U) / srcClock_Hz) * s_delayPrescaler[bestPrescaler] * s_delayScaler[… in DSPI_MasterSetDelayTimes()630 bestDelay = realDelay; in DSPI_MasterSetDelayTimes()649 return bestDelay; in DSPI_MasterSetDelayTimes()