Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/hexagon/include/asm/
H A Dtime.h9 extern cycles_t pcycle_freq_mhz;
10 extern cycles_t thread_freq_mhz;
11 extern cycles_t sleep_clk_freq;
/openbmc/linux/arch/alpha/include/asm/
H A 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()
/openbmc/linux/arch/ia64/include/asm/
H A Dtimex.h17 typedef unsigned long cycles_t; typedef
34 static inline cycles_t
37 cycles_t ret; in get_cycles()
H A Diommu.h8 #define DMAR_OPERATION_TIMEOUT (((cycles_t) local_cpu_data->itc_freq)*10)
/openbmc/linux/arch/riscv/include/asm/
H A Dtimex.h11 typedef unsigned long cycles_t; typedef
18 static inline cycles_t get_cycles(void) in get_cycles()
51 static inline cycles_t get_cycles(void) in get_cycles()
/openbmc/linux/arch/x86/kernel/
H A Dtsc_sync.c256 static cycles_t last_tsc;
257 static cycles_t max_warp;
265 static cycles_t check_tsc_warp(unsigned int timeout) in check_tsc_warp()
267 cycles_t start, now, prev, end, cur_max_warp = 0; in check_tsc_warp()
274 end = start + (cycles_t) tsc_khz * timeout; in check_tsc_warp()
435 cycles_t cur_max_warp, gbl_max_warp; in check_tsc_sync_target()
/openbmc/linux/include/asm-generic/
H A Dtimex.h8 typedef unsigned long cycles_t; typedef
10 static inline cycles_t get_cycles(void) in get_cycles()
/openbmc/linux/arch/parisc/include/asm/
H A Dtimex.h14 typedef unsigned long cycles_t; typedef
16 static inline cycles_t get_cycles(void) in get_cycles()
/openbmc/linux/arch/loongarch/include/asm/
H A Dtimex.h15 typedef unsigned long cycles_t; typedef
19 static inline cycles_t get_cycles(void) in get_cycles()
/openbmc/linux/arch/nios2/include/asm/
H A Dtimex.h8 typedef unsigned long cycles_t; typedef
10 extern cycles_t get_cycles(void);
/openbmc/linux/arch/powerpc/include/asm/
H A Dtimex.h16 typedef unsigned long cycles_t; typedef
18 static inline cycles_t get_cycles(void) in get_cycles()
/openbmc/linux/arch/arm/include/asm/
H A Dtimex.h12 typedef unsigned long cycles_t; typedef
13 #define get_cycles() ({ cycles_t c; read_current_timer(&c) ? 0 : c; })
/openbmc/linux/arch/m68k/include/asm/
H A Dtimex.h25 typedef unsigned long cycles_t; typedef
27 static inline cycles_t get_cycles(void) in get_cycles()
/openbmc/linux/arch/s390/include/asm/
H A Dtimex.h178 typedef unsigned long cycles_t; typedef
196 static inline cycles_t get_cycles(void) in get_cycles()
198 return (cycles_t) get_tod_clock() >> 2; in get_cycles()
/openbmc/linux/arch/mips/include/asm/
H A Dtimex.h40 typedef unsigned int cycles_t; typedef
72 static inline cycles_t get_cycles(void) in get_cycles()
/openbmc/linux/arch/x86/include/asm/
H A Dtsc.h14 typedef unsigned long long cycles_t; typedef
21 static inline cycles_t get_cycles(void) in get_cycles()
H A Diommu.h21 #define DMAR_OPERATION_TIMEOUT ((cycles_t) tsc_khz*10*1000)
/openbmc/linux/arch/arm64/lib/
H A Ddelay.c28 cycles_t start = get_cycles(); in __delay()
41 const cycles_t timer_evt_period = in __delay()
/openbmc/linux/arch/hexagon/kernel/
H A Dtime.c33 cycles_t pcycle_freq_mhz;
34 cycles_t thread_freq_mhz;
35 cycles_t sleep_clk_freq;
/openbmc/linux/arch/arm/mach-omap1/
H A Dtimer32k.c180 static cycles_t cycles;
194 cycles_t last_cycles; in omap_read_persistent_clock64()
/openbmc/linux/arch/sparc/include/asm/
H A Dtimex_64.h15 typedef unsigned long cycles_t; typedef
/openbmc/linux/arch/openrisc/include/asm/
H A Dtimex.h22 static inline cycles_t get_cycles(void) in get_cycles()
/openbmc/linux/drivers/misc/sgi-gru/
H A Dgruhandles.c16 #define GRU_OPERATION_TIMEOUT (((cycles_t) local_cpu_data->itc_freq)*10)
21 #define GRU_OPERATION_TIMEOUT ((cycles_t) tsc_khz*10*1000)
/openbmc/linux/arch/nios2/lib/
H A Ddelay.c13 cycles_t start = get_cycles(); in __delay()
/openbmc/linux/arch/openrisc/lib/
H A Ddelay.c32 cycles_t start = get_cycles(); in __delay()

12