Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/mips/ralink/
H A Dcevt-rt3352.c70 static struct systick_device systick = { variable
92 free_irq(systick.dev.irq, &systick.dev); in systick_shutdown()
94 iowrite32(0, systick.membase + SYSTICK_CONFIG); in systick_shutdown()
101 const char *name = systick.dev.name; in systick_set_oneshot()
103 int irq = systick.dev.irq; in systick_set_oneshot()
109 IRQF_PERCPU | IRQF_TIMER, name, &systick.dev)) in systick_set_oneshot()
114 systick.membase + SYSTICK_CONFIG); in systick_set_oneshot()
123 systick.membase = of_iomap(np, 0); in ralink_systick_init()
124 if (!systick.membase) in ralink_systick_init()
127 systick.dev.name = np->name; in ralink_systick_init()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7m/
H A Dsystick-timer.c51 struct cm3_systick *systick = (struct cm3_systick *)SYSTICK_BASE; in read_timer() local
54 return TIMER_MAX_VAL - readl(&systick->current_val); in read_timer()
59 struct cm3_systick *systick = (struct cm3_systick *)SYSTICK_BASE; in timer_init() local
62 writel(TIMER_MAX_VAL, &systick->reload_val); in timer_init()
64 writel(0, &systick->current_val); in timer_init()
66 cal = readl(&systick->calibration); in timer_init()
69 writel(SYSTICK_CTRL_EN | SYSTICK_CTRL_CPU_CLK, &systick->ctrl); in timer_init()
72 writel(SYSTICK_CTRL_EN, &systick->ctrl); in timer_init()
H A DMakefile10 obj-$(CONFIG_SYS_ARCH_TIMER) += systick-timer.o
/OK3568_Linux_fs/kernel/tools/testing/selftests/timers/
H A 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()
184 systick = sysconf(_SC_CLK_TCK); in main()
185 systick = USEC_PER_SEC/sysconf(_SC_CLK_TCK); in main()
186 max = systick/10; /* +/- 10% */ in main()
189 for (tick = (systick - max); tick < (systick + max); tick += interval) { in main()
203 tx1.tick = systick; in main()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/timer/
H A Darm,armv7m-systick.txt7 - compatible : Should be "arm,armv7m-systick"
16 systick: timer@e000e010 {
17 compatible = "arm,armv7m-systick";
22 systick: timer@e000e010 {
23 compatible = "arm,armv7m-systick";
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Darmv7-m.dtsi11 systick: timer@e000e010 { label
12 compatible = "arm,armv7m-systick";
H A Dstm32f746.dtsi234 &systick {
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Darmv7-m.dtsi10 systick: timer@e000e010 { label
11 compatible = "arm,armv7m-systick";
H A Dstm32h743.dtsi557 &systick {
H A Dstm32f746.dtsi636 &systick {
H A Dstm32f429.dtsi803 &systick {