OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:SH_DIV
(Results
1 - 25
of
26
) sorted by null
1
2
/bionic/libc/kernel/common/linux/
jiffies.h
52
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
54
#define ACTHZ (
SH_DIV
(CLOCK_TICK_RATE, LATCH, 8))
55
#define ACTHZ_HPET (
SH_DIV
(HPET_TICK_RATE, LATCH_HPET, 8))
56
#define TICK_NSEC (
SH_DIV
(1000000UL * 1000, ACTHZ, 8))
57
#define TICK_NSEC_HPET (
SH_DIV
(1000000UL * 1000, ACTHZ_HPET, 8))
60
#define TICK_USEC_TO_NSEC(TUSEC) (
SH_DIV
(TUSEC * USER_HZ * 1000, ACTHZ, 8))
91
#define MAX_SEC_IN_JIFFIES (
SH_DIV
((MAX_JIFFY_OFFSET >> SEC_JIFFIE_SC) * TICK_NSEC, NSEC_PER_SEC, 1) - 1)
/development/ndk/platforms/android-3/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/gcc/darwin-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.4.3/sysroot/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/ndk/android-ndk-r7/platforms/android-14/arch-arm/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/ndk/android-ndk-r7/platforms/android-14/arch-x86/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/ndk/android-ndk-r7/platforms/android-3/arch-arm/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/ndk/android-ndk-r7/platforms/android-3/arch-x86/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/ndk/android-ndk-r7/platforms/android-4/arch-arm/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/ndk/android-ndk-r7/platforms/android-4/arch-x86/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/ndk/android-ndk-r7/platforms/android-5/arch-arm/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/ndk/android-ndk-r7/platforms/android-5/arch-x86/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/ndk/android-ndk-r7/platforms/android-8/arch-arm/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/ndk/android-ndk-r7/platforms/android-8/arch-x86/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/ndk/android-ndk-r7/platforms/android-9/arch-arm/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
/prebuilts/ndk/android-ndk-r7/platforms/android-9/arch-x86/usr/include/linux/
jiffies.h
44
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) + ((((NOM) % (DEN)) << (LSH)) + (DEN) / 2) / (DEN))
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, 1) - 1)
Completed in 150 milliseconds
1
2