Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 6 of 6) sorted by relevance

/hal_espressif-latest/components/newlib/
Dtime.c214 int clock_settime(clockid_t clock_id, const struct timespec *tp) in clock_settime() argument
217 if (tp == NULL) { in clock_settime()
224 tv.tv_sec = tp->tv_sec; in clock_settime()
225 tv.tv_usec = tp->tv_nsec / 1000L; in clock_settime()
239 int clock_gettime (clockid_t clock_id, struct timespec *tp) in clock_gettime() argument
242 if (tp == NULL) { in clock_gettime()
251 tp->tv_sec = tv.tv_sec; in clock_gettime()
252 tp->tv_nsec = tv.tv_usec * 1000L; in clock_gettime()
256 tp->tv_sec = monotonic_time_us / 1000000LL; in clock_gettime()
257 tp->tv_nsec = (monotonic_time_us % 1000000LL) * 1000L; in clock_gettime()
/hal_espressif-latest/components/newlib/platform_include/
Dtime.h25 int clock_settime(clockid_t clock_id, const struct timespec *tp);
26 int clock_gettime(clockid_t clock_id, struct timespec *tp);
/hal_espressif-latest/components/esp_hw_support/
Dsleep_cpu_asm.S51 sw tp, RV_SLP_CTX_TP(t0)
238 lw tp, RV_SLP_CTX_TP(t0)
/hal_espressif-latest/components/riscv/
Dvectors.S26 sw tp, RV_STK_TP(sp)
66 lw tp, RV_STK_TP(sp)
/hal_espressif-latest/components/riscv/include/riscv/
Drvruntime-frames.h50 STRUCT_FIELD (long, 4, RV_STK_TP, tp) /* Thread pointer */
Drvsleep-frames.h52 STRUCT_FIELD (long, 4, RV_SLP_CTX_TP, tp) /* Thread pointer */