Searched refs:TICKS_PER_SEC (Results 1 – 6 of 6) sorted by relevance
87 #ifndef TICKS_PER_SEC88 #define TICKS_PER_SEC 100 macro95 #define GKI_MS_TO_TICKS(x) ((x) / (1000 / TICKS_PER_SEC))99 #define GKI_SECS_TO_TICKS(x) ((x) * (TICKS_PER_SEC))103 #define GKI_TICKS_TO_MS(x) ((x) * 1000 / TICKS_PER_SEC)107 #define GKI_TICKS_TO_SECS(x) ((x) / TICKS_PER_SEC)
105 #ifdef TICKS_PER_SEC106 #define GKI_MS_TO_TICKS(x) ((x) / (1000/TICKS_PER_SEC))107 #define GKI_SECS_TO_TICKS(x) ((x) * (TICKS_PER_SEC))108 #define GKI_TICKS_TO_MS(x) ((x) * (1000/TICKS_PER_SEC))109 #define GKI_TICKS_TO_SECS(x) ((x) * (1/TICKS_PER_SEC))
131 #ifndef TICKS_PER_SEC132 #define TICKS_PER_SEC 100 macro
935 #define TICKS_PER_SEC 10000000LL macro939 return n * TICKS_PER_SEC * timebase->num / timebase->den; in timebase_units_to_ticks()944 const int64_t round = TICKS_PER_SEC * timebase->num / 2 - 1; in ticks_to_timebase_units()945 return (n * timebase->den + round) / timebase->num / TICKS_PER_SEC; in ticks_to_timebase_units()
57 #define LINUX_SEC (1000/TICKS_PER_SEC)
56 #define LINUX_SEC (1000/TICKS_PER_SEC)