HelenOS sources
USEC2NSEC 2191 uspace/drv/nic/e1k/e1k.c period.tv_nsec = USEC2NSEC(E1000_DEFAULT_INTERRUPT_INTERVAL_USEC);
USEC2NSEC 408 uspace/lib/c/generic/async/client.c ts_add_diff(&expires, USEC2NSEC(timeout));
USEC2NSEC 855 uspace/lib/c/generic/async/server.c ts_add_diff(&ts, USEC2NSEC(usecs));
USEC2NSEC 897 uspace/lib/c/generic/thread/fibril.c ts_add_diff(&expires, USEC2NSEC(timeout));
USEC2NSEC 414 uspace/lib/c/generic/thread/fibril_synch.c ts_add_diff(&ts, USEC2NSEC(timeout));
USEC2NSEC 765 uspace/lib/c/generic/thread/fibril_synch.c ts_add_diff(&ts, USEC2NSEC(timeout));
USEC2NSEC 691 uspace/lib/c/generic/time.c ts->tv_nsec = USEC2NSEC(ktime->useconds);
USEC2NSEC 1083 uspace/lib/nic/src/nic_driver.c remaining.tv_nsec -= USEC2NSEC(wait);
USEC2NSEC 221 uspace/lib/posix/src/time.c res->tv_nsec = USEC2NSEC(1); /* Microsecond resolution. */
USEC2NSEC 246 uspace/lib/posix/src/time.c tp->tv_nsec = USEC2NSEC(tv.tv_usec);
HelenOS homepage, sources at GitHub