Searched refs:systick (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/arch/mips/ralink/
H A Dcevt-rt3352.c27 /* route systick irq to mips irq 7 instead of the r4k-timer */
70 static struct systick_device systick = { variable in typeref:struct:systick_device
73 * cevt-r4k uses 300, make sure systick
88 .dev_id = &systick.dev,
98 free_irq(systick.dev.irq, &systick_irqaction); systick_shutdown()
100 iowrite32(0, systick.membase + SYSTICK_CONFIG); systick_shutdown()
112 setup_irq(systick.dev.irq, &systick_irqaction); systick_set_oneshot()
115 systick.membase + SYSTICK_CONFIG); systick_set_oneshot()
122 systick.membase = of_iomap(np, 0); ralink_systick_init()
123 if (!systick.membase) ralink_systick_init()
127 systick.dev.name = np->name; ralink_systick_init()
128 clockevents_calc_mult_shift(&systick.dev, SYSTICK_FREQ, 60); ralink_systick_init()
129 systick.dev.max_delta_ns = clockevent_delta2ns(0x7fff, &systick.dev); ralink_systick_init()
130 systick.dev.min_delta_ns = clockevent_delta2ns(0x3, &systick.dev); ralink_systick_init()
131 systick.dev.irq = irq_of_parse_and_map(np, 0); ralink_systick_init()
132 if (!systick.dev.irq) { ralink_systick_init()
137 clocksource_mmio_init(systick.membase + SYSTICK_COUNT, np->name, ralink_systick_init()
140 clockevents_register_device(&systick.dev); ralink_systick_init()
143 np->name, systick.dev.mult, systick.dev.shift); ralink_systick_init()
146 CLOCKSOURCE_OF_DECLARE(systick, "ralink,cevt-systick", ralink_systick_init);
/linux-4.4.14/tools/testing/selftests/timers/
H A Dadjtick.c46 long systick; variable
145 ppm = ((long long)tickval * MILLION)/systick - MILLION; check_tick_adj()
149 printf("%lld usec, %lld ppm", systick + (systick * eppm / MILLION), eppm); check_tick_adj()
194 systick = sysconf(_SC_CLK_TCK); main()
195 systick = USEC_PER_SEC/sysconf(_SC_CLK_TCK); main()
196 max = systick/10; /* +/- 10% */ main()
199 for (tick = (systick - max); tick < (systick + max); tick += interval) { main()
213 tx1.tick = systick; main()
/linux-4.4.14/drivers/clocksource/
H A Darmv7m_systick.c78 CLOCKSOURCE_OF_DECLARE(arm_systick, "arm,armv7m-systick",
/linux-4.4.14/drivers/clk/
H A Dclk-stm32f4.c349 clks[SYSTICK] = clk_register_fixed_factor(NULL, "systick", "ahb_div", stm32f4_rcc_init()

Completed in 257 milliseconds