Lines Matching refs:leon3_gptimer_regs
30 struct leon3_gptimer_regs_map *leon3_gptimer_regs; /* timer controller base address */ 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()
377 leon3_gptimer_regs = *(struct leon3_gptimer_regs_map **) in leon_init_timers()
383 if (!(leon3_gptimer_regs && leon3_irqctrl_regs && leon3_gptimer_irq)) 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()
397 LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].rld, in leon_init_timers()
400 &leon3_gptimer_regs->e[leon3_gptimer_idx].ctrl, 0); in leon_init_timers()
440 config = LEON3_BYPASS_LOAD_PA(&leon3_gptimer_regs->config); in leon_init_timers()
460 LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].ctrl, in leon_init_timers()
476 ctrl = LEON3_BYPASS_LOAD_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].ctrl); in leon_clear_clock_irq()
477 LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].ctrl, in leon_clear_clock_irq()