Home
last modified time | relevance | path

Searched refs:get_cycles (Results 1 – 25 of 29) sorted by relevance

12

/arch/riscv/include/asm/
Dtimex.h13 static inline cycles_t get_cycles(void) in get_cycles() function
17 #define get_cycles get_cycles macro
22 return get_cycles(); in get_cycles64()
36 lo = get_cycles(); in get_cycles64()
46 *timer_val = get_cycles(); in read_current_timer()
/arch/openrisc/include/asm/
Dtimex.h16 #define get_cycles get_cycles macro
22 static inline cycles_t get_cycles(void) in get_cycles() function
26 #define get_cycles get_cycles macro
/arch/nios2/include/asm/
Dtimex.h10 extern cycles_t get_cycles(void);
11 #define get_cycles get_cycles macro
13 #define random_get_entropy() (((unsigned long)get_cycles()) ?: random_get_entropy_fallback())
/arch/parisc/include/asm/
Dtimex.h15 static inline cycles_t get_cycles(void) in get_cycles() function
19 #define get_cycles get_cycles macro
/arch/powerpc/include/asm/
Dtimex.h18 static inline cycles_t get_cycles(void) in get_cycles() function
25 #define get_cycles get_cycles macro
/arch/alpha/include/asm/
Dtimex.h25 static inline cycles_t get_cycles (void) in get_cycles() function
31 #define get_cycles get_cycles macro
/arch/ia64/include/asm/
Dtimex.h35 get_cycles (void) in get_cycles() function
42 #define get_cycles get_cycles macro
/arch/openrisc/lib/
Ddelay.c25 *timer_value = get_cycles(); in read_current_timer()
31 cycles_t start = get_cycles(); in __delay()
33 while ((get_cycles() - start) < cycles) in __delay()
/arch/arm64/lib/
Ddelay.c28 cycles_t start = get_cycles(); in __delay()
34 while ((get_cycles() - start + timer_evt_period) < cycles) in __delay()
38 while ((get_cycles() - start) < cycles) in __delay()
/arch/mips/include/asm/
Dtimex.h72 static inline cycles_t get_cycles(void) in get_cycles() function
79 #define get_cycles get_cycles macro
/arch/x86/include/asm/
Dtsc.h23 static inline cycles_t get_cycles(void) in get_cycles() function
30 #define get_cycles get_cycles macro
/arch/arm/include/asm/
Dtimex.h13 #define get_cycles() ({ cycles_t c; read_current_timer(&c) ? 0 : c; }) macro
14 #define random_get_entropy() (((unsigned long)get_cycles()) ?: random_get_entropy_fallback())
/arch/nios2/lib/
Ddelay.c13 cycles_t start = get_cycles(); in __delay()
15 while ((get_cycles() - start) < cycles) in __delay()
/arch/c6x/kernel/
Dtime.c28 return get_cycles(); in tsc_read()
44 u64 tsc = get_cycles(); in sched_clock()
/arch/s390/include/asm/
Dtimex.h176 static inline cycles_t get_cycles(void) in get_cycles() function
180 #define get_cycles get_cycles macro
/arch/riscv/lib/
Ddelay.c74 u64 t0 = get_cycles(); in __delay()
76 while ((unsigned long)(get_cycles() - t0) < cycles) in __delay()
/arch/arm/lib/
Ddelay.c47 cycles_t start = get_cycles(); in __timer_delay()
49 while ((get_cycles() - start) < cycles) in __timer_delay()
/arch/arm64/include/asm/
Dtimex.h14 #define get_cycles() arch_timer_read_counter() macro
/arch/sparc/include/asm/
Dtimex_64.h16 #define get_cycles() tick_ops->get_tick() macro
/arch/c6x/include/asm/
Dtimex.h18 static inline cycles_t get_cycles(void) in get_cycles() function
/arch/m68k/include/asm/
Dtimex.h27 static inline cycles_t get_cycles(void) in get_cycles() function
/arch/parisc/kernel/
Dtime.c145 return get_cycles(); in read_cr16()
224 return get_cycles(); in read_cr16_sched_clock()
/arch/openrisc/kernel/
Dsync-timer.c63 initcount = get_cycles(); in synchronise_count_master()
/arch/x86/kernel/
Dtsc.c316 t1 = get_cycles(); in tsc_read_refs()
321 t2 = get_cycles(); in tsc_read_refs()
413 tsc = t1 = t2 = get_cycles(); in pit_calibrate_tsc()
419 t2 = get_cycles(); in pit_calibrate_tsc()
498 tsc = get_cycles(); in pit_expect_msb()
500 *deltap = get_cycles() - prev_tsc; in pit_expect_msb()
/arch/x86/platform/uv/
Dtlb_uv.c550 ttm = get_cycles(); in uv1_wait_completion()
626 ttm = get_cycles(); in uv2_3_wait_completion()
652 ttm = get_cycles(); in uv2_3_wait_completion()
788 tm1 = get_cycles(); in disable_for_period()
843 if (get_cycles() > bcp->period_end) in record_send_stats()
847 bcp->period_end = get_cycles() + bcp->disabled_period; in record_send_stats()
920 time1 = get_cycles(); in uv_flush_send_and_wait()
947 bcp->send_message = get_cycles(); in uv_flush_send_and_wait()
966 time2 = get_cycles(); in uv_flush_send_and_wait()
996 if (bcp->baudisabled && (get_cycles() >= bcp->set_bau_on_time)) { in check_enable()
[all …]

12