Home
last modified time | relevance | path

Searched refs:it_value (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/amp_adapter/platform/linux/peripheral/
A Daos_hal_timer.c62 ts.it_value.tv_sec = tim->config.period / 1000000; in aos_hal_timer_start()
63 ts.it_value.tv_nsec = (tim->config.period % 1000000) * 1000; in aos_hal_timer_start()
82 ts.it_value.tv_sec = 0; in aos_hal_timer_stop()
83 ts.it_value.tv_nsec = 0; in aos_hal_timer_stop()
/AliOS-Things-master/components/posix/src/
A Dtimer.c227 ret = timespec_abs_to_relate((struct timespec *)&value->it_value, &value_spec); in timer_settime()
236 value_ns = timespec_to_nanosecond((struct timespec *)&value->it_value); in timer_settime()
311 value->it_value.tv_sec = time_ns[2]; in timer_gettime()
312 value->it_value.tv_nsec = time_ns[3]; in timer_gettime()
/AliOS-Things-master/components/amp_adapter/platform/linux/
A Daos_system.c376 ts.it_value.tv_sec = amp_timer->ms / 1000; in aos_timer_start()
377 ts.it_value.tv_nsec = (amp_timer->ms % 1000) * 1000000; in aos_timer_start()
399 ts.it_value.tv_sec = 0; in aos_timer_stop()
400 ts.it_value.tv_nsec = 0; in aos_timer_stop()
/AliOS-Things-master/components/minilibc/include/
A Dtime.h114 struct timespec it_value; /* First time */ member

Completed in 6 milliseconds