Home
last modified time | relevance | path

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

/drivers/clocksource/
Dtimer-tegra.c302 struct timer_of *cpu_to = per_cpu_ptr(&tegra_to, cpu); in tegra_init_timer() local
315 cpu_to->clkevt.irq = irq; in tegra_init_timer()
316 cpu_to->clkevt.rating = rating; in tegra_init_timer()
317 cpu_to->clkevt.cpumask = cpumask_of(cpu); in tegra_init_timer()
318 cpu_to->of_base.base = timer_reg_base + base; in tegra_init_timer()
319 cpu_to->of_clk.period = rate / HZ; in tegra_init_timer()
320 cpu_to->of_clk.rate = rate; in tegra_init_timer()
322 irq_set_status_flags(cpu_to->clkevt.irq, IRQ_NOAUTOEN); in tegra_init_timer()
324 ret = request_irq(cpu_to->clkevt.irq, tegra_timer_isr, flags, in tegra_init_timer()
325 cpu_to->clkevt.name, &cpu_to->clkevt); in tegra_init_timer()
[all …]