Searched refs:systick (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/arch/mips/ralink/ |
H A D | cevt-rt3352.c | 27 /* 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 87 .dev_id = &systick.dev, 100 setup_irq(systick.dev.irq, &systick_irqaction); systick_set_clock_mode() 103 systick.membase + SYSTICK_CONFIG); systick_set_clock_mode() 108 free_irq(systick.dev.irq, &systick_irqaction); systick_set_clock_mode() 110 iowrite32(0, systick.membase + SYSTICK_CONFIG); systick_set_clock_mode() 114 pr_err("%s: Unhandeled mips clock_mode\n", systick.dev.name); systick_set_clock_mode() 121 systick.membase = of_iomap(np, 0); ralink_systick_init() 122 if (!systick.membase) ralink_systick_init() 126 systick.dev.name = np->name; ralink_systick_init() 127 clockevents_calc_mult_shift(&systick.dev, SYSTICK_FREQ, 60); ralink_systick_init() 128 systick.dev.max_delta_ns = clockevent_delta2ns(0x7fff, &systick.dev); ralink_systick_init() 129 systick.dev.min_delta_ns = clockevent_delta2ns(0x3, &systick.dev); ralink_systick_init() 130 systick.dev.irq = irq_of_parse_and_map(np, 0); ralink_systick_init() 131 if (!systick.dev.irq) { ralink_systick_init() 136 clocksource_mmio_init(systick.membase + SYSTICK_COUNT, np->name, ralink_systick_init() 139 clockevents_register_device(&systick.dev); ralink_systick_init() 142 np->name, systick.dev.mult, systick.dev.shift); ralink_systick_init() 145 CLOCKSOURCE_OF_DECLARE(systick, "ralink,cevt-systick", ralink_systick_init);
|
Completed in 30 milliseconds