Searched refs:NS_PER_S (Results 1 – 2 of 2) sorted by relevance
27 #ifndef NS_PER_S28 #define NS_PER_S UINT64_C(1000000000) macro173 } else if (delay > (NS_PER_S * 2 * RTC_WKUP_DOWNCOUNT_MAX)) { in rtcSetWakeupTimer()174 delay = NS_PER_S * 2 * RTC_WKUP_DOWNCOUNT_MAX; in rtcSetWakeupTimer()204 if (RTC_VALID_DELAY_FOR_PERIOD(delay, NS_PER_S)) in rtcSetWakeupTimer()208 periodNs = NS_PER_S; in rtcSetWakeupTimer()209 periodNsRecip = U64_RECIPROCAL_CALCULATE(NS_PER_S); in rtcSetWakeupTimer()279 …return (time_s * NS_PER_S) + U64_DIV_BY_CONST_U16(((RTC_PREDIV_S - ssr) * NS_PER_S), (RTC_PREDIV_S… in rtcGetTime()
89 #define NS_PER_S 1000000000 macro99 if (p_ts->tv_nsec >= NS_PER_S) { in setTimespecRelative()101 p_ts->tv_nsec -= NS_PER_S; in setTimespecRelative()