Searched refs:tcobase (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.4/drivers/watchdog/ |
| D | nv_tco.c | 44 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() 330 tcobase = val + 0x40; in nv_tco_getdevice() [all …]
|
| D | sp5100_tco.c | 50 void __iomem *tcobase; member 97 val = readl(SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_start() 99 writel(val, SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_start() 109 val = readl(SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_stop() 111 writel(val, SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_stop() 121 val = readl(SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_ping() 123 writel(val, SP5100_WDT_CONTROL(tco->tcobase)); in tco_timer_ping() 134 writel(t, SP5100_WDT_COUNT(tco->tcobase)); in tco_timer_set_timeout() 313 tco->tcobase = devm_ioremap(dev, mmio_addr, SP5100_WDT_MEM_MAP_SIZE); in sp5100_tco_setupdevice() 314 if (!tco->tcobase) { in sp5100_tco_setupdevice() [all …]
|