Home
last modified time | relevance | path

Searched refs:cycles_t (Results 1 – 25 of 46) sorted by relevance

12

/arch/tile/include/asm/
Dtimex.h28 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/
Dtime.h22 extern cycles_t pcycle_freq_mhz;
23 extern cycles_t thread_freq_mhz;
24 extern cycles_t sleep_clk_freq;
/arch/alpha/include/asm/
Dtimex.h23 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/
Dtimex.h19 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/
Dtimex.h14 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/
Dtimex.h17 typedef unsigned long cycles_t; typedef
34 static inline cycles_t
37 cycles_t ret; in get_cycles()
/arch/powerpc/include/asm/
Dtimex.h16 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/
Dtimex.h18 typedef unsigned long long cycles_t; typedef
20 static inline cycles_t get_cycles(void) in get_cycles()
/arch/nios2/include/asm/
Dtimex.h20 typedef unsigned long cycles_t; typedef
22 extern cycles_t get_cycles(void);
/arch/um/include/asm/
Dtimex.h5 typedef unsigned long cycles_t; typedef
7 static inline cycles_t get_cycles (void) in get_cycles()
/arch/parisc/include/asm/
Dtimex.h13 typedef unsigned long cycles_t; typedef
15 static inline cycles_t get_cycles (void) in get_cycles()
/arch/arm/include/asm/
Dtimex.h15 typedef unsigned long cycles_t; typedef
16 #define get_cycles() ({ cycles_t c; read_current_timer(&c) ? 0 : c; })
/arch/m32r/include/asm/
Dtimex.h20 typedef unsigned long long cycles_t; typedef
22 static __inline__ cycles_t get_cycles (void) in get_cycles()
/arch/frv/include/asm/
Dtimex.h10 typedef unsigned long cycles_t; typedef
12 static inline cycles_t get_cycles(void) in get_cycles()
/arch/mn10300/include/asm/
Dtimex.h22 extern cycles_t cacheflush_time;
24 static inline cycles_t get_cycles(void) in get_cycles()
/arch/m68k/include/asm/
Dtimex.h25 typedef unsigned long cycles_t; typedef
27 static inline cycles_t get_cycles(void) in get_cycles()
/arch/tile/kernel/
Dtime.c41 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/
Ddelay.c32 cycles_t target = get_cycles(); in __ndelay()
41 cycles_t target = get_cycles() + cycles; in __delay()
/arch/x86/kernel/
Dtsc_sync.c181 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/
Dtimex.h146 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/
Dtsc.h16 typedef unsigned long long cycles_t; typedef
23 static inline cycles_t get_cycles(void) in get_cycles()
/arch/mips/include/asm/
Dtimex.h40 typedef unsigned int cycles_t; typedef
72 static inline cycles_t get_cycles(void) in get_cycles()
/arch/mn10300/unit-asb2305/include/unit/
Dtimex.h137 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/
Dtimex.h137 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/
Dtimex.h147 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()

12