Searched refs:CNTR_CTRL (Results 1 – 1 of 1) sorted by relevance
50 #define CNTR_CTRL(id) ((id) * 0x10) macro62 #define CNTR_COUNT_LOW(id) (CNTR_CTRL(id) + 0x4)63 #define CNTR_COUNT_HIGH(id) (CNTR_CTRL(id) + 0x8)109 reg = readl(dev->reg + CNTR_CTRL(id)); in counter_enable()111 writel(reg, dev->reg + CNTR_CTRL(id)); in counter_enable()118 reg = readl(dev->reg + CNTR_CTRL(id)); in counter_disable()120 writel(reg, dev->reg + CNTR_CTRL(id)); in counter_disable()128 reg = readl(dev->reg + CNTR_CTRL(id)); in init_counter()142 writel(reg, dev->reg + CNTR_CTRL(id)); in init_counter()193 reg = readl(dev->reg + CNTR_CTRL(CNTR_ID_WDOG)); in armada_37xx_wdt_is_running()