Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/watchdog/
Dnv_tco.c48 static unsigned int tcobase; variable
85 val = inl(TCO_CNT(tcobase)); in tco_timer_start()
87 outl(val, TCO_CNT(tcobase)); in tco_timer_start()
97 val = inl(TCO_CNT(tcobase)); in tco_timer_stop()
99 outl(val, TCO_CNT(tcobase)); in tco_timer_stop()
108 outb(0x01, TCO_RLD(tcobase)); in tco_timer_keepalive()
134 val = inb(TCO_TMR(tcobase)); in tco_timer_set_heartbeat()
137 outb(val, TCO_TMR(tcobase)); in tco_timer_set_heartbeat()
138 val = inb(TCO_TMR(tcobase)); in tco_timer_set_heartbeat()
332 tcobase = val + 0x40; in nv_tco_getdevice()
[all …]
Dsp5100_tco.c50 static void __iomem *tcobase; variable
82 val = readl(SP5100_WDT_CONTROL(tcobase)); in tco_timer_start()
84 writel(val, SP5100_WDT_CONTROL(tcobase)); in tco_timer_start()
94 val = readl(SP5100_WDT_CONTROL(tcobase)); in tco_timer_stop()
96 writel(val, SP5100_WDT_CONTROL(tcobase)); in tco_timer_stop()
106 val = readl(SP5100_WDT_CONTROL(tcobase)); in tco_timer_keepalive()
108 writel(val, SP5100_WDT_CONTROL(tcobase)); in tco_timer_keepalive()
121 writel(t, SP5100_WDT_COUNT(tcobase)); in tco_timer_set_heartbeat()
424 tcobase = ioremap(val, SP5100_WDT_MEM_MAP_SIZE); in sp5100_tco_setupdevice()
425 if (!tcobase) { in sp5100_tco_setupdevice()
[all …]