Home
last modified time | relevance | path

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

/openbmc/linux/drivers/watchdog/
H A Dnv_tco.c44 static unsigned int tcobase; variable
81 val = inl(TCO_CNT(tcobase)); in tco_timer_start()
83 outl(val, TCO_CNT(tcobase)); in tco_timer_start()
93 val = inl(TCO_CNT(tcobase)); in tco_timer_stop()
95 outl(val, TCO_CNT(tcobase)); in tco_timer_stop()
104 outb(0x01, TCO_RLD(tcobase)); in tco_timer_keepalive()
130 val = inb(TCO_TMR(tcobase)); in tco_timer_set_heartbeat()
133 outb(val, TCO_TMR(tcobase)); in tco_timer_set_heartbeat()
134 val = inb(TCO_TMR(tcobase)); in tco_timer_set_heartbeat()
331 tcobase = val + 0x40; in nv_tco_getdevice()
[all …]
H A Dsp5100_tco.c57 void __iomem *tcobase; member
114 val = readl(SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_start()
116 writel(val, SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_start()
120 writel(val, SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_start()
130 val = readl(SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_stop()
132 writel(val, SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_stop()
142 val = readl(SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_ping()
144 writel(val, SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_ping()
155 writel(t, SP5100_WDT_COUNT(tco->tcobase)); in tco_timer_set_timeout()
166 return readl(SP5100_WDT_COUNT(tco->tcobase)); in tco_timer_get_timeleft()
[all …]