Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/watchdog/
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 …]
Dsp5100_tco.c57 void __iomem *tcobase; member
108 val = readl(SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_start()
110 writel(val, SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_start()
120 val = readl(SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_stop()
122 writel(val, SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_stop()
132 val = readl(SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_ping()
134 writel(val, SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_ping()
145 writel(t, SP5100_WDT_COUNT(tco->tcobase)); in tco_timer_set_timeout()
156 return readl(SP5100_WDT_COUNT(tco->tcobase)); in tco_timer_get_timeleft()
269 tco->tcobase = devm_ioremap(dev, mmio_addr, SP5100_WDT_MEM_MAP_SIZE); in sp5100_tco_prepare_base()
[all …]