ts 144 bsp/drv/dev/rtc/mc146818.c mc146818_settime(void *aux, struct timeval *ts) ts 80 bsp/drv/dev/rtc/pl030.c pl030_settime(void *aux, struct timeval *ts) ts 54 include/sys/time.h #define TIMEVAL_TO_TIMESPEC(tv, ts) { \ ts 55 include/sys/time.h (ts)->ts_sec = (tv)->tv_sec; \ ts 56 include/sys/time.h (ts)->ts_nsec = (tv)->tv_usec * 1000; \ ts 58 include/sys/time.h #define TIMESPEC_TO_TIMEVAL(tv, ts) { \ ts 59 include/sys/time.h (tv)->tv_sec = (ts)->ts_sec; \ ts 60 include/sys/time.h (tv)->tv_usec = (ts)->ts_nsec / 1000; \