OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:SH_DIV
(Results
26 - 26
of
26
) sorted by null
1
2
/external/kernel-headers/original/linux/
jiffies.h
50
#define
SH_DIV
(NOM,DEN,LSH) ( (((NOM) / (DEN)) << (LSH)) \
54
#define ACTHZ (
SH_DIV
(CLOCK_TICK_RATE, LATCH, 8))
56
#define ACTHZ_HPET (
SH_DIV
(HPET_TICK_RATE, LATCH_HPET, 8))
59
#define TICK_NSEC (
SH_DIV
(1000000UL * 1000, ACTHZ, 8))
61
#define TICK_NSEC_HPET (
SH_DIV
(1000000UL * 1000, ACTHZ_HPET, 8))
68
#define TICK_USEC_TO_NSEC(TUSEC) (
SH_DIV
(TUSEC * USER_HZ * 1000, ACTHZ, 8))
235
* so use the messy
SH_DIV
macro to do it. Still all constants.
242
(
SH_DIV
((MAX_JIFFY_OFFSET >> SEC_JIFFIE_SC) * TICK_NSEC, NSEC_PER_SEC, 1) - 1)
Completed in 37 milliseconds
1
2