NS_PER_SEC
if (period < 2 * NS_PER_SEC / PWM_CLOCK) {
pwmtick = NS_PER_SEC / pwmclk;
sc->period = NS_PER_SEC /
sc->duty = NS_PER_SEC /
period_freq = NS_PER_SEC / period;
duty_freq = NS_PER_SEC / duty;
sc->period = NS_PER_SEC /
sc->duty = NS_PER_SEC /
period_freq = NS_PER_SEC / period;
duty_freq = NS_PER_SEC / duty;
period_out = (sc->clk_freq * period) / NS_PER_SEC;
duty_out = (sc->clk_freq * duty) / NS_PER_SEC;
if ((UINT64_MAX - ts->tv_nsec) / NS_PER_SEC < ts->tv_sec)
((uint64_t)(tsp)->tv_sec * NS_PER_SEC + (tsp)->tv_nsec)
.tv_sec = (ns) / NS_PER_SEC, \
.tv_nsec = (ns) % NS_PER_SEC \
ts->tv_nsec = NS_PER_SEC / tc_getfrequency() + 1;
ts->tv_nsec = howmany(NS_PER_SEC, hz);
if (rqt->tv_nsec < 0 || rqt->tv_nsec >= NS_PER_SEC)