Searched refs:CNTR_CTRL (Results 1 – 1 of 1) sorted by relevance
49 #define CNTR_CTRL(id) ((id) * 0x10) macro61 #define CNTR_COUNT_LOW(id) (CNTR_CTRL(id) + 0x4)62 #define CNTR_COUNT_HIGH(id) (CNTR_CTRL(id) + 0x8)108 reg = readl(dev->reg + CNTR_CTRL(id)); in counter_enable()110 writel(reg, dev->reg + CNTR_CTRL(id)); in counter_enable()117 reg = readl(dev->reg + CNTR_CTRL(id)); in counter_disable()119 writel(reg, dev->reg + CNTR_CTRL(id)); in counter_disable()127 reg = readl(dev->reg + CNTR_CTRL(id)); in init_counter()141 writel(reg, dev->reg + CNTR_CTRL(id)); in init_counter()194 reg = readl(dev->reg + CNTR_CTRL(CNTR_ID_WDOG)); in armada_37xx_wdt_is_running()