Home
last modified time | relevance | path

Searched refs:cycles_t (Results 1 – 25 of 47) 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.h22 typedef unsigned int cycles_t; typedef
24 static inline cycles_t get_cycles (void) in get_cycles()
26 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.h16 typedef unsigned long cycles_t; typedef
33 static inline cycles_t
36 cycles_t ret; in get_cycles()
/arch/powerpc/include/asm/
Dtimex.h15 typedef unsigned long cycles_t; typedef
17 static inline cycles_t get_cycles(void) in get_cycles()
22 cycles_t ret; in get_cycles()
/arch/cris/include/asm/
Dtimex.h17 typedef unsigned long long cycles_t; typedef
19 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.h4 typedef unsigned long cycles_t; typedef
6 static inline cycles_t get_cycles (void) in get_cycles()
/arch/parisc/include/asm/
Dtimex.h12 typedef unsigned long cycles_t; typedef
14 static inline cycles_t get_cycles (void) in get_cycles()
/arch/avr32/include/asm/
Dtimex.h30 typedef unsigned long cycles_t; typedef
32 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/x86/kernel/
Dtsc_sync.c37 static cycles_t last_tsc;
38 static cycles_t max_warp;
47 cycles_t start, now, prev, end; in check_tsc_warp()
54 end = start + (cycles_t) tsc_khz * timeout; in check_tsc_warp()
/arch/m32r/include/asm/
Dtimex.h19 typedef unsigned long long cycles_t; typedef
21 static __inline__ cycles_t get_cycles (void) in get_cycles()
/arch/frv/include/asm/
Dtimex.h9 typedef unsigned long cycles_t; typedef
11 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.h24 typedef unsigned long cycles_t; typedef
26 static inline cycles_t get_cycles(void) in get_cycles()
/arch/s390/include/asm/
Dtimex.h74 typedef unsigned long long cycles_t; typedef
103 static inline cycles_t get_cycles(void) in get_cycles()
105 return (cycles_t) get_tod_clock() >> 2; in get_cycles()
/arch/x86/include/asm/
Dtsc.h15 typedef unsigned long long cycles_t; typedef
22 static inline cycles_t get_cycles(void) in get_cycles()
/arch/tile/kernel/
Dtime.c40 static cycles_t cycles_per_sec __write_once;
42 cycles_t get_clock_rate(void) in get_clock_rate()
48 cycles_t get_cycles(void) in get_cycles()
60 return (((cycles_t)high) << 32) | low; in get_cycles()
73 static cycles_t clocksource_get_cycles(struct clocksource *cs) in clocksource_get_cycles()
234 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/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/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()

12