Home
last modified time | relevance | path

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

/linux-4.4.14/arch/arm/mach-davinci/
Dtime.c208 u32 tgcr; in timer_init() local
218 tgcr = 0; in timer_init()
219 __raw_writel(tgcr, base[i] + TGCR); in timer_init()
222 tgcr = TGCR_TIMMODE_32BIT_UNCHAINED << TGCR_TIMMODE_SHIFT; in timer_init()
223 __raw_writel(tgcr, base[i] + TGCR); in timer_init()
226 tgcr |= (TGCR_UNRESET << TGCR_TIM12RS_SHIFT) | in timer_init()
228 __raw_writel(tgcr, base[i] + TGCR); in timer_init()
416 u32 tgcr, wdtcr; in davinci_watchdog_reset() local
433 tgcr = 0; in davinci_watchdog_reset()
434 __raw_writel(tgcr, base + TGCR); in davinci_watchdog_reset()
[all …]
/linux-4.4.14/arch/c6x/platforms/
Dtimer64.c31 u32 tgcr; member
107 val = soc_readl(&timer->tgcr) & ~TGCR_TIMMODE_MASK; in timer64_enable()
108 soc_writel(val, &timer->tgcr); in timer64_enable()
109 soc_writel(val | (TGCR_TIMLORS | TGCR_TIMMODE_UD32), &timer->tgcr); in timer64_enable()
/linux-4.4.14/drivers/watchdog/
Ddavinci_wdt.c73 u32 tgcr; in davinci_wdt_start() local
84 tgcr = TIMMODE_64BIT_WDOG | TIM12RS_UNRESET | TIM34RS_UNRESET; in davinci_wdt_start()
85 iowrite32(tgcr, davinci_wdt->base + TGCR); in davinci_wdt_start()