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
63
) sorted by null
1
2
3
/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/ndk/4/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/4/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/4/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/4/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/4/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/4/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/5/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/6/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/6/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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)
/prebuilts/ndk/8/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/8/platforms/android-14/arch-mips/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/8/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)
Completed in 591 milliseconds
1
2
3