Searched refs:systick (Results 1 – 7 of 7) sorted by relevance
50 struct cm3_systick *systick = (struct cm3_systick *)SYSTICK_BASE; in read_timer() local53 return TIMER_MAX_VAL - readl(&systick->current_val); in read_timer()58 struct cm3_systick *systick = (struct cm3_systick *)SYSTICK_BASE; in timer_init() local61 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()
9 obj-$(CONFIG_SYS_ARCH_TIMER) += systick-timer.o
35 long systick; variable134 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()
11 systick: timer@e000e010 { label12 compatible = "arm,armv7m-systick";
139 &systick {
346 &systick {
708 &systick {