Home
last modified time | relevance | path

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

/external/u-boot/arch/arm/mach-rockchip/
Drk_timer.c11 struct rk_timer * const timer_ptr = (void *)CONFIG_SYS_TIMER_BASE; variable
17 timebase_l = readl(&timer_ptr->timer_curr_value0); in rockchip_get_ticks()
18 timebase_h = readl(&timer_ptr->timer_curr_value1); in rockchip_get_ticks()
44 writel(0xffffffff, &timer_ptr->timer_load_count0); in rockchip_timer_init()
45 writel(0xffffffff, &timer_ptr->timer_load_count1); in rockchip_timer_init()
46 writel(1, &timer_ptr->timer_ctrl_reg); in rockchip_timer_init()