Searched refs:tcobase (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/watchdog/ |
D | nv_tco.c | 48 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() 334 tcobase = val + 0x40; in nv_tco_getdevice() [all …]
|
D | sp5100_tco.c | 54 void __iomem *tcobase; member 101 val = readl(SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_start() 103 writel(val, SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_start() 113 val = readl(SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_stop() 115 writel(val, SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_stop() 125 val = readl(SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_ping() 127 writel(val, SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_ping() 138 writel(t, SP5100_WDT_COUNT(tco->tcobase)); in tco_timer_set_timeout() 317 tco->tcobase = devm_ioremap(dev, mmio_addr, SP5100_WDT_MEM_MAP_SIZE); in sp5100_tco_setupdevice() 318 if (!tco->tcobase) { in sp5100_tco_setupdevice() [all …]
|