/arch/tile/include/asm/ |
D | timex.h | 28 typedef unsigned long long cycles_t; typedef 31 cycles_t get_cycles(void); 34 static inline cycles_t get_cycles(void) in get_cycles() 41 cycles_t get_clock_rate(void); 44 cycles_t ns2cycles(unsigned long nsecs);
|
/arch/hexagon/include/asm/ |
D | time.h | 22 extern cycles_t pcycle_freq_mhz; 23 extern cycles_t thread_freq_mhz; 24 extern cycles_t sleep_clk_freq;
|
/arch/alpha/include/asm/ |
D | timex.h | 23 typedef unsigned int cycles_t; typedef 25 static inline cycles_t get_cycles (void) in get_cycles() 27 cycles_t ret; in get_cycles()
|
/arch/c6x/include/asm/ |
D | timex.h | 19 typedef unsigned long long cycles_t; typedef 21 static inline cycles_t get_cycles(void) in get_cycles() 30 return ((cycles_t)h << 32) | l; in get_cycles()
|
/arch/blackfin/include/asm/ |
D | timex.h | 14 typedef unsigned long long cycles_t; typedef 16 static inline cycles_t get_cycles(void) in get_cycles() 20 return tmp | ((cycles_t)tmp2 << 32); in get_cycles()
|
/arch/ia64/include/asm/ |
D | timex.h | 17 typedef unsigned long cycles_t; typedef 34 static inline cycles_t 37 cycles_t ret; in get_cycles()
|
/arch/powerpc/include/asm/ |
D | timex.h | 16 typedef unsigned long cycles_t; typedef 18 static inline cycles_t get_cycles(void) in get_cycles() 23 cycles_t ret; in get_cycles()
|
/arch/cris/include/asm/ |
D | timex.h | 18 typedef unsigned long long cycles_t; typedef 20 static inline cycles_t get_cycles(void) in get_cycles()
|
/arch/nios2/include/asm/ |
D | timex.h | 20 typedef unsigned long cycles_t; typedef 22 extern cycles_t get_cycles(void);
|
/arch/um/include/asm/ |
D | timex.h | 5 typedef unsigned long cycles_t; typedef 7 static inline cycles_t get_cycles (void) in get_cycles()
|
/arch/parisc/include/asm/ |
D | timex.h | 13 typedef unsigned long cycles_t; typedef 15 static inline cycles_t get_cycles (void) in get_cycles()
|
/arch/arm/include/asm/ |
D | timex.h | 15 typedef unsigned long cycles_t; typedef 16 #define get_cycles() ({ cycles_t c; read_current_timer(&c) ? 0 : c; })
|
/arch/m32r/include/asm/ |
D | timex.h | 20 typedef unsigned long long cycles_t; typedef 22 static __inline__ cycles_t get_cycles (void) in get_cycles()
|
/arch/frv/include/asm/ |
D | timex.h | 10 typedef unsigned long cycles_t; typedef 12 static inline cycles_t get_cycles(void) in get_cycles()
|
/arch/mn10300/include/asm/ |
D | timex.h | 22 extern cycles_t cacheflush_time; 24 static inline cycles_t get_cycles(void) in get_cycles()
|
/arch/m68k/include/asm/ |
D | timex.h | 25 typedef unsigned long cycles_t; typedef 27 static inline cycles_t get_cycles(void) in get_cycles()
|
/arch/tile/kernel/ |
D | time.c | 41 static cycles_t cycles_per_sec __ro_after_init; 43 cycles_t get_clock_rate(void) in get_clock_rate() 49 cycles_t get_cycles(void) in get_cycles() 61 return (((cycles_t)high) << 32) | low; in get_cycles() 74 static cycles_t clocksource_get_cycles(struct clocksource *cs) in clocksource_get_cycles() 238 cycles_t ns2cycles(unsigned long nsecs) in ns2cycles()
|
/arch/tile/lib/ |
D | delay.c | 32 cycles_t target = get_cycles(); in __ndelay() 41 cycles_t target = get_cycles() + cycles; in __delay()
|
/arch/x86/kernel/ |
D | tsc_sync.c | 181 static cycles_t last_tsc; 182 static cycles_t max_warp; 190 static cycles_t check_tsc_warp(unsigned int timeout) in check_tsc_warp() 192 cycles_t start, now, prev, end, cur_max_warp = 0; in check_tsc_warp() 199 end = start + (cycles_t) tsc_khz * timeout; in check_tsc_warp() 368 cycles_t cur_max_warp, gbl_max_warp; in check_tsc_sync_target()
|
/arch/mn10300/unit-asb2364/include/unit/ |
D | timex.h | 146 typedef unsigned long cycles_t; typedef 148 static inline cycles_t read_timestamp_counter(void) in read_timestamp_counter() 150 return (cycles_t)~TMTSCBC; in read_timestamp_counter()
|
/arch/x86/include/asm/ |
D | tsc.h | 16 typedef unsigned long long cycles_t; typedef 23 static inline cycles_t get_cycles(void) in get_cycles()
|
/arch/mips/include/asm/ |
D | timex.h | 40 typedef unsigned int cycles_t; typedef 72 static inline cycles_t get_cycles(void) in get_cycles()
|
/arch/mn10300/unit-asb2305/include/unit/ |
D | timex.h | 137 typedef unsigned long cycles_t; typedef 139 static inline cycles_t read_timestamp_counter(void) in read_timestamp_counter() 141 return (cycles_t)~TMTSCBC; in read_timestamp_counter()
|
/arch/mn10300/unit-asb2303/include/unit/ |
D | timex.h | 137 typedef unsigned long cycles_t; typedef 139 static inline cycles_t read_timestamp_counter(void) in read_timestamp_counter() 141 return (cycles_t)~TMTSCBC; in read_timestamp_counter()
|
/arch/s390/include/asm/ |
D | timex.h | 147 typedef unsigned long long cycles_t; typedef 176 static inline cycles_t get_cycles(void) in get_cycles() 178 return (cycles_t) get_tod_clock() >> 2; in get_cycles()
|