Home
last modified time | relevance | path

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

/linux-6.6.21/arch/sparc/kernel/
Dleon_kernel.c38 static unsigned long leon3_gptimer_idx; /* Timer Index (0..6) within Timer Core */ variable
265 rld = LEON3_BYPASS_LOAD_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].rld); in leon_cycles_offset()
266 val = LEON3_BYPASS_LOAD_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].val); in leon_cycles_offset()
267 ctrl = LEON3_BYPASS_LOAD_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].ctrl); in leon_cycles_offset()
269 val = LEON3_BYPASS_LOAD_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].val); in leon_cycles_offset()
373 leon3_gptimer_idx = ampopts & 0x7; in leon_init_timers()
386 ctrl = LEON3_BYPASS_LOAD_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].ctrl); in leon_init_timers()
387 LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].ctrl, in leon_init_timers()
389 ctrl = LEON3_BYPASS_LOAD_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].ctrl); in leon_init_timers()
396 LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].val, 0); in leon_init_timers()
[all …]