Home
last modified time | relevance | path

Searched refs:systick (Results 1 – 7 of 7) sorted by relevance

/external/u-boot/arch/arm/cpu/armv7m/
Dsystick-timer.c50 struct cm3_systick *systick = (struct cm3_systick *)SYSTICK_BASE; in read_timer() local
53 return TIMER_MAX_VAL - readl(&systick->current_val); in read_timer()
58 struct cm3_systick *systick = (struct cm3_systick *)SYSTICK_BASE; in timer_init() local
61 writel(TIMER_MAX_VAL, &systick->reload_val); in timer_init()
63 writel(0, &systick->current_val); in timer_init()
65 cal = readl(&systick->calibration); in timer_init()
68 writel(SYSTICK_CTRL_EN | SYSTICK_CTRL_CPU_CLK, &systick->ctrl); in timer_init()
71 writel(SYSTICK_CTRL_EN, &systick->ctrl); in timer_init()
DMakefile9 obj-$(CONFIG_SYS_ARCH_TIMER) += systick-timer.o
/external/linux-kselftest/tools/testing/selftests/timers/
Dadjtick.c35 long systick; variable
134 ppm = ((long long)tickval * MILLION)/systick - MILLION; in check_tick_adj()
138 printf("%lld usec, %lld ppm", systick + (systick * eppm / MILLION), eppm); in check_tick_adj()
183 systick = sysconf(_SC_CLK_TCK); in main()
184 systick = USEC_PER_SEC/sysconf(_SC_CLK_TCK); in main()
185 max = systick/10; /* +/- 10% */ in main()
188 for (tick = (systick - max); tick < (systick + max); tick += interval) { in main()
202 tx1.tick = systick; in main()
/external/u-boot/arch/arm/dts/
Darmv7-m.dtsi11 systick: timer@e000e010 { label
12 compatible = "arm,armv7m-systick";
Dstm32h743.dtsi139 &systick {
Dstm32f746.dtsi346 &systick {
Dstm32f429.dtsi708 &systick {