Home
last modified time | relevance | path

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

/external/u-boot/arch/arm/cpu/armv7/stv0991/
Dtimer.c17 #define READ_TIMER() (readl(&gpt1_regs_ptr->cnt) & GPT_FREE_RUNNING)
35 writel(readl(&gpt1_regs_ptr->cr1) & ~GPT_CR1_CEN, &gpt1_regs_ptr->cr1); in timer_init()
36 writel(GPT_PRESCALER_128, &gpt1_regs_ptr->psc); in timer_init()
38 writel(readl(&gpt1_regs_ptr->cr1) | GPT_MODE_AUTO_RELOAD, in timer_init()
39 &gpt1_regs_ptr->cr1); in timer_init()
42 writel(GPT_FREE_RUNNING, &gpt1_regs_ptr->arr); in timer_init()
45 writel(readl(&gpt1_regs_ptr->cr1) | GPT_CR1_CEN, in timer_init()
46 &gpt1_regs_ptr->cr1); in timer_init()
/external/u-boot/arch/arm/include/asm/arch-stv0991/
Dstv0991_gpt.h25 struct gpt_regs *const gpt1_regs_ptr = variable