Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/mach-omap2/omap3/
H A Dclock.c32 struct gptimer *gpt1_base = (struct gptimer *)OMAP34XX_GPT1; in get_osc_clk_speed() local
55 writel(0, &gpt1_base->tldr); /* start counting at 0 */ in get_osc_clk_speed()
56 writel(GPT_EN, &gpt1_base->tclr); /* enable clock */ in get_osc_clk_speed()
67 cstart = readl(&gpt1_base->tcrr); in get_osc_clk_speed()
71 cend = readl(&gpt1_base->tcrr); /* get end sys_clk count */ in get_osc_clk_speed()