Home
last modified time | relevance | path

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

/Linux-v5.15/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.c56 void __iomem *tcobase; member
103 val = readl(SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_start()
105 writel(val, SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_start()
115 val = readl(SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_stop()
117 writel(val, SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_stop()
127 val = readl(SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_ping()
129 writel(val, SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_ping()
140 writel(t, SP5100_WDT_COUNT(tco->tcobase)); in tco_timer_set_timeout()
331 tco->tcobase = devm_ioremap(dev, mmio_addr, SP5100_WDT_MEM_MAP_SIZE); in sp5100_tco_setupdevice()
332 if (!tco->tcobase) { in sp5100_tco_setupdevice()
[all …]