Searched refs:UBOOT_CNTR (Results 1 – 1 of 1) sorted by relevance
13 #define UBOOT_CNTR 0 /* counter to use for uboot timer */ macro72 return readl(CNTMR_VAL_REG(UBOOT_CNTR)) in read_timer()105 return readl(CNTMR_VAL_REG(UBOOT_CNTR)); in uboot_cntr_val()136 writel(TIMER_LOAD_VAL, CNTMR_RELOAD_REG(UBOOT_CNTR)); in timer_init()137 writel(TIMER_LOAD_VAL, CNTMR_VAL_REG(UBOOT_CNTR)); in timer_init()141 cntmrctrl |= CTCR_ARM_TIMER_EN(UBOOT_CNTR); in timer_init()142 cntmrctrl |= CTCR_ARM_TIMER_AUTO_EN(UBOOT_CNTR); in timer_init()