Searched refs:SH_DIV (Results 1 – 1 of 1) sorted by relevance
/development/ndk/platforms/android-3/include/linux/ |
D | jiffies.h | 44 #define SH_DIV(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / … macro 46 #define ACTHZ (SH_DIV (CLOCK_TICK_RATE, LATCH, 8)) 48 #define ACTHZ_HPET (SH_DIV (HPET_TICK_RATE, LATCH_HPET, 8)) 50 #define TICK_NSEC (SH_DIV (1000000UL * 1000, ACTHZ, 8)) 52 #define TICK_NSEC_HPET (SH_DIV(1000000UL * 1000, ACTHZ_HPET, 8)) 56 #define TICK_USEC_TO_NSEC(TUSEC) (SH_DIV (TUSEC * USER_HZ * 1000, ACTHZ, 8)) 84 #define MAX_SEC_IN_JIFFIES (SH_DIV((MAX_JIFFY_OFFSET >> SEC_JIFFIE_SC) * TICK_NSEC, NSEC_PER_SEC,…
|