Home
last modified time | relevance | path

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

/arch/sparc/kernel/
Dleon_kernel.c31 struct leon3_gptimer_regs_map *leon3_gptimer_regs; /* timer controller base address */ variable
266 rld = LEON3_BYPASS_LOAD_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].rld); in leon_cycles_offset()
267 val = LEON3_BYPASS_LOAD_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].val); in leon_cycles_offset()
268 ctrl = LEON3_BYPASS_LOAD_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].ctrl); in leon_cycles_offset()
270 val = LEON3_BYPASS_LOAD_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].val); in leon_cycles_offset()
377 leon3_gptimer_regs = *(struct leon3_gptimer_regs_map **) in leon_init_timers()
384 if (!(leon3_gptimer_regs && leon3_irqctrl_regs && leon3_gptimer_irq)) in leon_init_timers()
387 ctrl = LEON3_BYPASS_LOAD_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].ctrl); in leon_init_timers()
388 LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].ctrl, in leon_init_timers()
390 ctrl = LEON3_BYPASS_LOAD_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].ctrl); in leon_init_timers()
[all …]
/arch/sparc/include/asm/
Dleon_amba.h184 extern struct leon3_gptimer_regs_map *leon3_gptimer_regs;