Searched refs:read_current_timer (Results 1 - 19 of 19) sorted by relevance

/linux-4.1.27/arch/arm/include/asm/
H A Dtimex.h16 #define get_cycles() ({ cycles_t c; read_current_timer(&c) ? 0 : c; })
H A Ddelay.h19 unsigned long (*read_current_timer)(void); member in struct:delay_timer
/linux-4.1.27/include/asm-generic/
H A Dtimex.h16 * Architectures are encouraged to implement read_current_timer
/linux-4.1.27/arch/arm/lib/
H A Ddelay.c42 int read_current_timer(unsigned long *timer_val) read_current_timer() function
47 *timer_val = delay_timer->read_current_timer(); read_current_timer()
50 EXPORT_SYMBOL_GPL(read_current_timer); variable
104 pr_info("Ignoring duplicate/late registration of read_current_timer delay\n"); register_current_timer_delay()
/linux-4.1.27/arch/arm/kernel/
H A Darch_timer.c29 arch_delay_timer.read_current_timer = arch_timer_read_counter_long; arch_timer_delay_timer_register()
/linux-4.1.27/init/
H A Dcalibrate.c26 /* This routine uses the read_current_timer() routine and gets the
47 if (read_current_timer(&pre_start) < 0 ) calibrate_delay_direct()
53 * start = read_current_timer(); calibrate_delay_direct()
71 read_current_timer(&start); calibrate_delay_direct()
75 read_current_timer(&start); calibrate_delay_direct()
77 read_current_timer(&post_start); calibrate_delay_direct()
84 read_current_timer(&end); calibrate_delay_direct()
86 read_current_timer(&post_end); calibrate_delay_direct()
/linux-4.1.27/arch/metag/lib/
H A Ddelay.c22 * We also can't implement read_current_timer() with TXTACTCYC due to
/linux-4.1.27/arch/openrisc/lib/
H A Ddelay.c25 int read_current_timer(unsigned long *timer_value) read_current_timer() function
/linux-4.1.27/arch/avr32/lib/
H A Ddelay.c23 int read_current_timer(unsigned long *timer_value) read_current_timer() function
/linux-4.1.27/arch/hexagon/include/asm/
H A Dtimex.h30 static inline int read_current_timer(unsigned long *timer_val) read_current_timer() function
/linux-4.1.27/arch/x86/lib/
H A Ddelay.c100 int read_current_timer(unsigned long *timer_val) read_current_timer() function
/linux-4.1.27/drivers/clocksource/
H A Dnomadik-mtu.c242 mtu_delay_timer.read_current_timer = &nmdk_timer_read_current_timer; nmdk_timer_init()
H A Dqcom-timer.c190 .read_current_timer = msm_read_current_timer,
H A Dtegra20_timer.c216 tegra_delay_timer.read_current_timer = tegra20_init_timer()
H A Dexynos_mct.c239 exynos4_delay_timer.read_current_timer = &exynos4_read_current_timer; exynos4_clocksource_init()
H A Dtimer-u300.c390 u300_delay_timer.read_current_timer = &u300_read_current_timer; u300_timer_init_of()
/linux-4.1.27/include/linux/
H A Dtimex.h157 int read_current_timer(unsigned long *timer_val);
/linux-4.1.27/arch/arm/mach-imx/
H A Dtime.c140 imx_delay_timer.read_current_timer = &imx_read_current_timer; mxc_clocksource_init()
/linux-4.1.27/arch/sparc/kernel/
H A Dtime_64.c843 int read_current_timer(unsigned long *timer_val) read_current_timer() function

Completed in 572 milliseconds